Package | Description |
---|---|
org.scijava.ui.awt | |
org.scijava.ui.dnd | |
org.scijava.ui.dnd.event |
Modifier and Type | Class and Description |
---|---|
class |
AWTDragAndDropData
AWT implementation of
DragAndDropData . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractDragAndDropData
Abstract superclass for
DragAndDropData implementations. |
class |
DefaultDragAndDropData
Default implementation of
DragAndDropData , which provides a
UI-agnostic way to bundle an object together with its MIME type. |
Modifier and Type | Method and Description |
---|---|
D |
DragAndDropHandler.convertData(DragAndDropData data)
Converts the given
DragAndDropData to the type of data object
supported by this handler. |
D |
AbstractDragAndDropHandler.convertData(DragAndDropData data) |
protected D |
AbstractDragAndDropHandler.convertDataUnchecked(DragAndDropData data)
Converts the given data to this handler's native data type, without
verifying compatibility first.
|
default boolean |
DragAndDropService.drop(DragAndDropData data,
Display<?> display)
Performs a drag-and-drop operation in the given display with the specified
DragAndDropData , using the first available compatible handler. |
boolean |
DragAndDropHandler.dropData(DragAndDropData data,
Display<?> display)
Performs a drop operation with the given data in the specified
Display . |
boolean |
AbstractDragAndDropHandler.dropData(DragAndDropData data,
Display<?> display) |
default DragAndDropHandler<?> |
DragAndDropService.getHandler(DragAndDropData data,
Display<?> display)
Gets the drag-and-drop handler which will be used to handle the given
DragAndDropData dragged onto the specified display. |
default boolean |
DragAndDropService.supports(DragAndDropData data,
Display<?> display)
Checks whether the given
DragAndDropData can be dropped onto the
specified display. |
boolean |
DragAndDropHandler.supportsData(DragAndDropData data)
Gets whether this handler supports dropping the given
DragAndDropData onto a compatible display. |
boolean |
AbstractDragAndDropHandler.supportsData(DragAndDropData data) |
boolean |
DragAndDropHandler.supportsData(DragAndDropData data,
Display<?> display)
Gets whether this handler supports dropping the given
DragAndDropData onto the specified display. |
boolean |
AbstractDragAndDropHandler.supportsData(DragAndDropData data,
Display<?> display) |
Modifier and Type | Method and Description |
---|---|
DragAndDropData |
DragAndDropEvent.getData()
Gets the drag-and-drop data.
|
Constructor and Description |
---|
DragAndDropEvent(Display<?> display,
DragAndDropData data) |
DragAndDropEvent(Display<?> display,
InputModifiers modifiers,
int x,
int y,
DragAndDropData data) |
DragEnterEvent(Display<?> display,
InputModifiers modifiers,
int x,
int y,
DragAndDropData data) |
DragOverEvent(Display<?> display,
InputModifiers modifiers,
int x,
int y,
DragAndDropData data) |
DropEvent(Display<?> display,
InputModifiers modifiers,
int x,
int y,
DragAndDropData data) |
Copyright © 2015–2022 SciJava. All rights reserved.