com.pax.dal.entity
Enum ENavigationKey
- java.lang.Object
-
- java.lang.Enum<ENavigationKey>
-
- com.pax.dal.entity.ENavigationKey
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ENavigationKey>
public enum ENavigationKey extends java.lang.Enum<ENavigationKey>
导航栏键值定义Navigation key
-
-
Enum Constant Summary
Enum Constants Enum Constant and Description BACK返回键key for backHOMEHOME键key for homeRECENT最近任务键key for recent
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static ENavigationKeyvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ENavigationKey[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BACK
public static final ENavigationKey BACK
返回键key for back
-
HOME
public static final ENavigationKey HOME
HOME键key for home
-
RECENT
public static final ENavigationKey RECENT
最近任务键key for recent
-
-
Method Detail
-
values
public static ENavigationKey[] 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 (ENavigationKey c : ENavigationKey.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ENavigationKey valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-