Package evo.search.view.handler
Class ListTransferHandler<E>
- java.lang.Object
-
- javax.swing.TransferHandler
-
- evo.search.view.handler.ListTransferHandler<E>
-
- All Implemented Interfaces:
Serializable
public class ListTransferHandler<E> extends TransferHandler
- Author:
- jotoh
- 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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canImport(TransferHandler.TransferSupport support)
protected Transferable
createTransferable(JComponent source)
protected void
exportDone(JComponent source, Transferable data, int action)
int
getSourceActions(JComponent c)
boolean
importData(TransferHandler.TransferSupport support)
-
Methods inherited from class javax.swing.TransferHandler
canImport, exportAsDrag, exportToClipboard, getCopyAction, getCutAction, getDragImage, getDragImageOffset, getPasteAction, getVisualRepresentation, importData, setDragImage, setDragImageOffset
-
-
-
-
Method Detail
-
getSourceActions
public int getSourceActions(JComponent c)
- Overrides:
getSourceActions
in classTransferHandler
-
createTransferable
protected Transferable createTransferable(JComponent source)
- Overrides:
createTransferable
in classTransferHandler
-
exportDone
protected void exportDone(JComponent source, Transferable data, int action)
- Overrides:
exportDone
in classTransferHandler
-
canImport
public boolean canImport(TransferHandler.TransferSupport support)
- Overrides:
canImport
in classTransferHandler
-
importData
public boolean importData(TransferHandler.TransferSupport support)
- Overrides:
importData
in classTransferHandler
-
-