|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.minecraft.client.gui.Gui
net.minecraft.client.gui.GuiButton
public class GuiButton
Field Summary | |
---|---|
String |
displayString
The string displayed on this control. |
boolean |
drawButton
Hides the button completely if false. |
boolean |
enabled
True if this control is enabled, false to disable. |
int |
id
ID for this control. |
int |
xPosition
The x position of this control. |
int |
yPosition
The y position of this control. |
Constructor Summary | |
---|---|
GuiButton(int par1,
int par2,
int par3,
int par4,
int par5,
String par6Str)
|
|
GuiButton(int par1,
int par2,
int par3,
String par4Str)
|
Method Summary | |
---|---|
void |
drawButton(Minecraft par1Minecraft,
int par2,
int par3)
Draws this button to the screen. |
void |
func_82251_b(int par1,
int par2)
|
boolean |
func_82252_a()
|
boolean |
mousePressed(Minecraft par1Minecraft,
int par2,
int par3)
Returns true if the mouse has been pressed on this control. |
void |
mouseReleased(int par1,
int par2)
Fired when the mouse button is released. |
Methods inherited from class net.minecraft.client.gui.Gui |
---|
drawCenteredString, drawRect, drawString, drawTexturedModalRect |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int xPosition
public int yPosition
public String displayString
public int id
public boolean enabled
public boolean drawButton
Constructor Detail |
---|
public GuiButton(int par1, int par2, int par3, String par4Str)
public GuiButton(int par1, int par2, int par3, int par4, int par5, String par6Str)
Method Detail |
---|
public void drawButton(Minecraft par1Minecraft, int par2, int par3)
public void mouseReleased(int par1, int par2)
public boolean mousePressed(Minecraft par1Minecraft, int par2, int par3)
public boolean func_82252_a()
public void func_82251_b(int par1, int par2)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |