|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.tobago.model.TreeState
@Deprecated public class TreeState
Manages the state on a Tree:
1. selection: selected tree-nodes
2. expandState: open/close folder state
3. marker: last used action object
| Field Summary | |
|---|---|
static String |
SEP
Deprecated. |
| Constructor Summary | |
|---|---|
TreeState()
Deprecated. |
|
| Method Summary | |
|---|---|
void |
addExpandState(DefaultMutableTreeNode expandStateItem)
Deprecated. |
void |
addSelection(DefaultMutableTreeNode selectItem)
Deprecated. |
void |
clearExpandState()
Deprecated. |
void |
clearSelection()
Deprecated. |
void |
commandNew(DefaultMutableTreeNode newNode)
Deprecated. Adds a (external created) node to the actually marked node. |
void |
expand(DefaultMutableTreeNode node,
int level)
Deprecated. |
void |
expandSelection()
Deprecated. Expands all parents which contains selected children. |
void |
expandTo(DefaultMutableTreeNode node)
Deprecated. |
Set<DefaultMutableTreeNode> |
getExpandState()
Deprecated. |
String |
getLastCommand()
Deprecated. |
DefaultMutableTreeNode |
getLastMarker()
Deprecated. |
DefaultMutableTreeNode |
getMarker()
Deprecated. |
Integer[] |
getScrollPosition()
Deprecated. |
Set<DefaultMutableTreeNode> |
getSelection()
Deprecated. |
boolean |
isExpanded(DefaultMutableTreeNode node)
Deprecated. |
boolean |
isMarked(DefaultMutableTreeNode node)
Deprecated. |
boolean |
isSelected(DefaultMutableTreeNode node)
Deprecated. |
static Integer[] |
parseScrollPosition(String value)
Deprecated. |
void |
setExpandState(Set<DefaultMutableTreeNode> expandState)
Deprecated. |
void |
setLastCommand(String lastCommand)
Deprecated. |
void |
setLastMarker(DefaultMutableTreeNode lastMarker)
Deprecated. |
void |
setMarker(DefaultMutableTreeNode marker)
Deprecated. |
void |
setScrollPosition(Integer[] scrollPosition)
Deprecated. |
void |
setSelection(Set<DefaultMutableTreeNode> selection)
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String SEP
| Constructor Detail |
|---|
public TreeState()
| Method Detail |
|---|
public void addExpandState(DefaultMutableTreeNode expandStateItem)
public void addSelection(DefaultMutableTreeNode selectItem)
public void clearExpandState()
public void clearSelection()
public void commandNew(DefaultMutableTreeNode newNode)
public void expand(DefaultMutableTreeNode node,
int level)
public void expandSelection()
public void expandTo(DefaultMutableTreeNode node)
public boolean isExpanded(DefaultMutableTreeNode node)
public boolean isMarked(DefaultMutableTreeNode node)
public boolean isSelected(DefaultMutableTreeNode node)
public Set<DefaultMutableTreeNode> getExpandState()
public void setExpandState(Set<DefaultMutableTreeNode> expandState)
public String getLastCommand()
public void setLastCommand(String lastCommand)
public DefaultMutableTreeNode getLastMarker()
public void setLastMarker(DefaultMutableTreeNode lastMarker)
public DefaultMutableTreeNode getMarker()
public void setMarker(DefaultMutableTreeNode marker)
public Set<DefaultMutableTreeNode> getSelection()
public void setSelection(Set<DefaultMutableTreeNode> selection)
public Integer[] getScrollPosition()
public void setScrollPosition(Integer[] scrollPosition)
public static Integer[] parseScrollPosition(String value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||