public static enum DragAndDropWrapper.DragStartMode extends Enum<DragAndDropWrapper.DragStartMode>
Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
static DragAndDropWrapper.DragStartMode |
valueOf(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.
|
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.public static DragAndDropWrapper.DragStartMode[] values()
for (DragAndDropWrapper.DragStartMode c : DragAndDropWrapper.DragStartMode.values()) System.out.println(c);
public static DragAndDropWrapper.DragStartMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2020 Magnolia International Ltd.. All rights reserved.