org.scijava.ui.dnd
Class ListDragAndDropHandler
java.lang.Object
org.scijava.AbstractContextual
org.scijava.plugin.AbstractRichPlugin
org.scijava.plugin.AbstractTypedPlugin<D>
org.scijava.plugin.AbstractHandlerPlugin<D>
org.scijava.ui.dnd.AbstractDragAndDropHandler<List<?>>
org.scijava.ui.dnd.ListDragAndDropHandler
- All Implemented Interfaces:
- Comparable<Prioritized>, Contextual, HandlerPlugin<List<?>>, HasPluginInfo, RichPlugin, SciJavaPlugin, SingletonPlugin, TypedPlugin<List<?>>, Prioritized, Typed<List<?>>, DragAndDropHandler<List<?>>
public class ListDragAndDropHandler
- extends AbstractDragAndDropHandler<List<?>>
Drag-and-drop handler for lists of objects.
- Author:
- Curtis Rueden, Barry DeZonia
Method Summary |
boolean |
drop(List<?> list,
Display<?> display)
Performs a drop operation with the given data object in the specified
Display . |
Class<List<?>> |
getType()
Gets the type associated with the object. |
boolean |
supports(List<?> list,
Display<?> display)
Gets whether this handler supports dropping the given data object onto the
specified display. |
Methods inherited from class org.scijava.ui.dnd.AbstractDragAndDropHandler |
check, convertData, convertDataUnchecked, convertObject, convertObjectUnchecked, dropData, dropObject, supportsData, supportsData, supportsDisplay, supportsObject, supportsObject |
ListDragAndDropHandler
public ListDragAndDropHandler()
supports
public boolean supports(List<?> list,
Display<?> display)
- Description copied from interface:
DragAndDropHandler
- Gets whether this handler supports dropping the given data object onto the
specified display.
- Specified by:
supports
in interface DragAndDropHandler<List<?>>
- Overrides:
supports
in class AbstractDragAndDropHandler<List<?>>
drop
public boolean drop(List<?> list,
Display<?> display)
- Description copied from interface:
DragAndDropHandler
- Performs a drop operation with the given data object in the specified
Display
.
getType
public Class<List<?>> getType()
- Description copied from interface:
Typed
- Gets the type associated with the object.
Copyright © 2009–2015 SciJava. All rights reserved.