private class GuiModList.Info extends GuiScrollingList
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<ITextComponent> |
lines |
private java.awt.Dimension |
logoDims |
private ResourceLocation |
logoPath |
bottom, captureMouse, left, listHeight, listWidth, mouseX, mouseY, right, screenHeight, screenWidth, selectedIndex, slotHeight, top| Constructor and Description |
|---|
Info(int width,
java.util.List<java.lang.String> lines,
ResourceLocation logoPath,
java.awt.Dimension logoDims) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
clickHeader(int x,
int y) |
protected void |
drawBackground() |
protected void |
drawHeader(int entryRight,
int relativeY,
Tessellator tess)
Draw anything special on the screen.
|
protected void |
drawSlot(int slotIdx,
int entryRight,
int slotTop,
int slotBuffer,
Tessellator tess)
Draw anything special on the screen.
|
protected void |
elementClicked(int index,
boolean doubleClick) |
private int |
getHeaderHeight() |
protected int |
getSize() |
protected boolean |
isSelected(int index) |
private java.util.List<ITextComponent> |
resizeContent(java.util.List<java.lang.String> lines) |
actionPerformed, drawGradientRect, drawScreen, drawScreen, func_27255_a, func_27256_c, func_27257_b, func_27258_a, func_27259_a, func_27260_a, getContentHeight, handleMouseInput, registerScrollButtons, setHeaderInfo@Nullable private ResourceLocation logoPath
private java.awt.Dimension logoDims
private java.util.List<ITextComponent> lines
public Info(int width,
java.util.List<java.lang.String> lines,
@Nullable
ResourceLocation logoPath,
java.awt.Dimension logoDims)
protected int getSize()
getSize in class GuiScrollingListprotected void elementClicked(int index,
boolean doubleClick)
elementClicked in class GuiScrollingListprotected boolean isSelected(int index)
isSelected in class GuiScrollingListprotected void drawBackground()
drawBackground in class GuiScrollingListprotected void drawSlot(int slotIdx,
int entryRight,
int slotTop,
int slotBuffer,
Tessellator tess)
GuiScrollingListdrawSlot in class GuiScrollingListprivate java.util.List<ITextComponent> resizeContent(java.util.List<java.lang.String> lines)
private int getHeaderHeight()
protected void drawHeader(int entryRight,
int relativeY,
Tessellator tess)
GuiScrollingListdrawHeader in class GuiScrollingListprotected void clickHeader(int x,
int y)
clickHeader in class GuiScrollingList