|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.tacos.components.tree.TreeManager
public class TreeManager
Constructor Summary | |
---|---|
TreeManager(Set state,
ITreeContentProvider contentProvider,
IKeyProvider keyProvider)
Creates tree manager. |
Method Summary | |
---|---|
void |
collapseAll()
Collapses all nodes. |
void |
expandAll()
Expands all |
Set |
getState()
|
boolean |
isExpanded(Object element)
Whether or not node expanded |
boolean |
isExpandedKey(Serializable key)
Checks expanded based on key |
Object |
reveal(Object element)
Reveals the object in the tree by adding it and any parents required to reveal it to the current Tree s state. |
void |
setExpanded(Object element,
boolean open)
Sets the element to expanded |
void |
setExpandedKey(Serializable key,
boolean open)
Sets expanded based on key |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TreeManager(Set state, ITreeContentProvider contentProvider, IKeyProvider keyProvider)
state
- contentProvider
- keyProvider
- Method Detail |
---|
public boolean isExpanded(Object element)
isExpanded
in interface ITreeManager
public boolean isExpandedKey(Serializable key)
isExpandedKey
in interface ITreeManager
public void setExpanded(Object element, boolean open)
setExpanded
in interface ITreeManager
public void setExpandedKey(Serializable key, boolean open)
setExpandedKey
in interface ITreeManager
public Set getState()
public void collapseAll()
collapseAll
in interface ITreeManager
public Object reveal(Object element)
Tree
s state.
reveal
in interface ITreeManager
public void expandAll()
expandAll
in interface ITreeManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |