net.sourceforge.mewt.tree
Interface TreeListener


public interface TreeListener

The listener interface for receiving tree events. The class that is interested in processing a tree event implements this interface, and the object created with that class is registered with a component using the component's addTreeListener method. When the tree event occurs, that object's appropriate method is invoked.

See Also:
TreeEvent

Method Summary
 void cellChanged(int col, int row, java.lang.String newValue, java.lang.String oldValue)
          Cell changed.
 void nodeClosed(Node node)
          Node closed.
 void nodeOpened(Node node)
          Node opened.
 void nodeSelected(Node node)
          Node selected.
 

Method Detail

cellChanged

void cellChanged(int col,
                 int row,
                 java.lang.String newValue,
                 java.lang.String oldValue)
Cell changed.

Parameters:
col - the col
row - the row
newValue - the new value
oldValue - the old value

nodeOpened

void nodeOpened(Node node)
Node opened.

Parameters:
node - the node

nodeClosed

void nodeClosed(Node node)
Node closed.

Parameters:
node - the node

nodeSelected

void nodeSelected(Node node)
Node selected.

Parameters:
node - the node