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, setContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getData, getMIMETypes, isSupported
public boolean isSupported(Class<?> type)
DragAndDropData
isSupported
in interface DragAndDropData
public <T> T getData(Class<T> type)
DragAndDropData
getData
in interface DragAndDropData
public MIMEType getMIMEType(Class<?> type)
DragAndDropData
getMIMEType
in interface DragAndDropData
Copyright © 2009–2015 SciJava. All rights reserved.