Package cn.mapway.ui.shared.events
Enum DataEventKind
- java.lang.Object
-
- java.lang.Enum<DataEventKind>
-
- cn.mapway.ui.shared.events.DataEventKind
-
- All Implemented Interfaces:
Serializable,Comparable<DataEventKind>
public enum DataEventKind extends Enum<DataEventKind>
数据事件具体类型
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataEventKindvalueOf(String name)Returns the enum constant of this type with the specified name.static DataEventKind[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PREV
public static final DataEventKind PREV
-
NEXT
public static final DataEventKind NEXT
-
LOADED
public static final DataEventKind LOADED
-
ERROR
public static final DataEventKind ERROR
-
CLOSE
public static final DataEventKind CLOSE
-
OPEN
public static final DataEventKind OPEN
-
-
Method Detail
-
values
public static DataEventKind[] 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 (DataEventKind c : DataEventKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DataEventKind 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
-
-