com.vaadin.open.
Enum App
- java.lang.Object
-
- java.lang.Enum<App>
-
- com.vaadin.open.App
-
-
Enum Constant Summary
Enum Constants Enum Constant and Description BRAVE
CHROME
EDGE
FIREFOX
OPERA
SAFARI
-
Method Summary
All Methods Modifier and Type Method and Description static App
valueOf(String name)
Returns the enum constant of this type with the specified name.
static App[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CHROME
public static final App CHROME
-
FIREFOX
public static final App FIREFOX
-
EDGE
public static final App EDGE
-
SAFARI
public static final App SAFARI
-
BRAVE
public static final App BRAVE
-
OPERA
public static final App OPERA
-
-
Method Detail
-
values
public static App[] 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 (App c : App.values()) System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static App 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
-
-