Class Checkbox

All Implemented Interfaces:
GuiEventListener, Renderable, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier, IAbstractWidgetExtension

public class Checkbox extends AbstractButton
  • Field Details

    • CHECKBOX_SELECTED_HIGHLIGHTED_SPRITE

      private static final ResourceLocation CHECKBOX_SELECTED_HIGHLIGHTED_SPRITE
    • CHECKBOX_SELECTED_SPRITE

      private static final ResourceLocation CHECKBOX_SELECTED_SPRITE
    • CHECKBOX_HIGHLIGHTED_SPRITE

      private static final ResourceLocation CHECKBOX_HIGHLIGHTED_SPRITE
    • CHECKBOX_SPRITE

      private static final ResourceLocation CHECKBOX_SPRITE
    • TEXT_COLOR

      private static final int TEXT_COLOR
      See Also:
    • selected

      private boolean selected
    • showLabel

      private final boolean showLabel
  • Constructor Details

    • Checkbox

      public Checkbox(int p_93826_, int p_93827_, int p_93828_, int p_93829_, Component p_93830_, boolean p_93831_)
    • Checkbox

      public Checkbox(int p_93833_, int p_93834_, int p_93835_, int p_93836_, Component p_93837_, boolean p_93838_, boolean p_93839_)
  • Method Details