Class ToolbarPreferences.Settings.ActionTransferable
- java.lang.Object
-
- org.openstreetmap.josm.gui.preferences.ToolbarPreferences.Settings.ActionTransferable
-
- All Implemented Interfaces:
Transferable
- Enclosing class:
- ToolbarPreferences.Settings
private class ToolbarPreferences.Settings.ActionTransferable extends Object implements Transferable
-
-
Field Summary
Fields Modifier and Type Field Description private List<ToolbarPreferences.ActionDefinition>
actions
private DataFlavor[]
flavors
-
Constructor Summary
Constructors Constructor Description ActionTransferable(List<ToolbarPreferences.ActionDefinition> actions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getTransferData(DataFlavor flavor)
DataFlavor[]
getTransferDataFlavors()
boolean
isDataFlavorSupported(DataFlavor flavor)
-
-
-
Field Detail
-
flavors
private final DataFlavor[] flavors
-
actions
private final List<ToolbarPreferences.ActionDefinition> actions
-
-
Constructor Detail
-
ActionTransferable
ActionTransferable(List<ToolbarPreferences.ActionDefinition> actions)
-
-
Method Detail
-
getTransferData
public Object getTransferData(DataFlavor flavor) throws UnsupportedFlavorException, IOException
- Specified by:
getTransferData
in interfaceTransferable
- Throws:
UnsupportedFlavorException
IOException
-
getTransferDataFlavors
public DataFlavor[] getTransferDataFlavors()
- Specified by:
getTransferDataFlavors
in interfaceTransferable
-
isDataFlavorSupported
public boolean isDataFlavorSupported(DataFlavor flavor)
- Specified by:
isDataFlavorSupported
in interfaceTransferable
-
-