com.github.croesch.micro_debug.gui.actions.api
Enum IActionProvider.Actions

java.lang.Object
  extended by java.lang.Enum<IActionProvider.Actions>
      extended by com.github.croesch.micro_debug.gui.actions.api.IActionProvider.Actions
All Implemented Interfaces:
Serializable, Comparable<IActionProvider.Actions>
Enclosing interface:
IActionProvider

public static enum IActionProvider.Actions
extends Enum<IActionProvider.Actions>

Provides an enumeration of actions to control the debugger.

Since:
Date: May 12, 2012
Author:
croesch

Enum Constant Summary
ABOUT
          action to visualize the about frame
EXIT
          the action to quit the program
HELP
          the action to show the help frame
INTERRUPT
          the action to interrupt the running processor
MICRO_STEP
          the action to perform a micro step
RESET
          the action to reset the processor
RUN
          the action to run the debugger
STEP
          the action to perform a macro step
 
Method Summary
static IActionProvider.Actions valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IActionProvider.Actions[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ABOUT

public static final IActionProvider.Actions ABOUT
action to visualize the about frame


EXIT

public static final IActionProvider.Actions EXIT
the action to quit the program


HELP

public static final IActionProvider.Actions HELP
the action to show the help frame


MICRO_STEP

public static final IActionProvider.Actions MICRO_STEP
the action to perform a micro step


RESET

public static final IActionProvider.Actions RESET
the action to reset the processor


RUN

public static final IActionProvider.Actions RUN
the action to run the debugger


STEP

public static final IActionProvider.Actions STEP
the action to perform a macro step


INTERRUPT

public static final IActionProvider.Actions INTERRUPT
the action to interrupt the running processor

Method Detail

values

public static IActionProvider.Actions[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (IActionProvider.Actions c : IActionProvider.Actions.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static IActionProvider.Actions valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2012. All Rights Reserved.