public class JavaMenuTreeNode extends MenuTreeNode
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROPERTY_ENABLED |
static java.lang.String |
PROPERTY_ICON |
static java.lang.String |
PROPERTY_SELECTED |
childrenCounter, siblingCounter, STATUS_BARBREAK, STATUS_BITMAP, STATUS_BREAK, STATUS_CHECKED, STATUS_DEFAULT, STATUS_DISABLED, STATUS_ENABLED, STATUS_GRAYED, STATUS_HILITED, STATUS_NORMAL, STATUS_SEPARATOR, STATUS_SUBMENU_NUM, STATUS_UNCHECKED, STATUS_UNGRAYED, STATUS_UNHILITEED, userObject
Constructor and Description |
---|
JavaMenuTreeNode() |
JavaMenuTreeNode(java.lang.Object userObject) |
JavaMenuTreeNode(java.lang.Object userObject,
int siblingCounter,
int childrenCounter) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
containsBitMap() |
java.lang.String |
getNodeLabel()
Note: To be overrided by it's subclass |
protected boolean |
isChecked() |
protected boolean |
isEnabled() |
protected boolean |
isSeparator()
Note: Only works for swing application for instance.
|
static void |
main(java.lang.String[] args) |
getProperty, getStatusString, getUserObject, matchStatus, setUserObject, subMenuCountOk, toString
public static final java.lang.String PROPERTY_ENABLED
public static final java.lang.String PROPERTY_SELECTED
public static final java.lang.String PROPERTY_ICON
public JavaMenuTreeNode()
public JavaMenuTreeNode(java.lang.Object userObject)
public JavaMenuTreeNode(java.lang.Object userObject, int siblingCounter, int childrenCounter)
public java.lang.String getNodeLabel()
MenuTreeNode
getNodeLabel
in class MenuTreeNode
protected boolean isEnabled()
isEnabled
in class MenuTreeNode
protected boolean isChecked()
isChecked
in class MenuTreeNode
protected boolean containsBitMap()
containsBitMap
in class MenuTreeNode
protected boolean isSeparator()
isSeparator
in class MenuTreeNode
public static void main(java.lang.String[] args)
Copyright © SAS Institute. All Rights Reserved.