Class 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
    • Constructor Detail

      • StopListTransferable

        public StopListTransferable​(java.util.List<TradeRouteStop> stops)
    • Method Detail

      • getTransferData

        public java.lang.Object getTransferData​(java.awt.datatransfer.DataFlavor flavor)
        Specified by:
        getTransferData in interface java.awt.datatransfer.Transferable
      • getTransferDataFlavors

        public java.awt.datatransfer.DataFlavor[] getTransferDataFlavors()
        Specified by:
        getTransferDataFlavors in interface java.awt.datatransfer.Transferable
      • isDataFlavorSupported

        public boolean isDataFlavorSupported​(java.awt.datatransfer.DataFlavor flavor)
        Specified by:
        isDataFlavorSupported in interface java.awt.datatransfer.Transferable