|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tapestry5.BaseOptimizedSessionPersistedObject org.apache.tapestry5.tree.DefaultTreeExpansionModel<T>
T
- public class DefaultTreeExpansionModel<T>
Manages a Set of String TreeNode
ids.
TreeModel
Constructor Summary | |
---|---|
DefaultTreeExpansionModel()
|
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. |
Methods inherited from class org.apache.tapestry5.BaseOptimizedSessionPersistedObject |
---|
checkAndResetDirtyMarker, markDirty |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultTreeExpansionModel()
Method Detail |
---|
public boolean isExpanded(TreeNode<T> node)
TreeExpansionModel
isExpanded
in interface TreeExpansionModel<T>
node
- node to check for expansion
public void markExpanded(TreeNode<T> node)
TreeExpansionModel
markExpanded
in interface TreeExpansionModel<T>
public void markCollapsed(TreeNode<T> node)
TreeExpansionModel
markCollapsed
in interface TreeExpansionModel<T>
public void clear()
TreeExpansionModel
clear
in interface TreeExpansionModel<T>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |