org.richfaces.component.state
Class TreeState
java.lang.Object
org.richfaces.component.state.TreeState
- All Implemented Interfaces:
- java.util.EventListener, javax.faces.component.StateHolder, javax.faces.event.FacesListener, org.ajax4jsf.ajax.repeat.DataComponentState, TreeStateCommandsListener
public class TreeState
- extends java.lang.Object
- implements org.ajax4jsf.ajax.repeat.DataComponentState, TreeStateCommandsListener, javax.faces.component.StateHolder
- Author:
- Nick Belaevski - nbelaevski@exadel.com created 23.11.2006
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TreeState
public TreeState(UITree tree,
boolean stopInCollapsed)
isExpanded
public boolean isExpanded(TreeRowKey rowKey)
isSelected
public boolean isSelected(TreeRowKey rowKey)
setSelected
public boolean setSelected(TreeRowKey rowKey)
getRange
public org.ajax4jsf.ajax.repeat.Range getRange()
- Specified by:
getRange
in interface org.ajax4jsf.ajax.repeat.DataComponentState
isTransient
public boolean isTransient()
- Specified by:
isTransient
in interface javax.faces.component.StateHolder
restoreState
public void restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
- Specified by:
restoreState
in interface javax.faces.component.StateHolder
saveState
public java.lang.Object saveState(javax.faces.context.FacesContext context)
- Specified by:
saveState
in interface javax.faces.component.StateHolder
setTransient
public void setTransient(boolean newTransientValue)
- Specified by:
setTransient
in interface javax.faces.component.StateHolder
isStopInCollapsed
public boolean isStopInCollapsed()
setStopInCollapsed
public void setStopInCollapsed(boolean stopInCollapsed)
expandAll
public void expandAll()
throws java.io.IOException
- Specified by:
expandAll
in interface TreeStateCommandsListener
- Throws:
java.io.IOException
collapseAll
public void collapseAll()
throws java.io.IOException
- Specified by:
collapseAll
in interface TreeStateCommandsListener
- Throws:
java.io.IOException
collapseNode
public void collapseNode(TreeRowKey rowKey)
throws java.io.IOException
- Specified by:
collapseNode
in interface TreeStateCommandsListener
- Throws:
java.io.IOException
expandNode
public void expandNode(TreeRowKey rowKey)
throws java.io.IOException
- Specified by:
expandNode
in interface TreeStateCommandsListener
- Throws:
java.io.IOException
transferQueuedNodes
public void transferQueuedNodes()
getTreeDataModel
public CacheableTreeDataModel getTreeDataModel()
setTreeDataModel
public void setTreeDataModel(CacheableTreeDataModel treeDataModel)
Copyright © 2007. All Rights Reserved.