Class FunctionTableRowTransferHandler
java.lang.Object
javax.swing.TransferHandler
jmri.jmrit.roster.swing.functiontable.FunctionTableRowTransferHandler
- All Implemented Interfaces:
Serializable
A TransferHandler that handl drag'n drop over the FunctionTable.
It can handle rows drag'n drop but also drag'n drop into the EditableResizableImagePanel in some of the table cells.
It is used in the FunctionLabelPane.
This file is part of JMRI.
This file is part of JMRI.
JMRI is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation. See the "COPYING" file for a copy of this license.
JMRI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
- See Also:
-
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 -
Method Summary
Modifier and TypeMethodDescriptionbooleancanImport(TransferHandler.TransferSupport support) protected TransferableintbooleanMethods inherited from class javax.swing.TransferHandler
canImport, exportAsDrag, exportDone, exportToClipboard, getCopyAction, getCutAction, getDragImage, getDragImageOffset, getPasteAction, getVisualRepresentation, importData, setDragImage, setDragImageOffset
-
Constructor Details
-
FunctionTableRowTransferHandler
-
-
Method Details
-
createTransferable
- Overrides:
createTransferablein classTransferHandler
-
canImport
- Overrides:
canImportin classTransferHandler
-
getSourceActions
- Overrides:
getSourceActionsin classTransferHandler
-
importData
- Overrides:
importDatain classTransferHandler
-