Enum Toolbar.ControlButtonState
- java.lang.Object
-
- java.lang.Enum<Toolbar.ControlButtonState>
-
- de.unistuttgart.informatik.fius.icge.ui.Toolbar.ControlButtonState
-
- All Implemented Interfaces:
Serializable
,Comparable<Toolbar.ControlButtonState>
- Enclosing interface:
- Toolbar
public static enum Toolbar.ControlButtonState extends Enum<Toolbar.ControlButtonState>
The control button state represents the status of the control buttons in the ui
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Toolbar.ControlButtonState
valueOf(String name)
Returns the enum constant of this type with the specified name.static Toolbar.ControlButtonState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VIEW
public static final Toolbar.ControlButtonState VIEW
Indicates the user input is in view mode
-
ADD
public static final Toolbar.ControlButtonState ADD
Indicates the user input is in add mode
-
SUB
public static final Toolbar.ControlButtonState SUB
Indicates the user input is in sub mode
-
BLOCKED
public static final Toolbar.ControlButtonState BLOCKED
Indicates that the user input is blocked or unavailable
-
-
Method Detail
-
values
public static Toolbar.ControlButtonState[] 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.ControlButtonState c : Toolbar.ControlButtonState.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.ControlButtonState 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
-
-