类 Checkbox

所有已实现的接口:
GuiEventListener, Renderable, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier, IAbstractWidgetExtension

public class Checkbox extends AbstractButton
  • 字段详细资料

    • TEXTURE

      private static final ResourceLocation TEXTURE
    • TEXT_COLOR

      private static final int TEXT_COLOR
      另请参阅:
    • selected

      private boolean selected
    • showLabel

      private final boolean showLabel
  • 构造器详细资料

    • Checkbox

      public Checkbox(int pX, int pY, int pWidth, int pHeight, Component pMessage, boolean pSelected)
    • Checkbox

      public Checkbox(int pX, int pY, int pWidth, int pHeight, Component pMessage, boolean pSelected, boolean pShowLabel)
  • 方法详细资料