| Package | Description |
|---|---|
| com.badlogic.gdx.scenes.scene2d.utils |
| Modifier and Type | Method and Description |
|---|---|
abstract DragAndDrop.Payload |
DragAndDrop.Source.dragStart(InputEvent event,
float x,
float y,
int pointer)
Called when a drag is started on the source.
|
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
DragAndDrop.Target.drag(DragAndDrop.Source source,
DragAndDrop.Payload payload,
float x,
float y,
int pointer)
Called when the payload is dragged over the target.
|
void |
DragAndDrop.Source.dragStop(InputEvent event,
float x,
float y,
int pointer,
DragAndDrop.Payload payload,
DragAndDrop.Target target)
Called when a drag for the source is stopped.
|
abstract void |
DragAndDrop.Target.drop(DragAndDrop.Source source,
DragAndDrop.Payload payload,
float x,
float y,
int pointer)
Called when the payload is dropped on the target.
|
void |
DragAndDrop.Target.reset(DragAndDrop.Source source,
DragAndDrop.Payload payload)
Called when the payload is no longer over the target, whether because the touch was moved or a drop occurred.
|