|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The listener interface for receiving tree events.
A common use case for this interface is to lazily load the tree as the user is expanding node's, while traversing the tree.
| Method Summary | |
void |
nodeCollapsed(Tree tree,
TreeNode node,
Context context,
boolean oldValue)
Invoked when user collapsed the specified node. |
void |
nodeDeselected(Tree tree,
TreeNode node,
Context context,
boolean oldValue)
Invoked when user deselected the specified node. |
void |
nodeExpanded(Tree tree,
TreeNode node,
Context context,
boolean oldValue)
Invoked when user expanded the specified node. |
void |
nodeSelected(Tree tree,
TreeNode node,
Context context,
boolean oldValue)
Invoked when user selected the specified node. |
| Method Detail |
public void nodeSelected(Tree tree,
TreeNode node,
Context context,
boolean oldValue)
tree - tree the operation was made onnode - node that was selectedcontext - provides access to ContextoldValue - contains the previous value of selected state
public void nodeDeselected(Tree tree,
TreeNode node,
Context context,
boolean oldValue)
tree - tree the operation was made onnode - node that was deselectedcontext - provides access to ContextoldValue - contains the previous value of selected state
public void nodeExpanded(Tree tree,
TreeNode node,
Context context,
boolean oldValue)
tree - tree the operation was made onnode - node that was expandedcontext - provides access to ContextoldValue - contains the previous value of expanded state
public void nodeCollapsed(Tree tree,
TreeNode node,
Context context,
boolean oldValue)
tree - tree the operation was made onnode - node that was collapsedcontext - provides access to ContextoldValue - contains the previous value of selected state
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||