se.liu.ida.critiquer.gui
Class AgentSelection
java.lang.Object
se.liu.ida.critiquer.gui.AgentSelection
- All Implemented Interfaces:
- Transferable
public class AgentSelection
- extends Object
- implements Transferable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
agentFlavor
public static DataFlavor agentFlavor
agentParameterFlavor
public static DataFlavor agentParameterFlavor
AgentSelection
public AgentSelection(Agent agent,
AgentParameter param)
getTransferDataFlavors
public DataFlavor[] getTransferDataFlavors()
- Specified by:
getTransferDataFlavors
in interface Transferable
isDataFlavorSupported
public boolean isDataFlavorSupported(DataFlavor flavor)
- Specified by:
isDataFlavorSupported
in interface Transferable
getTransferData
public Object getTransferData(DataFlavor flavor)
throws UnsupportedFlavorException,
IOException
- Specified by:
getTransferData
in interface Transferable
- Throws:
UnsupportedFlavorException
IOException
getPicture
public ImageIcon getPicture()
- Show the image of the agent when dragging
- See Also:
Agent.getPicture()