Class ControlPanelEditor.PositionableListDnD
- java.lang.Object
-
- jmri.jmrit.display.controlPanelEditor.ControlPanelEditor.PositionableListDnD
-
- All Implemented Interfaces:
java.awt.datatransfer.Transferable
- Enclosing class:
- ControlPanelEditor
protected static class ControlPanelEditor.PositionableListDnD extends java.lang.Object implements java.awt.datatransfer.Transferable
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.awt.datatransfer.DataFlavor
_dataFlavor
(package private) java.util.List<Positionable>
_sourceEditor
-
Constructor Summary
Constructors Constructor Description PositionableListDnD(java.util.List<Positionable> source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getTransferData(java.awt.datatransfer.DataFlavor flavor)
java.awt.datatransfer.DataFlavor[]
getTransferDataFlavors()
boolean
isDataFlavorSupported(java.awt.datatransfer.DataFlavor flavor)
-
-
-
Field Detail
-
_sourceEditor
java.util.List<Positionable> _sourceEditor
-
_dataFlavor
java.awt.datatransfer.DataFlavor _dataFlavor
-
-
Constructor Detail
-
PositionableListDnD
PositionableListDnD(java.util.List<Positionable> source)
-
-
Method Detail
-
getTransferData
@Nonnull public java.lang.Object getTransferData(java.awt.datatransfer.DataFlavor flavor) throws java.awt.datatransfer.UnsupportedFlavorException, java.io.IOException
- Specified by:
getTransferData
in interfacejava.awt.datatransfer.Transferable
- Throws:
java.awt.datatransfer.UnsupportedFlavorException
java.io.IOException
-
getTransferDataFlavors
public java.awt.datatransfer.DataFlavor[] getTransferDataFlavors()
- Specified by:
getTransferDataFlavors
in interfacejava.awt.datatransfer.Transferable
-
isDataFlavorSupported
public boolean isDataFlavorSupported(java.awt.datatransfer.DataFlavor flavor)
- Specified by:
isDataFlavorSupported
in interfacejava.awt.datatransfer.Transferable
-
-