pl.edu.pw.elka.pszt.inteligraph.events
Enum EventName

java.lang.Object
  extended by java.lang.Enum<EventName>
      extended by pl.edu.pw.elka.pszt.inteligraph.events.EventName
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<EventName>

public enum EventName
extends java.lang.Enum<EventName>

Enumeracja zawierająca nazwy wszystkich zdarzeń jakie mogą być zgłaszane


Enum Constant Summary
ABOUT
          O programie.
CHOOSE_FILE
          Obsługa wczytania pliku.
DRAW_GRAPH_INF
          Rysuj graf dopóki nie znaleziono najlepszego lub nie naciśnięto stop.
DRAW_GRAPH_N
          Rysuj graf wykonując obliczenia dla n-kroków.
DRAW_GRAPH_STOP
          Naciśnięto stop.
ITERATION_ALGORITHM
          Odświeżanie iteracji.
REFRESH_GRAPH
          Odświeżenie grafu
SHOW_EMPTY_WINDOW
          Event startowy, pokazuje puste okno.
WRONG_GRAPH_PARAMS
          Podano złe parametry dla obliczeń algorytmu.
 
Method Summary
static EventName valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static EventName[] 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

SHOW_EMPTY_WINDOW

public static final EventName SHOW_EMPTY_WINDOW
Event startowy, pokazuje puste okno.


DRAW_GRAPH_N

public static final EventName DRAW_GRAPH_N
Rysuj graf wykonując obliczenia dla n-kroków.


DRAW_GRAPH_INF

public static final EventName DRAW_GRAPH_INF
Rysuj graf dopóki nie znaleziono najlepszego lub nie naciśnięto stop.


DRAW_GRAPH_STOP

public static final EventName DRAW_GRAPH_STOP
Naciśnięto stop.


REFRESH_GRAPH

public static final EventName REFRESH_GRAPH
Odświeżenie grafu


ITERATION_ALGORITHM

public static final EventName ITERATION_ALGORITHM
Odświeżanie iteracji.


CHOOSE_FILE

public static final EventName CHOOSE_FILE
Obsługa wczytania pliku.


WRONG_GRAPH_PARAMS

public static final EventName WRONG_GRAPH_PARAMS
Podano złe parametry dla obliczeń algorytmu.


ABOUT

public static final EventName ABOUT
O programie.

Method Detail

values

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

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

valueOf

public static EventName valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null