com.sshtools.common.ui
Class StandardAction
java.lang.Object
javax.swing.AbstractAction
com.sshtools.common.ui.StandardAction
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
- Direct Known Subclasses:
- AboutAction, CloseAction, ConnectionPropertiesAction, EditAction, ExitAction, MenuAction, NewAction, NewWindowAction, OpenAction, OptionsAction, PrintAction, PrintPreviewAction, RecordAction, RefreshAction, SaveAction, SaveAsAction, SessionProviderAction, StopAction
public abstract class StandardAction
- extends javax.swing.AbstractAction
- Version:
- $Revision: 1.16 $
- Author:
- $author$
- See Also:
- Serialized Form
Fields inherited from class javax.swing.AbstractAction |
changeSupport, enabled |
Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON |
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 |
ON_TOOLBAR
public static final java.lang.String ON_TOOLBAR
- See Also:
- Constant Field Values
TOOLBAR_GROUP
public static final java.lang.String TOOLBAR_GROUP
- See Also:
- Constant Field Values
TOOLBAR_WEIGHT
public static final java.lang.String TOOLBAR_WEIGHT
- See Also:
- Constant Field Values
ON_MENUBAR
public static final java.lang.String ON_MENUBAR
- See Also:
- Constant Field Values
MENU_NAME
public static final java.lang.String MENU_NAME
- See Also:
- Constant Field Values
MENU_ITEM_GROUP
public static final java.lang.String MENU_ITEM_GROUP
- See Also:
- Constant Field Values
MENU_ITEM_WEIGHT
public static final java.lang.String MENU_ITEM_WEIGHT
- See Also:
- Constant Field Values
IMAGE_DIR
public static final java.lang.String IMAGE_DIR
- See Also:
- Constant Field Values
HIDE_TOOLBAR_TEXT
public static final java.lang.String HIDE_TOOLBAR_TEXT
- See Also:
- Constant Field Values
IS_TOGGLE_BUTTON
public static final java.lang.String IS_TOGGLE_BUTTON
- See Also:
- Constant Field Values
LARGE_ICON
public static final java.lang.String LARGE_ICON
- See Also:
- Constant Field Values
ON_CONTEXT_MENU
public static final java.lang.String ON_CONTEXT_MENU
- See Also:
- Constant Field Values
CONTEXT_MENU_GROUP
public static final java.lang.String CONTEXT_MENU_GROUP
- See Also:
- Constant Field Values
CONTEXT_MENU_WEIGHT
public static final java.lang.String CONTEXT_MENU_WEIGHT
- See Also:
- Constant Field Values
MENU_ICON
public static final java.lang.String MENU_ICON
- See Also:
- Constant Field Values
StandardAction
public StandardAction()
getActionCommand
public java.lang.String getActionCommand()
- Returns:
getShortDescription
public java.lang.String getShortDescription()
- Returns:
getLongDescription
public java.lang.String getLongDescription()
- Returns:
getName
public java.lang.String getName()
- Returns:
getSmallIcon
public java.lang.String getSmallIcon()
- Returns:
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent evt)
- Parameters:
evt
-
addActionListener
public void addActionListener(java.awt.event.ActionListener l)
- Parameters:
l
-
removeActionListener
public void removeActionListener(java.awt.event.ActionListener l)
- Parameters:
l
-
getIcon
public javax.swing.ImageIcon getIcon(java.lang.String name)
- Parameters:
name
-
- Returns:
Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.