All Packages Class Hierarchy This Package Previous Next Index
Class com.ibm.webrunner.bab.SaveAction
java.lang.Object
|
+----com.sun.java.swing.AbstractAction
|
+----com.ibm.webrunner.bab.BAction
|
+----com.ibm.webrunner.bab.SaveAction
- public class SaveAction
- extends BAction
- implements Serializable
This saves the application model (if set on the BABApp) into a file with
extension as specified with BABApp.
This implementation saves the document if it already exists, or else
(if new document) brings up a FileChooser for the user to select a directory
and file to save.
If SaveHandler is set then it is called to perform the actual writing to the file.
Modification(s) History :
09/21/98 - created
- Version:
- 0.1
- See Also:
- SaveActionHandler, BAction
-
SaveAction()
- Default constructor
-
actionPerformed(ActionEvent)
-
-
getSaveActionHandler()
- Returns SaveActionHandler
-
setSaveActionHandler(SaveActionHandler)
- Set Save Action Handler
SaveAction
public SaveAction()
- Default constructor
actionPerformed
public void actionPerformed(ActionEvent e)
- Overrides:
- actionPerformed in class BAction
setSaveActionHandler
public void setSaveActionHandler(SaveActionHandler newSaveActionHandler)
- Set Save Action Handler
getSaveActionHandler
public SaveActionHandler getSaveActionHandler()
- Returns SaveActionHandler
All Packages Class Hierarchy This Package Previous Next Index