public static enum GraphicsBase.DragAndDropFeedback extends Enum<GraphicsBase.DragAndDropFeedback>
GraphicsBase.setDragAndDropFeedback(DragAndDropFeedback)
Enum Constant and Description |
---|
NATIVE
A snapshot image of the activity will be taken and placed below the
mouse cursor.
|
RENDERED
The dragged activity will be constantly rendered on a separate canvas
on top of the graphics area.
|
RENDERED_GRID_SNAPPED
The dragged activity will be constantly rendered on a separate canvas
on top of the graphics area.
|
Modifier and Type | Method and Description |
---|---|
static GraphicsBase.DragAndDropFeedback |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GraphicsBase.DragAndDropFeedback[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GraphicsBase.DragAndDropFeedback NATIVE
GraphicsBase.setDragImageProvider(Callback)
public static final GraphicsBase.DragAndDropFeedback RENDERED
public static final GraphicsBase.DragAndDropFeedback RENDERED_GRID_SNAPPED
VirtualGrid
will be used
to make the dragged activity snap to the grid locations.public static GraphicsBase.DragAndDropFeedback[] values()
for (GraphicsBase.DragAndDropFeedback c : GraphicsBase.DragAndDropFeedback.values()) System.out.println(c);
public static GraphicsBase.DragAndDropFeedback 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 © 2014 Dirk Lemmermann Software & Consulting. All rights reserved.