|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.northwestern.at.utils.swing.TreeListEntry
public class TreeListEntry
Field Summary | |
---|---|
protected boolean |
isNode
True if this entry is a leaf node. |
protected int |
level
The depth in the tree for this entry. |
protected java.lang.Object |
object
The object for this list entry. |
Constructor Summary | |
---|---|
TreeListEntry(java.lang.Object object,
int level,
boolean isNode)
Create a TreeListEntry. |
Method Summary | |
---|---|
boolean |
getIsNode()
Is entry a leaf node. |
int |
getLevel()
Get the tree depth level for this list entry. |
java.lang.Object |
getObject()
Get the object for this list entry. |
java.lang.String |
toString()
String form of list entry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.lang.Object object
protected int level
protected boolean isNode
Constructor Detail |
---|
public TreeListEntry(java.lang.Object object, int level, boolean isNode)
object
- User object for this list entry.level
- The depth level in the tree for this entry.isNode
- True if this entry is not a leaf node. Method Detail |
---|
public java.lang.Object getObject()
public int getLevel()
public boolean getIsNode()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |