Example usage for Java android.view DragEvent fields, constructors, methods, implement or subclass
The text is from its open source code.
int | ACTION_DRAG_STARTED Action constant returned by #getAction() : Signals the start of a drag and drop operation. |
int | ACTION_DRAG_LOCATION Action constant returned by #getAction() : Sent to a View after #ACTION_DRAG_ENTERED while the drag shadow is still within the View object's bounding box, but not within a descendant view that can accept the data. |
int | ACTION_DROP Action constant returned by #getAction() : Signals to a View that the user has released the drag shadow, and the drag point is within the bounding box of the View and not within a descendant view that can accept the data. |
int | ACTION_DRAG_ENDED Action constant returned by #getAction() : Signals to a View that the drag and drop operation has concluded. |
int | ACTION_DRAG_ENTERED Action constant returned by #getAction() : Signals to a View that the drag point has entered the bounding box of the View. |
int | ACTION_DRAG_EXITED Action constant returned by #getAction() : Signals that the user has moved the drag shadow out of the bounding box of the View or into a descendant view that can accept the data. |
int | getAction() Inspect the action value of this event. |
ClipData | getClipData() Returns the android.content.ClipData object sent to the system as part of the call to android.view.View#startDragAndDrop(ClipData,View.DragShadowBuilder,Object,int) startDragAndDrop() . |
ClipDescription | getClipDescription() Returns the android.content.ClipDescription object contained in the android.content.ClipData object sent to the system as part of the call to android.view.View#startDragAndDrop(ClipData,View.DragShadowBuilder,Object,int) startDragAndDrop() . |
Object | getLocalState() Returns the local state object sent to the system as part of the call to android.view.View#startDragAndDrop(ClipData,View.DragShadowBuilder,Object,int) startDragAndDrop() . |
boolean | getResult() Returns an indication of the result of the drag and drop operation. |
float | getX() Gets the X coordinate of the drag point. |
float | getY() Gets the Y coordinate of the drag point. |