com.mtp.pounder.controller
Class SaveAsAction

java.lang.Object
  |
  +--javax.swing.AbstractAction
        |
        +--com.mtp.pounder.controller.SaveAction
              |
              +--com.mtp.pounder.controller.SaveAsAction
All Implemented Interfaces:
Action, ActionListener, Cloneable, EventListener, PounderConstants, Serializable

public class SaveAsAction
extends SaveAction

Extends SaveAction and makes sure file chooser is always shown.

Author:
Matthew Pekar
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.mtp.pounder.controller.SaveAction
controller, model
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface com.mtp.pounder.PounderConstants
FILE_EXTENSION, FILE_FORMAT_VERSION, VERSION
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
SaveAsAction(PounderController c, PounderModel pm)
           
 
Method Summary
protected  File getFileForWriting()
           
 
Methods inherited from class com.mtp.pounder.controller.SaveAction
actionPerformed, fixExtension, showFileChooser
 
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

SaveAsAction

public SaveAsAction(PounderController c,
                    PounderModel pm)
Method Detail

getFileForWriting

protected File getFileForWriting()
Overrides:
getFileForWriting in class SaveAction


Copyright © 2002 Matthew Pekar. All Rights Reserved.