Class TradeRouteInputPanel.StopRenderer

  • All Implemented Interfaces:
    javax.swing.ListCellRenderer<TradeRouteStop>
    Enclosing class:
    TradeRouteInputPanel

    private class TradeRouteInputPanel.StopRenderer
    extends java.lang.Object
    implements javax.swing.ListCellRenderer<TradeRouteStop>
    • Field Detail

      • SELECTED_COMPONENT

        private final javax.swing.JPanel SELECTED_COMPONENT
      • NORMAL_COMPONENT

        private final javax.swing.JPanel NORMAL_COMPONENT
    • Constructor Detail

      • StopRenderer

        public StopRenderer()
    • Method Detail

      • getListCellRendererComponent

        public java.awt.Component getListCellRendererComponent​(javax.swing.JList<? extends TradeRouteStop> list,
                                                               TradeRouteStop value,
                                                               int index,
                                                               boolean isSelected,
                                                               boolean hasFocus)
        Specified by:
        getListCellRendererComponent in interface javax.swing.ListCellRenderer<TradeRouteStop>