org.xnap.action
Class AbstractXNapAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by org.xnap.action.AbstractXNapAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
Direct Known Subclasses:
ConnectAction, DisconnectAction, DownloadLinkAction, ExitAction, FocusAction, PreferencesDialogAction, SubmenuAction

public abstract class AbstractXNapAction
extends javax.swing.AbstractAction

Provides an abstract action. All actions should inherit this class, since it provides a few convenience methods.

See Also:
Serialized Form

Field Summary
static java.lang.String DEFAULT_KEYSTROKE
           
static java.lang.String SHORTCUT_CATEGORY
           
static java.lang.String SHORTCUT_DESCRIPTION
           
static java.lang.String XNAP_ICON
           
 
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
AbstractXNapAction()
           
 
Method Summary
 void setEnabledLater(boolean enabled)
           
 
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
 
Methods inherited from interface java.awt.event.ActionListener
actionPerformed
 

Field Detail

XNAP_ICON

public static final java.lang.String XNAP_ICON
See Also:
Constant Field Values

DEFAULT_KEYSTROKE

public static final java.lang.String DEFAULT_KEYSTROKE
See Also:
Constant Field Values

SHORTCUT_DESCRIPTION

public static final java.lang.String SHORTCUT_DESCRIPTION
See Also:
Constant Field Values

SHORTCUT_CATEGORY

public static final java.lang.String SHORTCUT_CATEGORY
See Also:
Constant Field Values
Constructor Detail

AbstractXNapAction

public AbstractXNapAction()
Method Detail

setEnabledLater

public void setEnabledLater(boolean enabled)


Copyright © 2001-2005 XNap Team. All Rights Reserved.