Class GHtmlCheckBox

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

public class GHtmlCheckBox extends JCheckBox implements GComponent
A JCheckBox that allows HTML rendering.

See also:

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

    • GHtmlCheckBox

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

      See JCheckBox()

    • GHtmlCheckBox

      public GHtmlCheckBox(Icon icon)
      Creates a check box with an icon, with HTML rendering allowed.

      See JCheckBox(Icon)

      Parameters:
      icon - image to display
    • GHtmlCheckBox

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

      See JCheckBox(Icon, boolean)

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

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

      See JCheckBox(String)

      Parameters:
      text - text of the check box
    • GHtmlCheckBox

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

      See JCheckBox(Action)

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

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

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

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