com.azalient.apo.enums
Enum ModelEvent

java.lang.Object
  extended by java.lang.Enum<ModelEvent>
      extended by com.azalient.apo.enums.ModelEvent
All Implemented Interfaces:
Serializable, Comparable<ModelEvent>

public enum ModelEvent
extends Enum<ModelEvent>

Events fired during open, save and close of models, drawing, and during simulation


Enum Constant Summary
ACTION_SELECTION
          Calls:
void actionSelection(IDrawing drw)
GENERIC
           
PLUGIN_CLOSE
          Calls:
void pluginClose()
PLUGIN_OPEN
          Calls:
void pluginOpen()
PLUGIN_SAVE
          Calls:
void pluginSave()
RESULTS_SAVE
          Calls:
void resultsSave()
TIME_COMPLETE
          Calls:
void timeComplete()
TIME_REWIND
          Calls:
void timeRewind()
TIME_SEC
          Calls:
void timeSec()
TIME_STEP
          Calls:
void timeStep()
VIEW_LEGEND
          Calls:
void viewLegend(IDrawing drw)
VIEW_MODEL
          Calls:
void viewModel(IDrawing drw)
 
Method Summary
static ModelEvent valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ModelEvent[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

PLUGIN_OPEN

public static final ModelEvent PLUGIN_OPEN
Calls:
void pluginOpen()


PLUGIN_CLOSE

public static final ModelEvent PLUGIN_CLOSE
Calls:
void pluginClose()


PLUGIN_SAVE

public static final ModelEvent PLUGIN_SAVE
Calls:
void pluginSave()


RESULTS_SAVE

public static final ModelEvent RESULTS_SAVE
Calls:
void resultsSave()


TIME_COMPLETE

public static final ModelEvent TIME_COMPLETE
Calls:
void timeComplete()


TIME_SEC

public static final ModelEvent TIME_SEC
Calls:
void timeSec()


TIME_STEP

public static final ModelEvent TIME_STEP
Calls:
void timeStep()


TIME_REWIND

public static final ModelEvent TIME_REWIND
Calls:
void timeRewind()


ACTION_SELECTION

public static final ModelEvent ACTION_SELECTION
Calls:
void actionSelection(IDrawing drw)


VIEW_LEGEND

public static final ModelEvent VIEW_LEGEND
Calls:
void viewLegend(IDrawing drw)


VIEW_MODEL

public static final ModelEvent VIEW_MODEL
Calls:
void viewModel(IDrawing drw)


GENERIC

public static final ModelEvent GENERIC
Method Detail

values

public static ModelEvent[] 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 (ModelEvent c : ModelEvent.values())
    System.out.println(c);

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

valueOf

public static ModelEvent 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