public interface TreeListMenu extends TransientObject
Tree
.
Refer to Tree.createMenu()
to create the menu.
Modifier and Type | Method and Description |
---|---|
void |
addMenuItem(int menuItemID,
String menuItemText)
Adds single menu item
License requirements: None. |
void |
addMenuItem(int menuItemID,
String menuItemText,
String icon)
Adds single menu item
License requirements: None. |
void |
addSeparator()
Adds a separator
License requirements: None. |
void |
addSeperator()
Deprecated.
Deprecated in NX11.0.0. Use
addSeparator() instead.
|
boolean |
getItemChecked(int menuItemID)
Gets the checked status for given menu item
License requirements: None. |
boolean |
getItemDefault(int menuItemID)
Gets the flag indicating whether the given menu item is default
License requirements: None. |
boolean |
getItemDialogLaunching(int menuItemID)
Gets the flag indicating whether the given menu item is dialog lanching
License requirements: None. |
boolean |
getItemDisable(int menuItemID)
Gets the flag indicating whether the given menu item is disabled
License requirements: None. |
boolean |
getItemHidden(int menuItemID)
Gets the flag indicating whether the given menu item is hidden
License requirements: None. |
String |
getItemIcon(int menuItemID)
Gets the icon for given menu item
License requirements: None. |
String |
getItemText(int menuItemID)
Gets the display text for given menu item
License requirements: None. |
void |
setItemChecked(int menuItemID,
boolean checkedStatusStatus)
Sets the checked status for given menu item
License requirements: None. |
void |
setItemDefault(int menuItemID,
boolean defaultStatus)
Sets the flag indicating whether the given menu item is default
License requirements: None. |
void |
setItemDialogLaunching(int menuItemID,
boolean dialogLaunchingStaus)
Sets the flag indicating whether the given menu item is dialog lanching
License requirements: None. |
void |
setItemDisable(int menuItemID,
boolean disableStatus)
Sets the flag indicating whether the given menu item is disabled
License requirements: None. |
void |
setItemHidden(int menuItemID,
boolean hiddenStatus)
Sets the flag indicating whether the given menu item is hidden
License requirements: None. |
void |
setItemIcon(int menuItemID,
String icon)
Sets the icon for given menu item
License requirements: None. |
void |
setItemText(int menuItemID,
String text)
Sets the display text for given menu item
License requirements: None. |
void |
setSubMenu(int menuItemID,
TreeListMenu subMenu)
Sets a submenu.
|
_value, dispose, printTestData, printTestData
void addMenuItem(int menuItemID, String menuItemText) throws NXException, RemoteException
menuItemID
- Unique identifier for the menu item being addedmenuItemText
- Display text for menu item being addedNXException
RemoteException
void addMenuItem(int menuItemID, String menuItemText, String icon) throws NXException, RemoteException
menuItemID
- Unique identifier for the menu item being addedmenuItemText
- Display text for menu item being addedicon
- Icon for menu item being addedNXException
RemoteException
void addSeperator() throws NXException, RemoteException
addSeparator()
instead.
NXException
RemoteException
void addSeparator() throws NXException, RemoteException
NXException
RemoteException
void setSubMenu(int menuItemID, TreeListMenu subMenu) throws NXException, RemoteException
Tree.createMenu()
method
menuItemID
- Menu Item ID of menu item on which submenu is supposed to be set.subMenu
- Menu to be added as submenuNXException
RemoteException
boolean getItemChecked(int menuItemID) throws NXException, RemoteException
menuItemID
- Menu-item IDNXException
RemoteException
void setItemChecked(int menuItemID, boolean checkedStatusStatus) throws NXException, RemoteException
menuItemID
- Menu-item IDcheckedStatusStatus
- StatusNXException
RemoteException
boolean getItemDisable(int menuItemID) throws NXException, RemoteException
menuItemID
- Menu-item IDNXException
RemoteException
void setItemDisable(int menuItemID, boolean disableStatus) throws NXException, RemoteException
menuItemID
- Menu-item IDdisableStatus
- StatusNXException
RemoteException
boolean getItemDefault(int menuItemID) throws NXException, RemoteException
menuItemID
- Menu-item IDNXException
RemoteException
void setItemDefault(int menuItemID, boolean defaultStatus) throws NXException, RemoteException
menuItemID
- Menu-item IDdefaultStatus
- StatusNXException
RemoteException
boolean getItemHidden(int menuItemID) throws NXException, RemoteException
menuItemID
- Menu-item IDNXException
RemoteException
void setItemHidden(int menuItemID, boolean hiddenStatus) throws NXException, RemoteException
menuItemID
- Menu-item IDhiddenStatus
- StatusNXException
RemoteException
boolean getItemDialogLaunching(int menuItemID) throws NXException, RemoteException
menuItemID
- Menu-item IDNXException
RemoteException
void setItemDialogLaunching(int menuItemID, boolean dialogLaunchingStaus) throws NXException, RemoteException
menuItemID
- Menu-item IDdialogLaunchingStaus
- StatusNXException
RemoteException
String getItemIcon(int menuItemID) throws NXException, RemoteException
menuItemID
- Menu-item IDNXException
RemoteException
void setItemIcon(int menuItemID, String icon) throws NXException, RemoteException
menuItemID
- Menu-item IDicon
- Display textNXException
RemoteException
String getItemText(int menuItemID) throws NXException, RemoteException
menuItemID
- Menu-item IDNXException
RemoteException
void setItemText(int menuItemID, String text) throws NXException, RemoteException
menuItemID
- Menu-item IDtext
- Display textNXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.