public static enum Alert.Level extends java.lang.Enum<Alert.Level>
Modifier and Type | Method and Description |
---|---|
boolean |
equalsIgnoreCase(java.lang.String str) |
static Alert.Level |
getFromKey(java.lang.String str) |
static Alert.Level |
getFromValue(int value) |
java.lang.String |
getKey() |
java.lang.String |
getLabel(java.lang.String userLang) |
int |
getValue() |
boolean |
isGreaterThan(Alert.Level level) |
static Alert.Level |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Alert.Level[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Alert.Level INFO
public static final Alert.Level ACTION
public static final Alert.Level WARNING
public static Alert.Level[] values()
for (Alert.Level c : Alert.Level.values()) System.out.println(c);
public static Alert.Level valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getKey()
public int getValue()
public boolean equalsIgnoreCase(java.lang.String str)
public static Alert.Level getFromKey(java.lang.String str)
public static Alert.Level getFromValue(int value)
public boolean isGreaterThan(Alert.Level level)
public java.lang.String getLabel(java.lang.String userLang)
Copyright © 2001-2010 Jalios SA. All Rights Reserved.