Class DragAndDrop.Payload
- java.lang.Object
-
- com.badlogic.gdx.scenes.scene2d.utils.DragAndDrop.Payload
-
- Enclosing class:
- DragAndDrop
public static class DragAndDrop.Payload extends java.lang.ObjectThe payload of a drag and drop operation. Actors can be optionally provided to follow the cursor and change when over a target. Such actors will be added the stage automatically during the drag operation as necessary and they will only be removed from the stage if they were added automatically. A source actor can be used as a payload drag actor.
-
-
Constructor Summary
Constructors Constructor Description Payload()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActorgetDragActor()ActorgetInvalidDragActor()java.lang.ObjectgetObject()ActorgetValidDragActor()voidsetDragActor(Actor dragActor)voidsetInvalidDragActor(Actor invalidDragActor)voidsetObject(java.lang.Object object)voidsetValidDragActor(Actor validDragActor)
-