|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<DragAndDropWrapper.DragStartMode>
com.vaadin.ui.DragAndDropWrapper.DragStartMode
public static enum DragAndDropWrapper.DragStartMode
Enum Constant Summary | |
---|---|
COMPONENT
The component on which the drag started will be shown as drag image. |
|
COMPONENT_OTHER
Uses the component defined in DragAndDropWrapper.setDragImageComponent(Component) as the drag image. |
|
HTML5
The whole wrapper is used to start an HTML5 drag. |
|
NONE
DragAndDropWrapper does not start drag events at all |
|
WRAPPER
The whole wrapper is used as a drag image when dragging. |
Method Summary | |
---|---|
static DragAndDropWrapper.DragStartMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static DragAndDropWrapper.DragStartMode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final DragAndDropWrapper.DragStartMode NONE
DragAndDropWrapper
does not start drag events at all
public static final DragAndDropWrapper.DragStartMode COMPONENT
public static final DragAndDropWrapper.DragStartMode WRAPPER
public static final DragAndDropWrapper.DragStartMode HTML5
public static final DragAndDropWrapper.DragStartMode COMPONENT_OTHER
DragAndDropWrapper.setDragImageComponent(Component)
as the drag image.
Method Detail |
---|
public static DragAndDropWrapper.DragStartMode[] values()
for (DragAndDropWrapper.DragStartMode c : DragAndDropWrapper.DragStartMode.values()) System.out.println(c);
public static DragAndDropWrapper.DragStartMode 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |