public class WinMenuTreeNode extends MenuTreeNode
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CONSTANT_GRAYED |
static java.lang.String |
CONSTANT_NORMAL |
static java.lang.String |
CONSTANT_SELECTED |
static java.lang.String |
PROPERTY_ENABLED |
static java.lang.String |
PROPERTY_STATE |
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 |
|---|
WinMenuTreeNode() |
WinMenuTreeNode(java.lang.Object userObject) |
WinMenuTreeNode(java.lang.Object userObject,
int siblingCounter,
int childrenCounter) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
containsBitMap() |
java.lang.String |
getNodeLabel()
Note: It seems that the property '.text' or '.name' will return also the
string of mnemonic something like 'New(N) Ctrl+N', but maybe RFT will
not recognize the mnemonic part 'Ctrl+N' when it perform a click, so we
should remove the mnemonic part from the string of property '.text' or '.name'
|
protected boolean |
isChecked() |
protected boolean |
isEnabled() |
protected boolean |
isSeparator()
Note: Only works for testing .Separator
|
getProperty, getStatusString, getUserObject, matchStatus, setUserObject, subMenuCountOk, toStringpublic static final java.lang.String PROPERTY_ENABLED
public static final java.lang.String PROPERTY_STATE
public static final java.lang.String CONSTANT_SELECTED
public static final java.lang.String CONSTANT_NORMAL
public static final java.lang.String CONSTANT_GRAYED
public WinMenuTreeNode()
public WinMenuTreeNode(java.lang.Object userObject)
public WinMenuTreeNode(java.lang.Object userObject,
int siblingCounter,
int childrenCounter)
public java.lang.String getNodeLabel()
getNodeLabel in class MenuTreeNodeprotected boolean containsBitMap()
containsBitMap in class MenuTreeNodeprotected boolean isChecked()
isChecked in class MenuTreeNodeprotected boolean isEnabled()
isEnabled in class MenuTreeNodeprotected boolean isSeparator()
isSeparator in class MenuTreeNodeCopyright © SAS Institute. All Rights Reserved.