Package com.vaadin.client.metadata
Enum AsyncBundleLoader.State
- java.lang.Object
-
- java.lang.Enum<AsyncBundleLoader.State>
-
- com.vaadin.client.metadata.AsyncBundleLoader.State
-
- All Implemented Interfaces:
Serializable
,Comparable<AsyncBundleLoader.State>
- Enclosing class:
- AsyncBundleLoader
public static enum AsyncBundleLoader.State extends Enum<AsyncBundleLoader.State>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ERROR
LOADED
LOADING
NOT_STARTED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AsyncBundleLoader.State
valueOf(String name)
Returns the enum constant of this type with the specified name.static AsyncBundleLoader.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_STARTED
public static final AsyncBundleLoader.State NOT_STARTED
-
LOADING
public static final AsyncBundleLoader.State LOADING
-
LOADED
public static final AsyncBundleLoader.State LOADED
-
ERROR
public static final AsyncBundleLoader.State ERROR
-
-
Method Detail
-
values
public static AsyncBundleLoader.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 (AsyncBundleLoader.State c : AsyncBundleLoader.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 AsyncBundleLoader.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
-
-