com.vaadin.client.widgets.
Enum Grid.Editor.State
- java.lang.Object
-
- java.lang.Enum<Grid.Editor.State>
-
- com.vaadin.client.widgets.Grid.Editor.State
-
All Implemented Interfaces:
Enclosing class:
protected static enum Grid.Editor.State extends Enum<Grid.Editor.State>
The internal state options for the editor.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVATING
Editor is getting activated.
ACTIVE
Editor is open and enabled and in edit mode.
BINDING
Editor binding is being set up.
INACTIVE
Editor is closed or disabled and as such not in edit mode.
SAVING
Editor is saving changes.
-
Method Summary
All Methods Modifier and Type Method Description static Grid.Editor.State
valueOf​(String name)
Returns the enum constant of this type with the specified name.
static Grid.Editor.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INACTIVE
public static final Grid.Editor.State INACTIVE
Editor is closed or disabled and as such not in edit mode.
-
ACTIVATING
public static final Grid.Editor.State ACTIVATING
Editor is getting activated. If activation is successful, next state will be
BINDING
.
-
BINDING
public static final Grid.Editor.State BINDING
Editor binding is being set up. If binding is successful, next state will be
ACTIVE
.
-
ACTIVE
public static final Grid.Editor.State ACTIVE
Editor is open and enabled and in edit mode.
-
SAVING
public static final Grid.Editor.State SAVING
Editor is saving changes. If saving is successful, state will be updated to
INACTIVE
.
-
-
Method Detail
-
values
public static Grid.Editor.State[] 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 (Grid.Editor.State c : Grid.Editor.State.values()) System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Grid.Editor.State 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
-
-