public class CheckButton
extends net.minecraftforge.fml.client.config.GuiCheckBox
Modifier and Type | Field and Description |
---|---|
protected int |
backgroundSize |
protected java.util.List<net.minecraft.client.gui.GuiButton> |
incompatible |
protected GuiBase |
parent |
Constructor and Description |
---|
CheckButton(GuiBase parent,
int id,
int xPos,
int yPos,
java.lang.String displayString,
boolean isChecked) |
Modifier and Type | Method and Description |
---|---|
void |
drawButton(net.minecraft.client.Minecraft mc,
int mouseX,
int mouseY)
Draws this button to the screen.
|
int |
getBackgroundSize() |
java.util.List<net.minecraft.client.gui.GuiButton> |
getIncompatible() |
boolean |
mousePressed(net.minecraft.client.Minecraft mc,
int mouseX,
int mouseY) |
void |
setBackgroundSize(int backgroundSize) |
void |
setIncompatible(java.util.List<net.minecraft.client.gui.GuiButton> incompatible) |
void |
setIsChecked(boolean isChecked) |
drawButtonForegroundLayer, getButtonWidth, getHoverState, isMouseOver, mouseDragged, mouseReleased, playPressSound, setWidth
protected GuiBase parent
protected java.util.List<net.minecraft.client.gui.GuiButton> incompatible
protected int backgroundSize
public CheckButton(GuiBase parent, int id, int xPos, int yPos, java.lang.String displayString, boolean isChecked)
public int getBackgroundSize()
public void setBackgroundSize(int backgroundSize)
public java.util.List<net.minecraft.client.gui.GuiButton> getIncompatible()
public void setIncompatible(java.util.List<net.minecraft.client.gui.GuiButton> incompatible)
public void drawButton(net.minecraft.client.Minecraft mc, int mouseX, int mouseY)
public boolean mousePressed(net.minecraft.client.Minecraft mc, int mouseX, int mouseY)
mousePressed
in class net.minecraftforge.fml.client.config.GuiCheckBox
public void setIsChecked(boolean isChecked)
setIsChecked
in class net.minecraftforge.fml.client.config.GuiCheckBox