public abstract class MvwMenuItem extends MvwItem implements TriggerIF
| Modifier | Constructor and Description |
|---|---|
protected |
MvwMenuItem(String itemName,
String menuOrder,
String actionName,
String addToMenu,
boolean dynamic)
Constructs a new menu item.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getActionName() |
abstract void |
initialize()
Derived classes must override this method to initialize their menu triggering
handling, since it will be called after the setAction() method is called.
|
void |
setAction(Action a)
This method is called by the MenuController to set the action on this
menu item
|
String |
toString() |
getAddToMenu, getMenuOrder, getName, isDynamicclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdisable, enable, getWidgetgetWidgetprotected Action action
public abstract void initialize()
initialize in interface MenuSubItemIFpublic String getActionName()
public void setAction(Action a)
a - Copyright © 2019. All rights reserved.