public static interface Tree.OnMenuSelectionCallback
Modifier and Type | Method and Description |
---|---|
void |
onMenuSelectionCallback(Tree tree,
Node node,
int menuItemID)
Represents the callback which gets called when one of the menu option is selected.
|
void onMenuSelectionCallback(Tree tree, Node node, int menuItemID) throws NXException, RemoteException
tree
- Tree.node
- Node on which MB3 is attempted or menu is invoked. null if MB3 is attempted on area other than node.menuItemID
- Menu item Id representing the selected menu item. This menu Id corresponds to the menu item added to the TreeListMenu
using TreeListMenu.addMenuItem(int, java.lang.String)
.NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.