com.vaadin.ui.
Enum Dependency.Type
- java.lang.Object
-
- java.lang.Enum<Dependency.Type>
-
- com.vaadin.ui.Dependency.Type
-
All Implemented Interfaces:
Enclosing class:
public static enum Dependency.Type extends Enum<Dependency.Type>
The type of dependency.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HTMLIMPORT
JAVASCRIPT
STYLESHEET
-
Method Summary
All Methods Modifier and Type Method Description static Dependency.Type
valueOf​(String name)
Returns the enum constant of this type with the specified name.
static Dependency.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STYLESHEET
public static final Dependency.Type STYLESHEET
-
JAVASCRIPT
public static final Dependency.Type JAVASCRIPT
-
HTMLIMPORT
public static final Dependency.Type HTMLIMPORT
-
-
Method Detail
-
values
public static Dependency.Type[] 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 (Dependency.Type c : Dependency.Type.values()) System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Dependency.Type 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
-
-