abbot.editor.actions
Class EditorAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended byabbot.editor.actions.EditorAction
All Implemented Interfaces:
Action, ActionListener, Cloneable, EditorConstants, EventListener, Serializable
Direct Known Subclasses:
EditorToggleAction

public abstract class EditorAction
extends AbstractAction
implements EditorConstants

Encapsulate GUI attributes for an editor action.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.AbstractAction
 
Field Summary
static String ACTION_KEY
          Key to refer to the action in ActionMaps; not the same as the NAME property which is typically used for labels.
static String LARGE_ICON
           
static String MNEMONIC_INDEX
           
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface abbot.editor.EditorConstants
ACTION_CAPTURE, ACTION_CAPTURE_ALL, ACTION_CAPTURE_COMPONENT, ACTION_CAPTURE_IMAGE, ACTION_DYNAMIC, ACTION_EDITOR_ABOUT, ACTION_EDITOR_BUGREPORT, ACTION_EDITOR_EMAIL, ACTION_EDITOR_QUIT, ACTION_EDITOR_USERGUIDE, ACTION_EDITOR_WEBSITE, ACTION_EXPORT_HIERARCHY, ACTION_GET_VMARGS, ACTION_INSERT_ANNOTATION, ACTION_INSERT_APPLET, ACTION_INSERT_CALL, ACTION_INSERT_COMMENT, ACTION_INSERT_EXPRESSION, ACTION_INSERT_LAUNCH, ACTION_INSERT_SAMPLE, ACTION_INSERT_SCRIPT, ACTION_INSERT_SEQUENCE, ACTION_INSERT_TERMINATE, ACTION_PREFIX, ACTION_RUN, ACTION_RUN_LAUNCH, ACTION_RUN_SELECTED, ACTION_RUN_TERMINATE, ACTION_RUN_TO, ACTION_SCRIPT_CLEAR, ACTION_SCRIPT_CLOSE, ACTION_SCRIPT_DELETE, ACTION_SCRIPT_DUPLICATE, ACTION_SCRIPT_NEW, ACTION_SCRIPT_OPEN, ACTION_SCRIPT_RENAME, ACTION_SCRIPT_SAVE, ACTION_SCRIPT_SAVE_AS, ACTION_SELECT_COMPONENT, ACTION_SELECT_TESTSUITE, ACTION_STEP_CUT, ACTION_STEP_GROUP, ACTION_STEP_MOVE_DOWN, ACTION_STEP_MOVE_UP, ACTION_TOGGLE_AWT_MODE, ACTION_TOGGLE_FORKED, ACTION_TOGGLE_SLOW_PLAYBACK, ACTION_TOGGLE_STOP_ON_ERROR, ACTION_TOGGLE_STOP_ON_FAILURE, MENU_CAPTURE, MENU_EDIT, MENU_FILE, MENU_HELP, MENU_INSERT, MENU_TEST
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
EditorAction(String actionKey)
           
 
Method Summary
static int getMnemonic(String key)
          Deprecated. Encode the mnemonic into the localized label instead.
 
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

ACTION_KEY

public static final String ACTION_KEY
Key to refer to the action in ActionMaps; not the same as the NAME property which is typically used for labels.

See Also:
Constant Field Values

LARGE_ICON

public static final String LARGE_ICON
See Also:
Constant Field Values

MNEMONIC_INDEX

public static final String MNEMONIC_INDEX
See Also:
Constant Field Values
Constructor Detail

EditorAction

public EditorAction(String actionKey)
Method Detail

getMnemonic

public static int getMnemonic(String key)
Deprecated. Encode the mnemonic into the localized label instead.



Copyright © 2002-2004 Timothy Wall. All Rights Reserved.
Abbot is hosted on

SourceForge