|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.gui.swing.control.attributetree.AttributeTreeState
Class to store the tree state (expansion, selection) of a SwingAttributeTree
| Field Summary | |
protected java.util.HashSet |
allPaths
Contains all paths that were part of this state |
protected java.util.HashSet |
expandedPaths
Contains the minimum amount of paths to restore the expansion of the tree |
protected boolean |
indirectMatchPossible
True, to allow matching of elements that are of the same type but not equal |
protected java.lang.String |
selectedRow
The selected row in this state |
protected int |
viewPortX
The horizontal viewport position |
protected int |
viewPortY
The vertical viewport position |
| Constructor Summary | |
protected |
AttributeTreeState(AttributableOnSet attributable)
Constructor |
protected |
AttributeTreeState(AttributeTreeState state)
Constructor |
| Method Summary | |
boolean |
equals(java.lang.Object obj)
|
void |
setAttributable(AttributableOnSet attributable)
Sets the attributable of this treestate |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.util.HashSet expandedPaths
protected java.util.HashSet allPaths
protected java.lang.String selectedRow
protected int viewPortX
protected int viewPortY
protected boolean indirectMatchPossible
| Constructor Detail |
protected AttributeTreeState(AttributableOnSet attributable)
attributable - the attributable of this treestateprotected AttributeTreeState(AttributeTreeState state)
state - Another treestate to copy the values of| Method Detail |
public void setAttributable(AttributableOnSet attributable)
attributable - the attributable of this treestatepublic boolean equals(java.lang.Object obj)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||