smacs.xngr.browser.editor
Class SaveAction
java.lang.Object
javax.swing.AbstractAction
smacs.xngr.browser.editor.SaveAction
- All Implemented Interfaces:
- Action, ActionListener, Cloneable, EventListener, Serializable
- public class SaveAction
- extends AbstractAction
Validates the editors text and saves it to disk.
- Author:
- Edwin Dankert
- See Also:
- Serialized Form
|
Constructor Summary |
SaveAction(Editor editor)
The constructor for the action which saves the
editors text to disk. |
SaveAction
public SaveAction(Editor editor)
- The constructor for the action which saves the
editors text to disk.
- Parameters:
editor - the editor pane.
actionPerformed
public void actionPerformed(ActionEvent event)
- The implementation of the save action, called
after a user action.
- Parameters:
event - the action event.