Class StartUpCheckBoxes

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

public class StartUpCheckBoxes extends JPanel implements ActionListener
CLASS TO DEFINE CHECK BOXES FOR GUI extends JPanel from javax.swing (for GUI construction) implements ActionListener from java.awt.event (for data entry)
See Also:
  • Constructor Details

    • StartUpCheckBoxes

      public StartUpCheckBoxes(Map<String,Integer> options)
      CONSTRUCTOR TO INITIATE RADIO BUTTONS
      Parameters:
      options -
  • Method Details

    • actionPerformed

      public void actionPerformed(ActionEvent e)
      Listens to the radio buttons
      Specified by:
      actionPerformed in interface ActionListener
    • getChoices

      public boolean[] getChoices()
      Return the chosen option
      Returns: