Class ToolbarPreferences.Settings.SelectedListTransferHandler
- java.lang.Object
-
- javax.swing.TransferHandler
-
- org.openstreetmap.josm.gui.preferences.ToolbarPreferences.Settings.SelectedListTransferHandler
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- ToolbarPreferences.Settings
private final class ToolbarPreferences.Settings.SelectedListTransferHandler extends javax.swing.TransferHandler
-
-
Constructor Summary
Constructors Modifier Constructor Description private
SelectedListTransferHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canImport(javax.swing.JComponent comp, java.awt.datatransfer.DataFlavor[] transferFlavors)
protected java.awt.datatransfer.Transferable
createTransferable(javax.swing.JComponent c)
void
exportAsDrag(javax.swing.JComponent comp, java.awt.event.InputEvent e, int action)
protected void
exportDone(javax.swing.JComponent source, java.awt.datatransfer.Transferable data, int action)
int
getSourceActions(javax.swing.JComponent c)
boolean
importData(javax.swing.JComponent comp, java.awt.datatransfer.Transferable t)
-
-
-
Constructor Detail
-
SelectedListTransferHandler
private SelectedListTransferHandler()
-
-
Method Detail
-
createTransferable
protected java.awt.datatransfer.Transferable createTransferable(javax.swing.JComponent c)
- Overrides:
createTransferable
in classjavax.swing.TransferHandler
-
getSourceActions
public int getSourceActions(javax.swing.JComponent c)
- Overrides:
getSourceActions
in classjavax.swing.TransferHandler
-
canImport
public boolean canImport(javax.swing.JComponent comp, java.awt.datatransfer.DataFlavor[] transferFlavors)
- Overrides:
canImport
in classjavax.swing.TransferHandler
-
exportAsDrag
public void exportAsDrag(javax.swing.JComponent comp, java.awt.event.InputEvent e, int action)
- Overrides:
exportAsDrag
in classjavax.swing.TransferHandler
-
importData
public boolean importData(javax.swing.JComponent comp, java.awt.datatransfer.Transferable t)
- Overrides:
importData
in classjavax.swing.TransferHandler
-
exportDone
protected void exportDone(javax.swing.JComponent source, java.awt.datatransfer.Transferable data, int action)
- Overrides:
exportDone
in classjavax.swing.TransferHandler
-
-