Package 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,Identifiable,Locatable,Logged,HandlerPlugin<List<?>>,HasPluginInfo,RichPlugin,SciJavaPlugin,SingletonPlugin,TypedPlugin<List<?>>,Prioritized,Typed<List<?>>,DragAndDropHandler<List<?>>,Versioned
public class ListDragAndDropHandler extends AbstractDragAndDropHandler<List<?>>
Drag-and-drop handler for lists of objects.- Author:
- Curtis Rueden, Barry DeZonia
-
-
Constructor Summary
Constructors Constructor Description ListDragAndDropHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandrop(List<?> list, Display<?> display)Performs a drop operation with the given data object in the specifiedDisplay.Class<List<?>>getType()Gets the type associated with the object.booleansupports(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
-
Methods inherited from class org.scijava.plugin.AbstractTypedPlugin
supports
-
Methods inherited from class org.scijava.plugin.AbstractRichPlugin
getInfo, getPriority, setInfo, setPriority, toString
-
Methods inherited from class org.scijava.AbstractContextual
context, getContext
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.scijava.Contextual
context, getContext, setContext
-
Methods inherited from interface org.scijava.ui.dnd.DragAndDropHandler
supports
-
Methods inherited from interface org.scijava.plugin.HasPluginInfo
getInfo, setInfo
-
Methods inherited from interface org.scijava.Locatable
getLocation
-
Methods inherited from interface org.scijava.Prioritized
compareTo, getPriority, setPriority
-
Methods inherited from interface org.scijava.plugin.RichPlugin
getIdentifier, log
-
Methods inherited from interface org.scijava.Versioned
getVersion
-
-
-
-
Method Detail
-
supports
public boolean supports(List<?> list, Display<?> display)
Description copied from interface:DragAndDropHandlerGets whether this handler supports dropping the given data object onto the specified display.- Specified by:
supportsin interfaceDragAndDropHandler<List<?>>- Overrides:
supportsin classAbstractDragAndDropHandler<List<?>>
-
drop
public boolean drop(List<?> list, Display<?> display)
Description copied from interface:DragAndDropHandlerPerforms a drop operation with the given data object in the specifiedDisplay.
-
-