Class GUICheckBox

All Implemented Interfaces:
GUIElement, ImageObserver, MenuContainer, Serializable

public class GUICheckBox extends ActivatableGUIElement
A check box gui element.
See Also:
  • Constructor Details

    • GUICheckBox

      public GUICheckBox(@NotNull @NotNull TooltipManager tooltipManager, @NotNull @NotNull GUIElementListener elementListener, @NotNull @NotNull String name, @NotNull @NotNull BufferedImage checkedImage, @NotNull @NotNull BufferedImage uncheckedImage, @NotNull @NotNull Font font, @NotNull @NotNull Color color, @NotNull @NotNull CheckBoxOption option, @NotNull @NotNull String text, @NotNull @NotNull GuiFactory guiFactory)
      Creates a new instance.
      Parameters:
      tooltipManager - the tooltip manager to update
      elementListener - the element listener to notify
      name - the name of this element
      checkedImage - the image for the checked state
      uncheckedImage - the image for the unchecked state
      font - the font to use
      color - the text color
      option - the option to display
      text - the text to display
      guiFactory - the global GUI factory instance
  • Method Details