csheets.ui.ctrl
Class NewAction
java.lang.Object
javax.swing.AbstractAction
csheets.ui.ctrl.BaseAction
csheets.ui.ctrl.NewAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
public class NewAction
- extends BaseAction
An action for creating a new spreadsheet.
- Author:
- Einar Pehrson
- See Also:
- Serialized Form
NewAction
public NewAction(CleanSheets app)
- Creates a new New action.
- Parameters:
app - the CleanSheets application
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 e)