Package com.bc.ceres.swing.actions
Class CutAction
- java.lang.Object
- 
- javax.swing.AbstractAction
- 
- com.bc.ceres.swing.actions.AbstractSystemAction
- 
- com.bc.ceres.swing.actions.AbstractSelectionAction
- 
- com.bc.ceres.swing.actions.CutAction
 
 
 
 
- 
- All Implemented Interfaces:
- SelectionChangeListener,- ActionListener,- Serializable,- Cloneable,- EventListener,- Action
 
 public class CutAction extends AbstractSelectionAction A generic 'cut' action.- Since:
- Ceres 0.10
- See Also:
- Serialized Form
 
- 
- 
Field Summary- 
Fields inherited from class javax.swing.AbstractActionchangeSupport, enabled
 - 
Fields inherited from interface javax.swing.ActionACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
 
- 
 - 
Constructor SummaryConstructors Constructor Description CutAction(SelectionManager selectionManager)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()booleanisExecutable()Checks if a selection context exists.- 
Methods inherited from class com.bc.ceres.swing.actions.AbstractSelectionActiongetClipboard, getSelection, getSelectionContext, selectionChanged, selectionContextChanged
 - 
Methods inherited from class com.bc.ceres.swing.actions.AbstractSystemActionactionPerformed, loadIcon, updateState
 - 
Methods inherited from class javax.swing.AbstractActionaddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
- 
 
- 
- 
- 
Constructor Detail- 
CutActionpublic CutAction(SelectionManager selectionManager) 
 
- 
 - 
Method Detail- 
isExecutablepublic boolean isExecutable() Description copied from class:AbstractSelectionActionChecks if a selection context exists. Overrides should first test the return value ofsuper.isExecutable().- Overrides:
- isExecutablein class- AbstractSelectionAction
- Returns:
- true, if so.
 
 - 
executepublic void execute() - Specified by:
- executein class- AbstractSystemAction
 
 
- 
 
-