Package com.sshtools.common.ui
Class StandardAction
java.lang.Object
javax.swing.AbstractAction
com.sshtools.common.ui.StandardAction
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
- Direct Known Subclasses:
AboutAction
,CloseAction
,ConnectionPropertiesAction
,EditAction
,ExitAction
,MenuAction
,NewAction
,NewWindowAction
,OpenAction
,OptionsAction
,PrintAction
,PrintPreviewAction
,RecordAction
,RefreshAction
,SaveAction
,SaveAsAction
,SessionProviderAction
,StopAction
- Version:
- $Revision: 1.16 $
- Author:
- $author$
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
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
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Field Details
-
ON_TOOLBAR
- See Also:
-
TOOLBAR_GROUP
- See Also:
-
TOOLBAR_WEIGHT
- See Also:
-
ON_MENUBAR
- See Also:
-
MENU_NAME
- See Also:
-
MENU_ITEM_GROUP
- See Also:
-
MENU_ITEM_WEIGHT
- See Also:
-
IMAGE_DIR
- See Also:
-
HIDE_TOOLBAR_TEXT
- See Also:
-
IS_TOGGLE_BUTTON
- See Also:
-
LARGE_ICON
- See Also:
-
ON_CONTEXT_MENU
- See Also:
-
CONTEXT_MENU_GROUP
- See Also:
-
CONTEXT_MENU_WEIGHT
- See Also:
-
MENU_ICON
- See Also:
-
-
Constructor Details
-
StandardAction
public StandardAction()
-
-
Method Details
-
getActionCommand
- Returns:
-
getShortDescription
- Returns:
-
getLongDescription
- Returns:
-
getName
- Returns:
-
getSmallIcon
- Returns:
-
actionPerformed
- Parameters:
evt
-
-
addActionListener
- Parameters:
l
-
-
removeActionListener
- Parameters:
l
-
-
getIcon
- Parameters:
name
-- Returns:
-