smacs.xngr.browser.editor
Class CommentAction
java.lang.Object
javax.swing.AbstractAction
smacs.xngr.browser.editor.CommentAction
- All Implemented Interfaces:
- Action, ActionListener, Cloneable, EventListener, Serializable
- public class CommentAction
- extends AbstractAction
An action that can be used to Comment the selected text.
- Author:
- Edwin Dankert
- See Also:
- Serialized Form
|
Constructor Summary |
CommentAction(Editor editor)
The constructor for the action that Comments the selected text. |
CommentAction
public CommentAction(Editor editor)
- The constructor for the action that Comments the selected text.
- Parameters:
editor - the XML Editor
actionPerformed
public void actionPerformed(ActionEvent event)
- The implementation of the comment action, called
after a user action.
- Parameters:
event - the action event.