public abstract class AbstractDragAndDropData extends AbstractContextual implements DragAndDropData
DragAndDropData implementations.| Constructor and Description |
|---|
AbstractDragAndDropData() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getData(Class<T> type)
Gets the data as an object of the given Java class.
|
MIMEType |
getMIMEType(Class<?> type)
Gets the best supported MIME type matching the given Java class.
|
boolean |
isSupported(Class<?> type)
Gets whether the data can be provided as an object of the given Java class.
|
context, getContext, setContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetData, getMIMETypes, isSupportedpublic boolean isSupported(Class<?> type)
DragAndDropDataisSupported in interface DragAndDropDatapublic <T> T getData(Class<T> type)
DragAndDropDatagetData in interface DragAndDropDatapublic MIMEType getMIMEType(Class<?> type)
DragAndDropDatagetMIMEType in interface DragAndDropDataCopyright © 2009–2016 SciJava. All rights reserved.