Package org.opt4j.config.visualization
Class ModuleTransferable
- java.lang.Object
-
- org.opt4j.config.visualization.ModuleTransferable
-
- All Implemented Interfaces:
Transferable
public class ModuleTransferable extends Object implements Transferable
-
-
Field Summary
Fields Modifier and Type Field Description static DataFlavor
localModuleFlavor
protected PropertyModule
module
-
Constructor Summary
Constructors Constructor Description ModuleTransferable(PropertyModule module)
Constructs aModuleTransferable
.
-
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
-
module
protected PropertyModule module
-
localModuleFlavor
public static DataFlavor localModuleFlavor
-
-
Constructor Detail
-
ModuleTransferable
public ModuleTransferable(PropertyModule module)
Constructs aModuleTransferable
.- Parameters:
module
- the property module
-
-
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
-
-