Package mars.venus.actions.edit
Class EditCutAction
java.lang.Object
javax.swing.AbstractAction
mars.venus.actions.VenusAction
mars.venus.actions.edit.EditCutAction
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
Action for the Edit -> Cut menu item.
- See Also:
-
Field Summary
Fields inherited from class mars.venus.actions.VenusAction
gui, shortcut
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
actionPerformed
(ActionEvent event) Should be overridden by subclasses to carry out the action they represent.void
update()
Update this action according to the current GUI state.Methods inherited from class mars.venus.actions.VenusAction
getGUI, getName, getShortcut, registerShortcut
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Constructor Details
-
EditCutAction
-
-
Method Details
-
actionPerformed
Description copied from class:VenusAction
Should be overridden by subclasses to carry out the action they represent.- Specified by:
actionPerformed
in interfaceActionListener
- Specified by:
actionPerformed
in classVenusAction
-
update
public void update()Description copied from class:VenusAction
Update this action according to the current GUI state.- Overrides:
update
in classVenusAction
-