|
|
Package com.dassault_systemes.catjdialog |
Class CATTreeNodeInfo
|
Class Hierarchy |
java.lang.Object | +-com.dassault_systemes.catjdialog.CATTreeNodeInfo
Class Location |
Class Description |
public class CATTreeNodeInfo
The tree node info data structure.
This data structure class is returned by tree data models (CATKeyTreeModel and CATKeyPathTreeModel)
and contains all node information.
Field Summary |
Constructor Summary |
CATTreeNodeInfo(boolean iIsExpandable) |
CATTreeNodeInfo(boolean iIsExpandable, String iLabel) |
CATTreeNodeInfo(boolean iIsExpandable, String iLabel, String iIcon) |
Method Summary |
void | setLabel(String iLabel) |
void | setIcon(String iIcon) |
void | setChildrenKeys(String[] iKeys) |
String | getLabel() |
String | getIcon() |
boolean | isExpandable() |
String[] | getChildrenKeys() |
Field Detail |
Constructor Detail |
CATTreeNodeInfo(boolean iIsExpandable)Creates a tree node info.
iIsExpandable
CATTreeNodeInfo(boolean iIsExpandable, String iLabel)Creates a tree node info.
iIsExpandable
iLabel
CATTreeNodeInfo(boolean iIsExpandable, String iLabel, String iIcon)Creates a tree node info.
iIsExpandable
iLabel
iIcon
resources/graphic
directory of the runtime view, or an absolute URL to the icon.Method Detail |
void setLabel(String iLabel)Sets the node label.
iLabel
void setIcon(String iIcon)Sets the node icon.
iIcon
resources/graphic
directory of the runtime view, or an absolute URL to the icon.void setChildrenKeys(String[] iKeys)Sets the children nodes keys.
This is only required when the framework explicitely requires for
them (through the boolean argument of the getNodeInfo()
method).
iKeys
null
value means "no child".String getLabel()Returns the node label.
String getIcon()Returns the node icon URI.
resources/graphic
directory of the runtime view, or an absolute URL to the icon.boolean isExpandable()Determines whether this node is a expandable or not.
true
if the node is expandable; false
otherwise.String[] getChildrenKeys()Returns the node children keys.