Module org.bigdataviewer.core
Package bdv.ui.sourcegrouptree
Class SourceGroupTree.SourceGroupTreeTransferHandler
- java.lang.Object
-
- javax.swing.TransferHandler
-
- bdv.ui.sourcegrouptree.SourceGroupTree.SourceGroupTreeTransferHandler
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- SourceGroupTree
public static class SourceGroupTree.SourceGroupTreeTransferHandler extends TransferHandler
TransferHandlerfor transferring sources into a group of aSourceGroupTreevia cut/copy/paste and drag and drop.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class javax.swing.TransferHandler
TransferHandler.DropLocation, TransferHandler.TransferSupport
-
-
Field Summary
-
Fields inherited from class javax.swing.TransferHandler
COPY, COPY_OR_MOVE, LINK, MOVE, NONE
-
-
Constructor Summary
Constructors Constructor Description SourceGroupTreeTransferHandler(SourceGroupTree tree, ViewerState state)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanImport(TransferHandler.TransferSupport support)booleanimportData(TransferHandler.TransferSupport support)-
Methods inherited from class javax.swing.TransferHandler
canImport, createTransferable, exportAsDrag, exportDone, exportToClipboard, getCopyAction, getCutAction, getDragImage, getDragImageOffset, getPasteAction, getSourceActions, getVisualRepresentation, importData, setDragImage, setDragImageOffset
-
-
-
-
Constructor Detail
-
SourceGroupTreeTransferHandler
public SourceGroupTreeTransferHandler(SourceGroupTree tree, ViewerState state)
-
-
Method Detail
-
canImport
public boolean canImport(TransferHandler.TransferSupport support)
- Overrides:
canImportin classTransferHandler
-
importData
public boolean importData(TransferHandler.TransferSupport support)
- Overrides:
importDatain classTransferHandler
-
-