Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## mars.venus
Class RunToggleBreakpointsAction

    java.lang.Object
      javax.swing.AbstractAction
          mars.venus.GuiAction
              mars.venus.RunToggleBreakpointsAction

All Implemented Interfaces:
  ActionListener, Serializable, Cloneable, EventListener, Action

    public class RunToggleBreakpointsAction

extends GuiAction

Action class for the Run menu item to clear execution breakpoints that have been set. It is a listener and is notified whenever a breakpoint is added or removed, thus will set its enabled status true or false depending on whether breakpoints remain after that action.

See Also:
  Serialized Form

Field Summary

Fields inherited from class mars.venus.GuiAction
`mainUI`

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
`RunToggleBreakpointsAction(String name, Icon icon, String descrip, Integer mnemonic, KeyStroke accel, VenusUI gui)` Create the object and register with text segment window as a listener on its table model.

Method Summary
`void` | `actionPerformed(ActionEvent e)` When this option is selected, tell text segment window to clear breakpoints in its table model.

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`

Constructor Detail

### RunToggleBreakpointsAction

    public RunToggleBreakpointsAction(String name,
                                      Icon icon,
                                      String descrip,
                                      Integer mnemonic,
                                      KeyStroke accel,
                                      VenusUI gui)

  Create the object and register with text segment window as a listener on its table model. The table model has not been created yet, so text segment window will hang onto this registration info and transfer it to the table model upon creation (which happens with each successful assembly).

Method Detail

### actionPerformed

    public void actionPerformed(ActionEvent e)

  When this option is selected, tell text segment window to clear breakpoints in its table model.

  Specified by:
    `actionPerformed` in interface `ActionListener`
  Overrides:
    `actionPerformed` in class `GuiAction`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD