public class GuiSelectString extends GuiScreen
Modifier and Type | Field and Description |
---|---|
java.lang.Object |
beforeValue |
protected GuiButtonExt |
btnDefault |
protected GuiButtonExt |
btnDone |
protected GuiButtonExt |
btnUndoChanges |
protected IConfigElement |
configElement |
java.lang.Object |
currentValue |
protected boolean |
enabled |
protected GuiSelectStringEntries |
entryList |
protected GuiScreen |
parentScreen |
protected java.util.Map<java.lang.Object,java.lang.String> |
selectableValues |
protected int |
slotIndex |
protected java.lang.String |
title |
protected java.lang.String |
titleLine2 |
protected java.lang.String |
titleLine3 |
protected java.util.List<java.lang.String> |
toolTip |
protected HoverChecker |
tooltipHoverChecker |
allowUserInput, buttonList, fontRendererObj, height, itemRender, keyHandled, labelList, mc, mouseHandled, width
ICONS, OPTIONS_BACKGROUND, STAT_ICONS, 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)
Called by the controls from the buttonList when activated.
|
void |
drawScreen(int par1,
int par2,
float par3)
Draws the screen and all the components in it.
|
void |
drawToolTip(java.util.List<java.lang.String> stringList,
int x,
int y) |
void |
handleMouseInput()
Handles mouse input.
|
void |
initGui()
Adds the buttons (and other controls) to the screen in question.
|
protected void |
mouseReleased(int x,
int y,
int mouseEvent)
Called when a mouse button is released.
|
addButton, confirmClicked, doesGuiPauseGame, drawBackground, drawCreativeTabHoveringText, drawDefaultBackground, drawHoveringText, drawHoveringText, drawWorldBackground, getClipboardString, handleComponentClick, handleComponentHover, handleInput, handleKeyboardInput, isAltKeyDown, isCtrlKeyDown, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, keyTyped, mouseClicked, mouseClickMove, onGuiClosed, onResize, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setGuiSize, setText, setWorldAndResolution, updateScreen
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
protected GuiScreen parentScreen
protected IConfigElement configElement
protected GuiSelectStringEntries entryList
protected GuiButtonExt btnUndoChanges
protected GuiButtonExt btnDefault
protected GuiButtonExt btnDone
protected java.lang.String title
protected java.lang.String titleLine2
protected java.lang.String titleLine3
protected int slotIndex
protected final java.util.Map<java.lang.Object,java.lang.String> selectableValues
public final java.lang.Object beforeValue
public java.lang.Object currentValue
protected HoverChecker tooltipHoverChecker
protected java.util.List<java.lang.String> toolTip
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 GuiScreen
public void handleMouseInput() throws java.io.IOException
handleMouseInput
in class GuiScreen
java.io.IOException
protected void mouseReleased(int x, int y, int mouseEvent)
mouseReleased
in class GuiScreen
public void drawScreen(int par1, int par2, float par3)
drawScreen
in class GuiScreen
public void drawToolTip(java.util.List<java.lang.String> stringList, int x, int y)