csheets.ui.ctrl
Class RenameSpreadsheetAction
java.lang.Object
javax.swing.AbstractAction
csheets.ui.ctrl.BaseAction
csheets.ui.ctrl.FocusOwnerAction
csheets.ui.ctrl.RenameSpreadsheetAction
- All Implemented Interfaces:
- ActionListener, PropertyChangeListener, Serializable, Cloneable, EventListener, Action
public class RenameSpreadsheetAction
- extends FocusOwnerAction
A spreadsheet insertion operation.
- Author:
- Einar Pehrson
- See Also:
- Serialized Form
RenameSpreadsheetAction
public RenameSpreadsheetAction(UIController uiController)
- Creates a new spreadsheet insertion action.
- Parameters:
uiController - the user interface controller
getName
protected String getName()
- Description copied from class:
BaseAction
- Returns the action's name.
- Specified by:
getName in class BaseAction
- Returns:
- the action's name, which is used as short description and action command
defineProperties
protected void defineProperties()
- Description copied from class:
BaseAction
- Defines the action's properties.
- Overrides:
defineProperties in class BaseAction
actionPerformed
public void actionPerformed(ActionEvent event)
- Renames the spreadsheet of the focus owner.
- Parameters:
event - the event that was fired