Package | Description |
---|---|
com.badlogic.gdx.scenes.scene2d.utils |
Modifier and Type | Method and Description |
---|---|
DragAndDrop.Source |
DragAndDrop.getDragSource()
Returns the current drag source, or null.
|
Modifier and Type | Method and Description |
---|---|
void |
DragAndDrop.addSource(DragAndDrop.Source source) |
void |
DragAndDrop.cancelTouchFocusExcept(DragAndDrop.Source except)
Cancels the touch focus for everything except the specified source.
|
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.
|
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.removeSource(DragAndDrop.Source source) |
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.
|