Class BarGraph


  • public class BarGraph
    extends Object
    • Constructor Detail

      • BarGraph

        public BarGraph​(String label,
                        boolean checked,
                        Color backColor)
        Parameters:
        label - The label of this component
        checked - Flag whether the corresponding checkbox should be checked
        backColor - The color of the background
    • Method Detail

      • getLabel

        public String getLabel()
        Returns:
        the label
      • setLabel

        public void setLabel​(String label)
        Parameters:
        label - the label to set
      • getChkBox

        public JCheckBox getChkBox()
        Returns:
        the chkBox
      • setChkBox

        public void setChkBox​(JCheckBox chkBox)
        Parameters:
        chkBox - the chkBox to set
      • getBackColor

        public Color getBackColor()
        Returns:
        the backColor
      • setBackColor

        public void setBackColor​(Color backColor)
        Parameters:
        backColor - the backColor to set