SMACS

smacs.xngr.browser.document
Class AddRemoteDocumentAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended bysmacs.xngr.browser.document.AddRemoteDocumentAction
All Implemented Interfaces:
Action, ActionListener, Cloneable, EventListener, Serializable

public class AddRemoteDocumentAction
extends AbstractAction

An action that can be used to add a new remote document to the application.

Author:
Edwin Dankert
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
AddRemoteDocumentAction(JFrame frame)
          The constructor for the action which allows addition of remote documents to the application.
 
Method Summary
 void actionPerformed(ActionEvent e)
          The implementation of the add document action, called after a user action.
 void setCategory(DocumentCategory category)
          Set the document category for the action.
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddRemoteDocumentAction

public AddRemoteDocumentAction(JFrame frame)
The constructor for the action which allows addition of remote documents to the application.

Parameters:
frame - the parent frame.
Method Detail

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.


SMACS