abbot.editor.actions
Class EditorToggleAction

java.lang.Object
  |
  +--javax.swing.AbstractAction
        |
        +--abbot.editor.actions.EditorAction
              |
              +--abbot.editor.actions.EditorToggleAction
All Implemented Interfaces:
Action, ActionListener, Cloneable, EditorConstants, EventListener, Serializable

public class EditorToggleAction
extends EditorAction

Encapsulate GUI attributes for an editor action.

See Also:
Serialized Form

Inner classes inherited from class javax.swing.AbstractAction
AbstractAction.ArrayTable
 
Inner classes inherited from class abbot.editor.EditorConstants
EditorConstants.Accelerator
 
Field Summary
static String STATE
           
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface abbot.editor.EditorConstants
ABBOT_IMAGE_DIR, LARGE_ICON, menuShortcutMask, menuShortcutString, MI_ABOUT, MI_ACTION_COUNT, MI_ASSERT_DYNAMIC, MI_CAPTURE_DYNAMIC, MI_CLEAR, MI_CLOSE, MI_COUNT, MI_CUT, MI_DELETE, MI_DUPLICATE, MI_EXIT, MI_EXPORT_HIERARCHY, MI_FORK, MI_GETVMARGS, MI_GROUP, MI_INSERT_ANNOTATION, MI_INSERT_CALL, MI_INSERT_COMMENT, MI_INSERT_COUNT, MI_INSERT_DYNAMIC, MI_INSERT_FIRST, MI_INSERT_LAST, MI_INSERT_LAUNCH, MI_INSERT_SAMPLE, MI_INSERT_SCRIPT, MI_INSERT_SEQUENCE, MI_INSERT_TERMINATE, MI_LAUNCH, MI_MOVE_DOWN, MI_MOVE_UP, MI_NEW, MI_OPEN, MI_RENAME, MI_RUN, MI_RUNSELECTED, MI_RUNTO, MI_SAVE, MI_SAVE_AS, MI_SELECT_TESTSUITE, MI_SLOW, MI_STOP_ON_ERROR, MI_STOP_ON_FAILURE, MI_TERMINATE, MI_TOGGLE_FIRST, MI_TOGGLE_LAST, MI_WAIT_DYNAMIC
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
EditorToggleAction(int id, String base, ActionListener al)
           
 
Method Summary
 void actionPerformed(ActionEvent ev)
           
 boolean isSelected()
           
 void setSelected(boolean state)
           
 
Methods inherited from class abbot.editor.actions.EditorAction
getAcceleratorKey, getIcon
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STATE

public static final String STATE
Constructor Detail

EditorToggleAction

public EditorToggleAction(int id,
                          String base,
                          ActionListener al)
Method Detail

actionPerformed

public void actionPerformed(ActionEvent ev)
Overrides:
actionPerformed in class EditorAction

isSelected

public boolean isSelected()

setSelected

public void setSelected(boolean state)


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

SourceForge