Package com.prineside.tdi2.scene2d.utils
Class DragAndDrop.Payload
java.lang.Object
com.prineside.tdi2.scene2d.utils.DragAndDrop.Payload
- Enclosing class:
- DragAndDrop
The 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 -
Method Summary
Modifier and TypeMethodDescriptionvoid
setDragActor
(Actor dragActor) void
setInvalidDragActor
(Actor invalidDragActor) void
void
setValidDragActor
(Actor validDragActor)
-
Constructor Details
-
Payload
public Payload()
-
-
Method Details
-
setDragActor
-
getDragActor
-
setValidDragActor
-
getValidDragActor
-
setInvalidDragActor
-
getInvalidDragActor
-
getObject
-
setObject
-