smacs.xngr.browser.document
Class CreateDocumentAction
java.lang.Object
javax.swing.AbstractAction
smacs.xngr.browser.document.CreateDocumentAction
- All Implemented Interfaces:
- Action, ActionListener, Cloneable, EventListener, Serializable
- public class CreateDocumentAction
- extends AbstractAction
An action that can be used to create a new document and add
the document to the application.
- Author:
- Edwin Dankert
- See Also:
- Serialized Form
|
Constructor Summary |
CreateDocumentAction(JFrame frame)
The constructor for the action which allows addition of
documents to the application. |
CreateDocumentAction
public CreateDocumentAction(JFrame frame)
- The constructor for the action which allows addition of
documents to the application.
- Parameters:
frame - the parent frame.
setCategory
public void setCategory(DocumentCategory category)
- Set the document category for the action.
- Parameters:
category - the document category.
actionPerformed
public void actionPerformed(ActionEvent e)
- The implementation of the add document action, called
after a user action.