|
|||||||||
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 Context
previousState
- contains the previous selected statevoid nodeDeselected(Tree tree, TreeNode node, Context context, boolean previousState)
tree
- tree the operation was made onnode
- node that was deselectedcontext
- provides access to Context
previousState
- contains the previous selected statevoid nodeExpanded(Tree tree, TreeNode node, Context context, boolean previousState)
tree
- tree the operation was made onnode
- node that was expandedcontext
- provides access to Context
previousState
- contains the previous expanded statevoid nodeCollapsed(Tree tree, TreeNode node, Context context, boolean previousState)
tree
- tree the operation was made onnode
- node that was collapsedcontext
- provides access to Context
previousState
- contains the previous expanded state
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |