edu.wisc.ssec.mcidasv.jython
Class DefaultMenuWrangler.CutTextAction

java.lang.Object
  extended by edu.wisc.ssec.mcidasv.jython.DefaultMenuWrangler.MenuAction
      extended by edu.wisc.ssec.mcidasv.jython.DefaultMenuWrangler.CutTextAction
Enclosing class:
DefaultMenuWrangler

private static class DefaultMenuWrangler.CutTextAction
extends DefaultMenuWrangler.MenuAction

Allows the user to trigger a "cut" operation. There must be some text that is currently selected in order for this to be enabled.

See Also:
JTextComponent.cut()

Field Summary
 
Fields inherited from class edu.wisc.ssec.mcidasv.jython.DefaultMenuWrangler.MenuAction
console, item, label
 
Constructor Summary
DefaultMenuWrangler.CutTextAction(Console console)
           
 
Method Summary
 void doAction()
           
 boolean validConsoleState()
           
 
Methods inherited from class edu.wisc.ssec.mcidasv.jython.DefaultMenuWrangler.MenuAction
buildMenuItem, getActionListener, getMenuItem
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultMenuWrangler.CutTextAction

public DefaultMenuWrangler.CutTextAction(Console console)
Method Detail

validConsoleState

public boolean validConsoleState()
Specified by:
validConsoleState in class DefaultMenuWrangler.MenuAction

doAction

public void doAction()
Specified by:
doAction in class DefaultMenuWrangler.MenuAction