Package | Description |
---|---|
nxopen.menubar |
Provides classes and interfaces for the Menu Bar.
|
Modifier and Type | Method and Description |
---|---|
ContextMenuEntry |
ContextMenu.addMenuButton(MenuButton button,
int index)
Adds a menu bar button to the context menu.
|
ContextMenuEntry |
ContextMenu.addMenuLabel(String label,
int index)
Adds a label to the context menu.
|
ContextMenuEntry |
ContextMenu.getEntry(int index)
Returns the
ContextMenuEntry at the specified index in the menu. |
ContextMenuEntry |
ContextMenu.getEntryWithName(String name)
Given the name of a menu entry, returns the first
ContextMenuEntry in this menu which
matches. |
Modifier and Type | Method and Description |
---|---|
int |
ContextMenu.getIndexOfEntry(ContextMenuEntry entry)
Returns the index of the
ContextMenuEntry
object within this menu. |
void |
ContextMenu.hideEntry(ContextMenuEntry entry)
Prevents the indicated menu entry from being shown on the menu.
|
void |
ContextMenu.moveEntry(ContextMenuEntry entry,
int index)
Reorders the menu to move a menu entry to a new position in the list.
|
void |
ContextMenu.setDefaultEntry(ContextMenuEntry entry)
Makes a specified menu entry the default for the menu.
|
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.