public static class SourceGroupTree.SourceGroupTreeTransferHandler extends TransferHandler
TransferHandler
for transferring sources into a group of a SourceGroupTree
via cut/copy/paste and drag and drop.TransferHandler.DropLocation, TransferHandler.TransferSupport
COPY, COPY_OR_MOVE, LINK, MOVE, NONE
Constructor and Description |
---|
SourceGroupTreeTransferHandler(SourceGroupTree tree,
ViewerState state) |
Modifier and Type | Method and Description |
---|---|
boolean |
canImport(TransferHandler.TransferSupport support) |
boolean |
importData(TransferHandler.TransferSupport support) |
canImport, createTransferable, exportAsDrag, exportDone, exportToClipboard, getCopyAction, getCutAction, getDragImage, getDragImageOffset, getPasteAction, getSourceActions, getVisualRepresentation, importData, setDragImage, setDragImageOffset
public SourceGroupTreeTransferHandler(SourceGroupTree tree, ViewerState state)
public boolean canImport(TransferHandler.TransferSupport support)
canImport
in class TransferHandler
public boolean importData(TransferHandler.TransferSupport support)
importData
in class TransferHandler
Copyright © 2015–2021 Fiji. All rights reserved.