public static enum NavigationEntry.PageType extends java.lang.Enum<NavigationEntry.PageType>
NavigationEntry
corresponds to.
Enum Constant and Description |
---|
PAGE_TYPE_ERROR |
PAGE_TYPE_INTERSTITIAL |
PAGE_TYPE_NORMAL |
Modifier and Type | Method and Description |
---|---|
static NavigationEntry.PageType |
valueOf(int value) |
static NavigationEntry.PageType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
返回具有指定名称的此类型的枚举常量。 |
static NavigationEntry.PageType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
以声明顺序返回包含此枚举类型的常量的数组。 |
public static final NavigationEntry.PageType PAGE_TYPE_NORMAL
public static final NavigationEntry.PageType PAGE_TYPE_ERROR
public static final NavigationEntry.PageType PAGE_TYPE_INTERSTITIAL
public static NavigationEntry.PageType[] values()
for (NavigationEntry.PageType c : NavigationEntry.PageType.values()) System.out.println(c);
public static NavigationEntry.PageType 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 name
java.lang.NullPointerException
- if the argument is null
public static NavigationEntry.PageType valueOf(int value)