Class GlobalRosterEntryComboBox

All Implemented Interfaces:
ActionListener, ImageObserver, ItemSelectable, MenuContainer, Serializable, EventListener, Accessible, ListDataListener, RosterEntrySelector
Direct Known Subclasses:
EcosLocoTableAction.RosterBoxRenderer

A RosterEntryComboBox that lists all roster entries in the Roster without respect to a roster group.
See Also:
  • Constructor Details

    • GlobalRosterEntryComboBox

      Create a combo box with all roster entries in the default Roster.
    • GlobalRosterEntryComboBox

      Create a combo box with all roster entries in an arbitrary Roster.
      Parameters:
      roster - roster to use.
    • GlobalRosterEntryComboBox

      public GlobalRosterEntryComboBox(String roadName, String roadNumber, String dccAddress, String mfg, String decoderMfgID, String decoderVersionID, String id)
      Create a combo box with roster entries in the default Roster matching the specified attributes.
      Parameters:
      roadName - road name.
      roadNumber - road number.
      dccAddress - dcc address.
      mfg - manufacturer.
      decoderMfgID - decoder manufacturer.
      decoderVersionID - decoder version id.
      id - roster id. *
    • GlobalRosterEntryComboBox

      public GlobalRosterEntryComboBox(Roster roster, String roadName, String roadNumber, String dccAddress, String mfg, String decoderMfgID, String decoderVersionID, String id)
      Create a combo box with roster entries in an arbitrary Roster matching the specified attributes.
      Parameters:
      roster - roster to use.
      roadName - road name.
      roadNumber - road number.
      dccAddress - dcc address.
      mfg - manufacturer.
      decoderMfgID - decoder manufacturer.
      decoderVersionID - decoder version id.
      id - roster id.
  • Method Details

    • update

      public void update()
      Description copied from class: RosterEntryComboBox
      Update the combo box with the currently selected roster group, using the same roster entry attributes specified in a prior call to update or when creating the combo box.
      Overrides:
      update in class RosterEntryComboBox
    • update

      public void update(String roadName, String roadNumber, String dccAddress, String mfg, String decoderMfgID, String decoderVersionID, String id)
      Description copied from class: RosterEntryComboBox
      Update the combo box with the currently selected roster group, using new roster entry attributes.
      Overrides:
      update in class RosterEntryComboBox
      Parameters:
      roadName - road name.
      roadNumber - road number.
      dccAddress - dcc address.
      mfg - manufacturer.
      decoderMfgID - decoder manufacturer.
      decoderVersionID - decoder version id.
      id - roster id.