smacs.xngr.browser.document
Class AddCategoryAction
java.lang.Object
javax.swing.AbstractAction
smacs.xngr.browser.document.AddCategoryAction
- All Implemented Interfaces:
- Action, ActionListener, Cloneable, EventListener, Serializable
- public class AddCategoryAction
- extends AbstractAction
An action that can be used to add a new category to the
application.
- Author:
- Edwin Dankert
- See Also:
- Serialized Form
AddCategoryAction
public AddCategoryAction(DocumentExplorer explorer)
- The constructor for the action which allows addition of
categories to the application.
- Parameters:
explorer - the parent explorer.
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 category action, called
after a user action.