public class GuiSelectString extends GuiScreen
| Modifier and Type | Field and Description |
|---|---|
java.lang.Object |
beforeValue |
protected IConfigElement |
configElement |
java.lang.Object |
currentValue |
protected boolean |
enabled |
protected GuiScreen |
parentScreen |
protected int |
slotIndex |
protected java.lang.String |
titleLine2 |
protected java.lang.String |
titleLine3 |
allowUserInput, buttonList, fontRendererObj, height, itemRender, labelList, mc, widthicons, optionsBackground, statIcons, zLevel| Constructor and Description |
|---|
GuiSelectString(GuiScreen parentScreen,
IConfigElement configElement,
int slotIndex,
java.util.Map<java.lang.Object,java.lang.String> selectableValues,
java.lang.Object currentValue,
boolean enabled) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
actionPerformed(GuiButton button) |
void |
drawScreen(int par1,
int par2,
float par3)
Draws the screen and all the components in it.
|
void |
drawToolTip(java.util.List stringList,
int x,
int y) |
void |
initGui()
Adds the buttons (and other controls) to the screen in question.
|
protected void |
mouseMovedOrUp(int x,
int y,
int mouseEvent)
Called when the mouse is moved or a mouse button is released.
|
confirmClicked, doesGuiPauseGame, drawBackground, drawCreativeTabHoveringText, drawDefaultBackground, drawHoveringText, drawWorldBackground, func_146283_a, getClipboardString, handleInput, handleKeyboardInput, handleMouseInput, isCtrlKeyDown, isShiftKeyDown, keyTyped, mouseClicked, mouseClickMove, onGuiClosed, renderToolTip, setClipboardString, setWorldAndResolution, updateScreendrawCenteredString, drawGradientRect, drawHorizontalLine, drawRect, drawString, drawTexturedModalRect, drawTexturedModelRectFromIcon, drawVerticalLine, func_146110_a, func_152125_aprotected GuiScreen parentScreen
protected IConfigElement configElement
protected java.lang.String titleLine2
protected java.lang.String titleLine3
protected int slotIndex
public final java.lang.Object beforeValue
public java.lang.Object currentValue
protected boolean enabled
public GuiSelectString(GuiScreen parentScreen, IConfigElement configElement, int slotIndex, java.util.Map<java.lang.Object,java.lang.String> selectableValues, java.lang.Object currentValue, boolean enabled)
public void initGui()
protected void actionPerformed(GuiButton button)
actionPerformed in class GuiScreenprotected void mouseMovedOrUp(int x,
int y,
int mouseEvent)
mouseMovedOrUp in class GuiScreenpublic void drawScreen(int par1,
int par2,
float par3)
drawScreen in class GuiScreenpublic void drawToolTip(java.util.List stringList,
int x,
int y)