Package org.scijava.ui.dnd.event
Class DropEvent
-
- All Implemented Interfaces:
Contextual
public class DropEvent extends DragAndDropEvent
An event indicating an object was dropped onto a display.- Author:
- Curtis Rueden
-
-
Constructor Summary
Constructors Constructor Description DropEvent(Display<?> display, InputModifiers modifiers, int x, int y, DragAndDropData data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisSuccessful()Gets whether the drop operation was successful.voidsetSuccessful(boolean successful)Sets whether the drop operation was successful.StringtoString()-
Methods inherited from class org.scijava.ui.dnd.event.DragAndDropEvent
getData
-
Methods inherited from class org.scijava.display.event.input.InputEvent
getModifiers, getX, getY
-
Methods inherited from class org.scijava.display.event.DisplayEvent
getDisplay
-
Methods inherited from class org.scijava.event.SciJavaEvent
consume, dumpStack, getCallingThread, getStackTrace, isConsumed, setCallingThread, setConsumed
-
Methods inherited from class org.scijava.AbstractContextual
context, getContext
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.scijava.Contextual
setContext
-
-
-
-
Constructor Detail
-
DropEvent
public DropEvent(Display<?> display, InputModifiers modifiers, int x, int y, DragAndDropData data)
-
-
Method Detail
-
isSuccessful
public boolean isSuccessful()
Gets whether the drop operation was successful.
-
setSuccessful
public void setSuccessful(boolean successful)
Sets whether the drop operation was successful.
-
toString
public String toString()
- Overrides:
toStringin classDragAndDropEvent
-
-