public class ScriptFileDragAndDropHandler extends AbstractDragAndDropHandler<File>
| Constructor and Description |
|---|
ScriptFileDragAndDropHandler() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
drop(File file,
Display<?> display)
Performs a drop operation with the given data object in the specified
Display. |
Class<File> |
getType()
Gets the type associated with the object.
|
boolean |
supports(File file)
Gets whether this handler supports dropping the given data object onto a
compatible display.
|
check, convertData, convertDataUnchecked, convertObject, convertObjectUnchecked, dropData, dropObject, supports, supportsData, supportsData, supportsDisplay, supportsObject, supportsObjectgetInfo, getPriority, setInfo, setPriority, toStringcontext, getContext, setContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetIdentifier, logcontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationgetVersionpublic boolean drop(File file, Display<?> display)
DragAndDropHandlerDisplay.public boolean supports(File file)
DragAndDropHandlerCopyright © 2009–2016 SciJava. All rights reserved.