org.apache.tapestry.contrib.tree.simple
Class SimpleTreeStateModel

java.lang.Object
  extended by org.apache.tapestry.contrib.tree.simple.SimpleTreeStateModel
All Implemented Interfaces:
Serializable, ITreeStateModel

public class SimpleTreeStateModel
extends Object
implements ITreeStateModel, Serializable

Version:
$Id: SimpleTreeStateModel.java 243791 2004-02-19 17:38:13Z hlship $
Author:
ceco
See Also:
Serialized Form

Constructor Summary
SimpleTreeStateModel()
          Constructor for SimpleTreeStateModel.
 
Method Summary
 void collapse(Object objUniqueKey)
           
 void collapsePath(Object objUniqueKey)
           
 void expand(Object objUniqueKey)
           
 void expandPath(Object objUniqueKey)
           
 Set getExpandSelection()
           
 Object getSelectedNode()
           
 boolean isUniqueKeyExpanded(Object objUniqueKey)
           
 void resetState()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleTreeStateModel

public SimpleTreeStateModel()
Constructor for SimpleTreeStateModel.

Method Detail

getExpandSelection

public Set getExpandSelection()
Specified by:
getExpandSelection in interface ITreeStateModel
See Also:
ITreeStateModel.getExpandSelection()

expand

public void expand(Object objUniqueKey)
Specified by:
expand in interface ITreeStateModel
See Also:
ITreeStateModel.expand(Object)

expandPath

public void expandPath(Object objUniqueKey)
Specified by:
expandPath in interface ITreeStateModel
See Also:
ITreeStateModel.expandPath(Object)

collapse

public void collapse(Object objUniqueKey)
Specified by:
collapse in interface ITreeStateModel
See Also:
ITreeStateModel.collapse(Object)

collapsePath

public void collapsePath(Object objUniqueKey)
Specified by:
collapsePath in interface ITreeStateModel
See Also:
ITreeStateModel.collapsePath(Object)

isUniqueKeyExpanded

public boolean isUniqueKeyExpanded(Object objUniqueKey)
Specified by:
isUniqueKeyExpanded in interface ITreeStateModel
See Also:
ITreeStateModel.isUniqueKeyExpanded(Object)

getSelectedNode

public Object getSelectedNode()
Specified by:
getSelectedNode in interface ITreeStateModel
See Also:
ITreeStateModel.getSelectedNode()

resetState

public void resetState()
Specified by:
resetState in interface ITreeStateModel
See Also:
ITreeStateModel.resetState()