public class GuiStats extends GuiScreen implements IProgressMeter
| Modifier and Type | Field and Description |
|---|---|
protected GuiScreen |
parentScreen |
protected java.lang.String |
screenTitle |
allowUserInput, buttonList, fontRenderer, height, itemRender, keyHandled, labelList, mc, mouseHandled, selectedButton, widthICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevelLOADING_STRINGS| Constructor and Description |
|---|
GuiStats(GuiScreen parent,
StatisticsManager manager) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
actionPerformed(GuiButton button)
Called by the controls from the buttonList when activated.
|
boolean |
doesGuiPauseGame()
Returns true if this GUI should pause the game when it is displayed in single-player
|
void |
drawScreen(int mouseX,
int mouseY,
float partialTicks)
Draws the screen and all the components in it.
|
void |
handleMouseInput()
Handles mouse input.
|
void |
initButtons() |
void |
initGui()
Adds the buttons (and other controls) to the screen in question.
|
void |
initLists() |
void |
onStatsUpdated() |
addButton, confirmClicked, drawBackground, drawDefaultBackground, drawHoveringText, drawHoveringText, drawHoveringText, drawWorldBackground, getClipboardString, getItemToolTip, handleComponentClick, handleComponentHover, handleInput, handleKeyboardInput, isAltKeyDown, isCtrlKeyDown, isFocused, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, keyTyped, mouseClicked, mouseClickMove, mouseReleased, onGuiClosed, onResize, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setFocused, setGuiSize, setText, setWorldAndResolution, updateScreendrawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLineprotected GuiScreen parentScreen
protected java.lang.String screenTitle
public GuiStats(GuiScreen parent, StatisticsManager manager)
public void initGui()
public void handleMouseInput()
throws java.io.IOException
handleMouseInput in class GuiScreenjava.io.IOExceptionpublic void initLists()
public void initButtons()
protected void actionPerformed(GuiButton button) throws java.io.IOException
actionPerformed in class GuiScreenjava.io.IOExceptionpublic void drawScreen(int mouseX,
int mouseY,
float partialTicks)
drawScreen in class GuiScreenpublic void onStatsUpdated()
onStatsUpdated in interface IProgressMeterpublic boolean doesGuiPauseGame()
doesGuiPauseGame in class GuiScreen