Enum Toolbar.ClockButtonState
- java.lang.Object
-
- java.lang.Enum<Toolbar.ClockButtonState>
-
- de.unistuttgart.informatik.fius.icge.ui.Toolbar.ClockButtonState
-
- All Implemented Interfaces:
Serializable
,Comparable<Toolbar.ClockButtonState>
- Enclosing interface:
- Toolbar
public static enum Toolbar.ClockButtonState extends Enum<Toolbar.ClockButtonState>
The clock button state represents the states of the clock buttons in the ui
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Toolbar.ClockButtonState
valueOf(String name)
Returns the enum constant of this type with the specified name.static Toolbar.ClockButtonState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PLAYING
public static final Toolbar.ClockButtonState PLAYING
Indicates a running simulation clock
-
PAUSED
public static final Toolbar.ClockButtonState PAUSED
Indicates a stoped simulation clock
-
BLOCKED
public static final Toolbar.ClockButtonState BLOCKED
Indicates an error or unavailable clock or simulation
-
-
Method Detail
-
values
public static Toolbar.ClockButtonState[] 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 (Toolbar.ClockButtonState c : Toolbar.ClockButtonState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Toolbar.ClockButtonState 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 nameNullPointerException
- if the argument is null
-
-