public class GuidePage extends GuidePageBase
GuidePart.PagePosition| Modifier and Type | Field and Description |
|---|---|
GuideChapter |
chapterContents |
com.google.common.collect.ImmutableList<GuidePart> |
parts |
java.lang.String |
title |
numPagesgui, INDENT_WIDTH, LINE_HEIGHT, wasHovered, wasIconHovered| Constructor and Description |
|---|
GuidePage(GuiGuide gui,
java.util.List<GuidePart> parts,
java.lang.String title) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<GuideChapter> |
getChapters() |
java.lang.String |
getTitle() |
void |
handleMouseClick(int x,
int y,
int width,
int height,
int mouseX,
int mouseY,
int mouseButton,
int index,
boolean isEditing) |
protected void |
renderPage(int x,
int y,
int width,
int height,
int index) |
void |
setFontRenderer(IFontRenderer fontRenderer) |
void |
updateScreen() |
createReloaded, getClicked, getIndex, getPage, goToPage, handleMouseClick, handleMouseDragFinish, handleMouseDragPartial, keyTyped, lastPage, nextPage, renderFirstPage, renderIntoArea, renderSecondPage, shouldPersistHistory, tickgetFontRenderer, renderLine, renderLines, renderLines, renderTextLine, renderTooltip, wasHoveredpublic final com.google.common.collect.ImmutableList<GuidePart> parts
public final java.lang.String title
public final GuideChapter chapterContents
public java.util.List<GuideChapter> getChapters()
getChapters in class GuidePageBasepublic java.lang.String getTitle()
getTitle in class GuidePageBasepublic void setFontRenderer(IFontRenderer fontRenderer)
setFontRenderer in class GuidePartpublic void updateScreen()
updateScreen in class GuidePartprotected void renderPage(int x,
int y,
int width,
int height,
int index)
renderPage in class GuidePageBasepublic void handleMouseClick(int x,
int y,
int width,
int height,
int mouseX,
int mouseY,
int mouseButton,
int index,
boolean isEditing)
handleMouseClick in class GuidePageBase