Package jmri.jmrit.throttle.list
Class ThrottlesTableTransferHandler
java.lang.Object
javax.swing.TransferHandler
jmri.jmrit.throttle.list.ThrottlesTableTransferHandler
- All Implemented Interfaces:
Serializable
A class to handle transfers (drag'n drop) within and to the throttle list panel
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 TypeMethodDescriptionbooleanprotected Transferableprotected voidexportDone(JComponent c, Transferable t, int act) intbooleanMethods inherited from class javax.swing.TransferHandler
canImport, exportAsDrag, exportToClipboard, getCopyAction, getCutAction, getDragImage, getDragImageOffset, getPasteAction, getVisualRepresentation, importData, setDragImage, setDragImageOffset
-
Constructor Details
-
ThrottlesTableTransferHandler
-
-
Method Details
-
createTransferable
- Overrides:
createTransferablein classTransferHandler
-
canImport
- Overrides:
canImportin classTransferHandler
-
getSourceActions
- Overrides:
getSourceActionsin classTransferHandler
-
importData
- Overrides:
importDatain classTransferHandler
-
exportDone
- Overrides:
exportDonein classTransferHandler
-