|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface TreeListener
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 previousState)
Invoked when user collapsed the specified node. |
void |
nodeDeselected(Tree tree,
TreeNode node,
Context context,
boolean previousState)
Invoked when user deselected the specified node. |
void |
nodeExpanded(Tree tree,
TreeNode node,
Context context,
boolean previousState)
Invoked when user expanded the specified node. |
void |
nodeSelected(Tree tree,
TreeNode node,
Context context,
boolean previousState)
Invoked when user selected the specified node. |
| Method Detail |
|---|
void nodeSelected(Tree tree,
TreeNode node,
Context context,
boolean previousState)
tree - tree the operation was made onnode - node that was selectedcontext - provides access to ContextpreviousState - contains the previous selected state
void nodeDeselected(Tree tree,
TreeNode node,
Context context,
boolean previousState)
tree - tree the operation was made onnode - node that was deselectedcontext - provides access to ContextpreviousState - contains the previous selected state
void nodeExpanded(Tree tree,
TreeNode node,
Context context,
boolean previousState)
tree - tree the operation was made onnode - node that was expandedcontext - provides access to ContextpreviousState - contains the previous expanded state
void nodeCollapsed(Tree tree,
TreeNode node,
Context context,
boolean previousState)
tree - tree the operation was made onnode - node that was collapsedcontext - provides access to ContextpreviousState - contains the previous expanded state
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||