public class DragEnterEvent extends DragAndDropEvent
Constructor and Description |
---|
DragEnterEvent(Display<?> display,
InputModifiers modifiers,
int x,
int y,
DragAndDropData data) |
Modifier and Type | Method and Description |
---|---|
boolean |
isAccepted()
Gets whether the drag operation is valid.
|
void |
setAccepted(boolean accepted)
Sets whether the drag operation is valid.
|
String |
toString() |
getData
getModifiers, getX, getY
getDisplay
consume, dumpStack, getCallingThread, getStackTrace, isConsumed, setCallingThread, setConsumed
context, getContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
setContext
public DragEnterEvent(Display<?> display, InputModifiers modifiers, int x, int y, DragAndDropData data)
public boolean isAccepted()
public void setAccepted(boolean accepted)
public String toString()
toString
in class DragAndDropEvent
Copyright © 2015–2022 SciJava. All rights reserved.