public interface Draggable
DragContext
provided in the drag(DragContext)
method includes information on the screen coordinates and the state of the
WorldWindow
.Modifier and Type | Method and Description |
---|---|
void |
drag(DragContext dragContext)
Drag the object given the provided
DragContext . |
boolean |
isDragEnabled()
Indicates whether the object is enabled for dragging.
|
void |
setDragEnabled(boolean enabled)
Controls whether the object is enabled for dragging.
|
void drag(DragContext dragContext)
DragContext
.dragContext
- the DragContext
of this dragging event.boolean isDragEnabled()
void setDragEnabled(boolean enabled)
enabled
- true
if the object is enabled, else false
.