net.sf.tacos.tree
Class TreeManager

java.lang.Object
  extended bynet.sf.tacos.tree.TreeManager
All Implemented Interfaces:
ITreeManager

public class TreeManager
extends Object
implements ITreeManager

Author:
phraktle

Constructor Summary
TreeManager(Set state, ITreeContentProvider contentProvider, IKeyProvider keyProvider)
           
 
Method Summary
 void collapseAll()
           
 void expandAll()
           
 boolean isExpanded(Object element)
           
 boolean isExpandedKey(Serializable key)
           
 void reveal(Object element)
           
 void setExpanded(Object element, boolean open)
           
 void setExpandedKey(Serializable key, boolean open)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeManager

public TreeManager(Set state,
                   ITreeContentProvider contentProvider,
                   IKeyProvider keyProvider)
Method Detail

isExpanded

public boolean isExpanded(Object element)
Specified by:
isExpanded in interface ITreeManager

isExpandedKey

public boolean isExpandedKey(Serializable key)
Specified by:
isExpandedKey in interface ITreeManager

setExpanded

public void setExpanded(Object element,
                        boolean open)
Specified by:
setExpanded in interface ITreeManager

setExpandedKey

public void setExpandedKey(Serializable key,
                           boolean open)
Specified by:
setExpandedKey in interface ITreeManager

collapseAll

public void collapseAll()
Specified by:
collapseAll in interface ITreeManager

reveal

public void reveal(Object element)
Specified by:
reveal in interface ITreeManager

expandAll

public void expandAll()
Specified by:
expandAll in interface ITreeManager