Class ComboBoxYear

All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible

public class ComboBoxYear extends JPanel implements ActionListener
CLASS FOR DEFINING COMBO-BOX FOR START YEAR SELECTION
See Also:
  • Constructor Details

    • ComboBoxYear

      public ComboBoxYear(String title)
      CONSTRUCTOR FOR COMBO-BOX FOR SELECTING A START YEAR VIA GUI
      Parameters:
      title -
  • Method Details

    • actionPerformed

      public void actionPerformed(ActionEvent e)
      Listens to the combo box.
      Specified by:
      actionPerformed in interface ActionListener
    • updateLabel

      protected void updateLabel(String startYearName)
      update displayed label for each selection
    • getYear

      public int getYear()
      Return the selections
      Returns: