|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.norther.tammi.root.rt.util.TreeProperty
public class TreeProperty
A attribute property for node variables of a tree.
| Constructor Summary | |
|---|---|
TreeProperty(int l,
boolean b)
Constructs a new tree property. |
|
| Method Summary | |
|---|---|
int |
getLevel()
Gets the level of the tree node. |
boolean |
isBranch()
Checks whether the tree node is a brach. |
boolean |
isDisabled()
Checks whether the tree node is disabled. |
boolean |
isExpanded()
Checks whether the tree node is expanded. |
void |
setDisabled(boolean b)
Sets whether the tree node is disabled. |
void |
setExpanded(boolean b)
Sets whether the tree node is expanded. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TreeProperty(int l,
boolean b)
l - the tree level.b - the branch option.| Method Detail |
|---|
public int getLevel()
public boolean isBranch()
public boolean isExpanded()
public void setExpanded(boolean b)
b - true if expanded, false otherwise.public boolean isDisabled()
public void setDisabled(boolean b)
b - true if disabled, false otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||