Uses of Class
com.prineside.tdi2.scene2d.utils.DragAndDrop.Source
Packages that use DragAndDrop.Source
-
Uses of DragAndDrop.Source in com.prineside.tdi2.scene2d.utils
Methods in com.prineside.tdi2.scene2d.utils that return DragAndDrop.SourceModifier and TypeMethodDescriptionDragAndDrop.getDragSource()Returns the current drag source, or null.Methods in com.prineside.tdi2.scene2d.utils with parameters of type DragAndDrop.SourceModifier and TypeMethodDescriptionvoidDragAndDrop.addSource(DragAndDrop.Source source) voidDragAndDrop.cancelTouchFocusExcept(DragAndDrop.Source except) Cancels the touch focus for everything except the specified source.abstract booleanDragAndDrop.Target.drag(DragAndDrop.Source source, DragAndDrop.Payload payload, float x, float y, int pointer) Called when the payload is dragged over the target.abstract voidDragAndDrop.Target.drop(DragAndDrop.Source source, DragAndDrop.Payload payload, float x, float y, int pointer) Called when the payload is dropped on the target.voidDragAndDrop.removeSource(DragAndDrop.Source source) voidDragAndDrop.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.