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