|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openbp.swing.components.tree.DefaultTreeNode
org.openbp.guiclient.util.DisplayObjectTreeNode
public class DisplayObjectTreeNode
General-purpose tree node that holds a reference to a display object. The display text of the object will be used as tree node text.
| Field Summary | |
|---|---|
protected DisplayObject |
object
Display object represented by this node |
| Fields inherited from class org.openbp.swing.components.tree.DefaultTreeNode |
|---|
parent |
| Constructor Summary | |
|---|---|
DisplayObjectTreeNode()
Default constructor. |
|
DisplayObjectTreeNode(DisplayObject object)
Default constructor. |
|
DisplayObjectTreeNode(DisplayObject object,
javax.swing.tree.TreeNode parent)
Default constructor. |
|
DisplayObjectTreeNode(javax.swing.tree.TreeNode parent)
Default constructor. |
|
| Method Summary | |
|---|---|
DisplayObject |
getObject()
Gets the display object represented by this node. |
void |
setObject(DisplayObject object)
Sets the display object represented by this node. |
java.lang.String |
toString()
Returns the string representation of this node. |
| Methods inherited from class org.openbp.swing.components.tree.DefaultTreeNode |
|---|
addChild, children, clearChilds, getAllowsChildren, getChildAt, getChildCount, getChildList, getIndex, getParent, insertChild, isLeaf, removeChild, setChildList, setParent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected DisplayObject object
| Constructor Detail |
|---|
public DisplayObjectTreeNode()
public DisplayObjectTreeNode(DisplayObject object)
object - Display object represented by this nodepublic DisplayObjectTreeNode(javax.swing.tree.TreeNode parent)
parent - Parent tree node
public DisplayObjectTreeNode(DisplayObject object,
javax.swing.tree.TreeNode parent)
object - Display object represented by this nodeparent - Parent tree node| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic DisplayObject getObject()
public void setObject(DisplayObject object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||