edu.wisc.ssec.mcidasv.jython
Class DefaultMenuWrangler.MenuAction
java.lang.Object
edu.wisc.ssec.mcidasv.jython.DefaultMenuWrangler.MenuAction
- Direct Known Subclasses:
- DefaultMenuWrangler.ClearBufferAction, DefaultMenuWrangler.CopyTextAction, DefaultMenuWrangler.CutTextAction, DefaultMenuWrangler.PasteTextAction, DefaultMenuWrangler.SelectBufferAction
- Enclosing class:
- DefaultMenuWrangler
private abstract static class DefaultMenuWrangler.MenuAction
- extends Object
Generalized representation of a "context popup menu". Handles
the more trivial things that the menu items need to handle.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
console
protected final Console console
label
protected final String label
item
protected final JMenuItem item
DefaultMenuWrangler.MenuAction
protected DefaultMenuWrangler.MenuAction(Console console,
String label)
getActionListener
public ActionListener getActionListener()
getMenuItem
public JMenuItem getMenuItem()
buildMenuItem
public JMenuItem buildMenuItem()
validConsoleState
public abstract boolean validConsoleState()
doAction
public abstract void doAction()