public class TreeState extends java.lang.Object implements org.ajax4jsf.model.DataComponentState, TreeStateCommandsListener, javax.faces.component.StateHolder, java.io.Serializable
| Constructor and Description |
|---|
TreeState() |
TreeState(boolean stopInCollapsed) |
| Modifier and Type | Method and Description |
|---|---|
void |
addQueuedState(org.richfaces.model.TreeRowKey rowKey,
org.richfaces.component.state.TreeState.NodeState state) |
void |
clearSubState(org.richfaces.model.TreeRowKey rowKey) |
void |
collapseAll(UITree tree) |
void |
collapseNode(UITree tree,
org.richfaces.model.TreeRowKey rowKey) |
void |
expandAll(UITree tree) |
void |
expandNode(UITree tree,
org.richfaces.model.TreeRowKey rowKey) |
org.ajax4jsf.model.Range |
getRange() |
org.richfaces.model.TreeRowKey |
getSelectedNode() |
TreeState |
getSubState(org.richfaces.model.TreeRowKey rowKey) |
boolean |
isExpanded(org.richfaces.model.TreeRowKey rowKey) |
boolean |
isSelected(org.richfaces.model.TreeRowKey rowKey) |
boolean |
isStopInCollapsed() |
boolean |
isTransient() |
void |
makeCollapsed(org.richfaces.model.TreeRowKey key) |
void |
makeExpanded(org.richfaces.model.TreeRowKey key) |
void |
mergeSubState(org.richfaces.model.TreeRowKey rowKey,
TreeState subState) |
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object state) |
java.lang.Object |
saveState(javax.faces.context.FacesContext context) |
void |
setSelected(org.richfaces.model.TreeRowKey rowKey) |
void |
setStopInCollapsed(boolean stopInCollapsed) |
void |
setTransient(boolean newTransientValue) |
void |
transferQueuedNodes(org.richfaces.model.TreeRowKey rootKey) |
public boolean isExpanded(org.richfaces.model.TreeRowKey rowKey)
public boolean isSelected(org.richfaces.model.TreeRowKey rowKey)
public org.richfaces.model.TreeRowKey getSelectedNode()
public void setSelected(org.richfaces.model.TreeRowKey rowKey)
public org.ajax4jsf.model.Range getRange()
getRange in interface org.ajax4jsf.model.DataComponentStatepublic boolean isTransient()
isTransient in interface javax.faces.component.StateHolderpublic void restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
restoreState in interface javax.faces.component.StateHolderpublic java.lang.Object saveState(javax.faces.context.FacesContext context)
saveState in interface javax.faces.component.StateHolderpublic void setTransient(boolean newTransientValue)
setTransient in interface javax.faces.component.StateHolderpublic boolean isStopInCollapsed()
public void setStopInCollapsed(boolean stopInCollapsed)
public void expandAll(UITree tree) throws java.io.IOException
expandAll in interface TreeStateCommandsListenerjava.io.IOExceptionpublic void collapseAll(UITree tree) throws java.io.IOException
collapseAll in interface TreeStateCommandsListenerjava.io.IOExceptionpublic void addQueuedState(org.richfaces.model.TreeRowKey rowKey,
org.richfaces.component.state.TreeState.NodeState state)
public void collapseNode(UITree tree, org.richfaces.model.TreeRowKey rowKey) throws java.io.IOException
collapseNode in interface TreeStateCommandsListenerjava.io.IOExceptionpublic void expandNode(UITree tree, org.richfaces.model.TreeRowKey rowKey) throws java.io.IOException
expandNode in interface TreeStateCommandsListenerjava.io.IOExceptionpublic void transferQueuedNodes(org.richfaces.model.TreeRowKey rootKey)
public void makeExpanded(org.richfaces.model.TreeRowKey key)
public void makeCollapsed(org.richfaces.model.TreeRowKey key)
public TreeState getSubState(org.richfaces.model.TreeRowKey rowKey)
public void clearSubState(org.richfaces.model.TreeRowKey rowKey)
public void mergeSubState(org.richfaces.model.TreeRowKey rowKey,
TreeState subState)
Copyright © 2014. All Rights Reserved.