csheets.ui
Class ReopenMenu.ReopenAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by csheets.ui.ctrl.BaseAction
          extended by csheets.ui.ctrl.OpenAction
              extended by csheets.ui.ReopenMenu.ReopenAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action
Enclosing class:
ReopenMenu

protected static class ReopenMenu.ReopenAction
extends OpenAction

An action for reopening a spreadsheet.

Author:
Einar Pehrson
See Also:
Serialized Form

Field Summary
 
Fields inherited from class csheets.ui.ctrl.OpenAction
app, uiController
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
ReopenMenu.ReopenAction(CleanSheets app, UIController uiController, File file)
          Creates a new reopen action.
 
Method Summary
protected  void defineProperties()
          Defines the action's properties.
 File getFile()
          Returns the file to open.
 
Methods inherited from class csheets.ui.ctrl.OpenAction
actionPerformed, getName
 
Methods inherited from class csheets.ui.ctrl.BaseAction
requiresFile, requiresModification, showErrorDialog
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReopenMenu.ReopenAction

public ReopenMenu.ReopenAction(CleanSheets app,
                               UIController uiController,
                               File file)
Creates a new reopen action.

Parameters:
app - the CleanSheets application
uiController - the user interface controller
file - the file to open
Method Detail

defineProperties

protected void defineProperties()
Description copied from class: BaseAction
Defines the action's properties.

Overrides:
defineProperties in class OpenAction

getFile

public File getFile()
Description copied from class: OpenAction
Returns the file to open.

Overrides:
getFile in class OpenAction
Returns:
file the file to open