Class BaseCheckBox

    • Constructor Detail

      • BaseCheckBox

        public BaseCheckBox()
        Creates an initially unselected check box button with no text, no icon.
      • BaseCheckBox

        public BaseCheckBox​(Icon icon)
        Creates an initially unselected check box with an icon.
        Parameters:
        icon - the Icon image to display
      • BaseCheckBox

        public BaseCheckBox​(Icon icon,
                            boolean selected)
        Creates a check box with an icon and specifies whether or not it is initially selected.
        Parameters:
        icon - the Icon image to display
        selected - a boolean value indicating the initial selection state. If true the check box is selected
      • BaseCheckBox

        public BaseCheckBox​(String text)
        Creates an initially unselected check box with text.
        Parameters:
        text - the text of the check box.
      • BaseCheckBox

        public BaseCheckBox​(Action a)
        Creates a check box where properties are taken from the Action supplied.
        Parameters:
        a - the Action used to specify the new check box
        Since:
        1.3
      • BaseCheckBox

        public BaseCheckBox​(String text,
                            boolean selected)
        Creates a check box with text and specifies whether or not it is initially selected.
        Parameters:
        text - the text of the check box.
        selected - a boolean value indicating the initial selection state. If true the check box is selected
      • BaseCheckBox

        public BaseCheckBox​(String text,
                            Icon icon)
        Creates an initially unselected check box with the specified text and icon.
        Parameters:
        text - the text of the check box.
        icon - the Icon image to display
      • BaseCheckBox

        public BaseCheckBox​(String text,
                            Icon icon,
                            boolean selected)
        Creates a check box with text and icon, and specifies whether or not it is initially selected.
        Parameters:
        text - the text of the check box.
        icon - the Icon image to display
        selected - a boolean value indicating the initial selection state. If true the check box is selected
    • Method Detail

      • initCheckBox

        protected void initCheckBox()
        Initializes members.