Package net.sf.freecol.client.gui.panel
Class TradeRouteInputPanel.StopListTransferable
- java.lang.Object
-
- net.sf.freecol.client.gui.panel.TradeRouteInputPanel.StopListTransferable
-
- All Implemented Interfaces:
java.awt.datatransfer.Transferable
- Enclosing class:
- TradeRouteInputPanel
private static class TradeRouteInputPanel.StopListTransferable extends java.lang.Object implements java.awt.datatransfer.Transferable
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<TradeRouteStop>
stops
-
Constructor Summary
Constructors Constructor Description StopListTransferable(java.util.List<TradeRouteStop> stops)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<TradeRouteStop>
getStops()
java.lang.Object
getTransferData(java.awt.datatransfer.DataFlavor flavor)
java.awt.datatransfer.DataFlavor[]
getTransferDataFlavors()
boolean
isDataFlavorSupported(java.awt.datatransfer.DataFlavor flavor)
-
-
-
Field Detail
-
stops
private final java.util.List<TradeRouteStop> stops
-
-
Constructor Detail
-
StopListTransferable
public StopListTransferable(java.util.List<TradeRouteStop> stops)
-
-
Method Detail
-
getStops
public java.util.List<TradeRouteStop> getStops()
-
getTransferData
public java.lang.Object getTransferData(java.awt.datatransfer.DataFlavor flavor)
- Specified by:
getTransferData
in interfacejava.awt.datatransfer.Transferable
-
getTransferDataFlavors
public java.awt.datatransfer.DataFlavor[] getTransferDataFlavors()
- Specified by:
getTransferDataFlavors
in interfacejava.awt.datatransfer.Transferable
-
isDataFlavorSupported
public boolean isDataFlavorSupported(java.awt.datatransfer.DataFlavor flavor)
- Specified by:
isDataFlavorSupported
in interfacejava.awt.datatransfer.Transferable
-
-