public class GuiScreenWorking extends GuiScreen implements IProgressUpdate
Modifier and Type | Field and Description |
---|---|
private boolean |
doneWorking |
private java.lang.String |
field_146589_f |
private java.lang.String |
field_146591_a |
private int |
progress |
allowUserInput, buttonList, fontRendererObj, height, itemRender, labelList, mc, width
icons, optionsBackground, statIcons, zLevel
Constructor and Description |
---|
GuiScreenWorking() |
Modifier and Type | Method and Description |
---|---|
void |
displayLoadingString(java.lang.String message)
Displays a string on the loading screen supposed to indicate what is being done currently.
|
void |
displaySavingString(java.lang.String message)
Shows the 'Saving level' string.
|
void |
drawScreen(int mouseX,
int mouseY,
float partialTicks)
Draws the screen and all the components in it.
|
void |
resetProgressAndMessage(java.lang.String message)
this string, followed by "working..." and then the "% complete" are the 3 lines shown.
|
void |
setDoneWorking() |
void |
setLoadingProgress(int progress)
Updates the progress bar on the loading screen to the specified amount.
|
actionPerformed, confirmClicked, doesGuiPauseGame, drawBackground, drawCreativeTabHoveringText, drawDefaultBackground, drawHoveringText, drawWorldBackground, getClipboardString, handleComponentClick, handleComponentHover, handleInput, handleKeyboardInput, handleMouseInput, initGui, isAltKeyDown, isCtrlKeyDown, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, keyTyped, mouseClicked, mouseClickMove, mouseReleased, onGuiClosed, onResize, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setText, setWorldAndResolution, updateScreen
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
private java.lang.String field_146591_a
private java.lang.String field_146589_f
private int progress
private boolean doneWorking
public void displaySavingString(java.lang.String message)
displaySavingString
in interface IProgressUpdate
public void resetProgressAndMessage(java.lang.String message)
resetProgressAndMessage
in interface IProgressUpdate
public void displayLoadingString(java.lang.String message)
displayLoadingString
in interface IProgressUpdate
public void setLoadingProgress(int progress)
setLoadingProgress
in interface IProgressUpdate
public void setDoneWorking()
setDoneWorking
in interface IProgressUpdate
public void drawScreen(int mouseX, int mouseY, float partialTicks)
drawScreen
in class GuiScreen