T
- public class DefaultTreeExpansionModel<T> extends BaseOptimizedSessionPersistedObject implements TreeExpansionModel<T>
TreeNode
ids.TreeModel
,
Serialized FormConstructor and Description |
---|
DefaultTreeExpansionModel() |
Modifier and Type | Method and Description |
---|---|
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.
|
checkAndResetDirtyMarker, markDirty
public DefaultTreeExpansionModel()
public boolean isExpanded(TreeNode<T> node)
TreeExpansionModel
isExpanded
in interface TreeExpansionModel<T>
node
- node to check for expansionpublic 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>
5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.