|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TreeExpansionModel<T>
Tracks which nodes of a TreeModel are currently expanded. The default
implementation simply stores a set of unique node
ids to identify expanded nodes. The expansion model is updated whenever folders are expanded or
collapsed on the client side.
Tree| Method Summary | |
|---|---|
void |
clear()
Marks all nodes as collapsed. |
boolean |
isExpanded(TreeNode<T> node)
Returns true if the node has been previously expanded. |
void |
markCollapsed(TreeNode<T> node)
Marks the node as collapsed (not expanded). |
void |
markExpanded(TreeNode<T> node)
Marks the node as expanded. |
| Method Detail |
|---|
boolean isExpanded(TreeNode<T> node)
node - node to check for expansion
void markExpanded(TreeNode<T> node)
void markCollapsed(TreeNode<T> node)
void clear()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||