Package com.vaadin.shared.ui.dd
Enum DragEventType
- java.lang.Object
-
- java.lang.Enum<DragEventType>
-
- com.vaadin.shared.ui.dd.DragEventType
-
- All Implemented Interfaces:
Serializable,Comparable<DragEventType>
public enum DragEventType extends Enum<DragEventType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DragEventTypevalueOf(String name)Returns the enum constant of this type with the specified name.static DragEventType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ENTER
public static final DragEventType ENTER
-
LEAVE
public static final DragEventType LEAVE
-
OVER
public static final DragEventType OVER
-
DROP
public static final DragEventType DROP
-
-
Method Detail
-
values
public static DragEventType[] 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 (DragEventType c : DragEventType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DragEventType 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
-
-