public class RegisterSelectionMenu extends Menu
Menu.openSubMenuAction
Constructor and Description |
---|
RegisterSelectionMenu(GUIPanel gp,
java.lang.String s,
RegisterAction ra) |
RegisterSelectionMenu(GUIPanel gp,
java.lang.String s,
RegisterActionMenu ram) |
Modifier and Type | Method and Description |
---|---|
void |
handle(java.lang.String keystroke)
Run the
GUIAction , or open the respective Menu , based on the
sequence of keys, represented by the string provided. |
void |
setGenericRegisterAction(RegisterAction ra) |
void |
showMenu()
Display this
Menu in the statusWindow of the respective GUIPanel . |
addAction, addSubMenu, close, getAction, getGUIPanel, getString, getSuperMenu, isPersistent, setGUIPanel, setPersistent, setSuperMenu, suggestClosing
public RegisterSelectionMenu(GUIPanel gp, java.lang.String s, RegisterAction ra)
public RegisterSelectionMenu(GUIPanel gp, java.lang.String s, RegisterActionMenu ram)
public void setGenericRegisterAction(RegisterAction ra)
public void showMenu()
Menu
Menu
in the statusWindow of the respective GUIPanel
.showMenu
in class Menu
Menu.setGUIPanel(InstrumentationPlatformGUI.Elements.GUIPanel)
public void handle(java.lang.String keystroke)
Menu
GUIAction
, or open the respective Menu
, based on the
sequence of keys, represented by the string provided.handle
in class Menu
keystroke
- the string representing the sequence of keys pressedMenu.addAction(java.lang.String, InstrumentationPlatformGUI.NamedGUIAction)