|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.w3c.tools.widgets.TreeNode
public class TreeNode
The representation of a node of a TreeBrowser. A TreeNode is used internally by the TreeBrowser to store informations related to a node. It is also given as parameter in the notifications the TreeBrowser send to handlers.
TreeBrowser
,
NodeHandler
Field Summary | |
---|---|
static int |
NOCHILD
|
Method Summary | |
---|---|
int |
getChildren()
Gets the children |
NodeHandler |
getHandler()
Gets the handler. |
java.awt.Image |
getIcon()
Gets the current Icon. |
java.lang.Object |
getItem()
Gets the item. |
java.lang.String |
getLabel()
Gets the label. |
boolean |
isSelected()
Checks if the Node is selected. |
void |
setChildren(int children)
Sets the children |
void |
setIcon(java.awt.Image i)
Sets the icon. |
void |
setLabel(java.lang.String l)
Sets the label. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int NOCHILD
Method Detail |
---|
public java.lang.Object getItem()
public java.lang.String getLabel()
setLabel(java.lang.String)
public java.awt.Image getIcon()
setIcon(java.awt.Image)
public NodeHandler getHandler()
public int getChildren()
public boolean isSelected()
public void setIcon(java.awt.Image i)
getIcon()
public void setLabel(java.lang.String l)
getLabel()
public void setChildren(int children)
getChildren()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |