public abstract class MenuTreeNode
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int |
childrenCounter |
protected int |
siblingCounter |
static java.lang.String |
STATUS_BARBREAK |
static java.lang.String |
STATUS_BITMAP |
static java.lang.String |
STATUS_BREAK |
static java.lang.String |
STATUS_CHECKED |
static java.lang.String |
STATUS_DEFAULT |
static java.lang.String |
STATUS_DISABLED |
static java.lang.String |
STATUS_ENABLED |
static java.lang.String |
STATUS_GRAYED |
static java.lang.String |
STATUS_HILITED |
static java.lang.String |
STATUS_NORMAL |
static java.lang.String |
STATUS_SEPARATOR |
static java.lang.String |
STATUS_SUBMENU_NUM |
static java.lang.String |
STATUS_UNCHECKED |
static java.lang.String |
STATUS_UNGRAYED |
static java.lang.String |
STATUS_UNHILITEED |
protected java.lang.Object |
userObject |
Constructor and Description |
---|
MenuTreeNode() |
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
containsBitMap() |
java.lang.String |
getNodeLabel()
Note: To be overrided by it's subclass |
protected java.lang.Object |
getProperty(java.lang.String property) |
protected java.lang.String |
getStatusString() |
java.lang.Object |
getUserObject() |
protected abstract boolean |
isChecked() |
protected abstract boolean |
isEnabled() |
protected abstract boolean |
isSeparator() |
boolean |
matchStatus(java.lang.String status)
Note: The separator must be a blank " "
|
void |
setUserObject(java.lang.Object userObject) |
protected boolean |
subMenuCountOk(java.lang.String subMenuNumber) |
java.lang.String |
toString() |
public static final java.lang.String STATUS_ENABLED
public static final java.lang.String STATUS_UNGRAYED
public static final java.lang.String STATUS_DISABLED
public static final java.lang.String STATUS_GRAYED
public static final java.lang.String STATUS_CHECKED
public static final java.lang.String STATUS_UNCHECKED
public static final java.lang.String STATUS_SUBMENU_NUM
public static final java.lang.String STATUS_BITMAP
public static final java.lang.String STATUS_SEPARATOR
public static final java.lang.String STATUS_BARBREAK
public static final java.lang.String STATUS_BREAK
public static final java.lang.String STATUS_HILITED
public static final java.lang.String STATUS_UNHILITEED
public static final java.lang.String STATUS_DEFAULT
public static final java.lang.String STATUS_NORMAL
protected java.lang.Object userObject
protected int siblingCounter
protected int childrenCounter
public java.lang.Object getUserObject()
public void setUserObject(java.lang.Object userObject)
public java.lang.String getNodeLabel()
protected abstract boolean isEnabled()
protected abstract boolean isChecked()
protected abstract boolean containsBitMap()
protected abstract boolean isSeparator()
public boolean matchStatus(java.lang.String status)
status
- A String contains status of the node item, can be an combination of followings:
protected java.lang.Object getProperty(java.lang.String property)
property,
- String describe a property of the object that test proxy object representprotected boolean subMenuCountOk(java.lang.String subMenuNumber)
subMenuNumber,
- String, Represent the number of submenus under this menuprotected java.lang.String getStatusString()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © SAS Institute. All Rights Reserved.