public static enum Alert.Type extends Enum<Alert.Type> implements ICssClassNameProvider
Type enum defines all possible alert types.| Modifier and Type | Method and Description |
|---|---|
String |
cssClassName() |
static Alert.Type |
from(String level) |
static Alert.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Alert.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Alert.Type Error
public static final Alert.Type Success
public static final Alert.Type Info
public static final Alert.Type Warning
public static Alert.Type[] values()
for (Alert.Type c : Alert.Type.values()) System.out.println(c);
public static Alert.Type valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic String cssClassName()
cssClassName in interface ICssClassNameProviderpublic static Alert.Type from(String level)
Copyright © 2013 agilecoders.de. All Rights Reserved.