Class Button
- java.lang.Object
-
- net.minecraft.client.gui.GuiComponent
-
- net.minecraft.client.gui.components.Button
-
- Direct Known Subclasses:
GuiButtonLanguage
,GuiButtonUpdate
,GuiSlider
,SmallButton
@Client public class Button extends GuiComponent
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
displayString
boolean
drawButton
boolean
enabled
protected int
height
int
id
protected int
width
int
xPosition
int
yPosition
-
Fields inherited from class net.minecraft.client.gui.GuiComponent
zLevel
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
drawButton(Minecraft var1, int var2, int var3)
protected int
getHoverState(boolean var1)
protected void
mouseDragged(Minecraft var1, int var2, int var3)
boolean
mousePressed(Minecraft var1, int var2, int var3)
void
mouseReleased(int var1, int var2)
-
Methods inherited from class net.minecraft.client.gui.GuiComponent
drawCenteredString, drawGradientRect, drawHorizontalLine, drawRect, drawRightAlignedString, drawString, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
-
-
-
-
Method Detail
-
getHoverState
protected int getHoverState(boolean var1)
-
drawButton
public void drawButton(Minecraft var1, int var2, int var3)
-
mouseDragged
protected void mouseDragged(Minecraft var1, int var2, int var3)
-
mouseReleased
public void mouseReleased(int var1, int var2)
-
mousePressed
public boolean mousePressed(Minecraft var1, int var2, int var3)
-
-