Class GCheckBox

All Implemented Interfaces:
GComponent, ImageObserver, ItemSelectable, MenuContainer, Serializable, Accessible, SwingConstants

public class GCheckBox extends JCheckBox implements GComponent
A JCheckBox that has HTML rendering disabled.

See also:

ClassHTML renderingDescription
GCheckBoxNOHTML disabled JCheckBox
GHtmlCheckBoxYESHTML allowed JCheckBox
See Also:
  • Constructor Details

    • GCheckBox

      public GCheckBox()
      Creates a check box with no text or icon, with HTML rendering disabled.

      See JCheckBox()

    • GCheckBox

      public GCheckBox(Icon icon)
      Creates a check box with an icon, with HTML rendering disabled.

      See JCheckBox(Icon)

      Parameters:
      icon - image to display
    • GCheckBox

      public GCheckBox(Icon icon, boolean selected)
      Creates a check box with an icon and initial selected state, with HTML rendering disabled.

      See JCheckBox(Icon, boolean)

      Parameters:
      icon - image to display
      selected - initial selection state, true means selected
    • GCheckBox

      public GCheckBox(String text)
      Creates a check box with the specified text, with HTML rendering disabled.

      See JCheckBox(String)

      Parameters:
      text - text of the check box
    • GCheckBox

      public GCheckBox(Action a)
      Creates a check box where properties are taken from the Action supplied, with HTML rendering disabled.

      See JCheckBox(Action)

      Parameters:
      a - Action used to specify the new check box
    • GCheckBox

      public GCheckBox(String text, boolean selected)
      Creates a check box with the specified text and initial selected state, with HTML rendering disabled.
      Parameters:
      text - text of the check box.
      selected - initial selection state, true means selected
    • GCheckBox

      public GCheckBox(String text, Icon icon)
      Creates a check box with the specified text and icon, with HTML rendering disabled.
      Parameters:
      text - text of the check box
      icon - image to display
    • GCheckBox

      public GCheckBox(String text, Icon icon, boolean selected)
      Creates a check box with the specified text and icon and initial selected state, with HTML rendering disabled.
      Parameters:
      text - text of the check box
      icon - image to display
      selected - initial selection state, true means selected
  • Method Details