private class ToolbarPreferences.Settings.ActionTransferable extends Object implements Transferable
| Modifier and Type | Field and Description |
|---|---|
private List<ToolbarPreferences.ActionDefinition> |
actions |
private DataFlavor[] |
flavors |
| Constructor and Description |
|---|
ActionTransferable(List<ToolbarPreferences.ActionDefinition> actions) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getTransferData(DataFlavor flavor) |
DataFlavor[] |
getTransferDataFlavors() |
boolean |
isDataFlavorSupported(DataFlavor flavor) |
private DataFlavor[] flavors
private final List<ToolbarPreferences.ActionDefinition> actions
public ActionTransferable(List<ToolbarPreferences.ActionDefinition> actions)
public Object getTransferData(DataFlavor flavor) throws UnsupportedFlavorException, IOException
getTransferData in interface TransferableUnsupportedFlavorExceptionIOExceptionpublic DataFlavor[] getTransferDataFlavors()
getTransferDataFlavors in interface Transferablepublic boolean isDataFlavorSupported(DataFlavor flavor)
isDataFlavorSupported in interface Transferable