public abstract class GuiScrollingList
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int |
bottom |
protected boolean |
captureMouse |
protected int |
left |
protected int |
listHeight |
protected int |
listWidth |
protected int |
mouseX |
protected int |
mouseY |
protected int |
right |
protected int |
screenHeight |
protected int |
screenWidth |
protected int |
selectedIndex |
protected int |
slotHeight |
protected int |
top |
Constructor and Description |
---|
GuiScrollingList(Minecraft client,
int width,
int height,
int top,
int bottom,
int left,
int entryHeight)
Deprecated.
|
GuiScrollingList(Minecraft client,
int width,
int height,
int top,
int bottom,
int left,
int entryHeight,
int screenWidth,
int screenHeight) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(GuiButton button) |
protected void |
clickHeader(int x,
int y) |
protected abstract void |
drawBackground() |
protected void |
drawGradientRect(int left,
int top,
int right,
int bottom,
int color1,
int color2) |
protected void |
drawHeader(int entryRight,
int relativeY,
Tessellator tess)
Draw anything special on the screen.
|
protected void |
drawScreen(int mouseX,
int mouseY)
Draw anything special on the screen.
|
void |
drawScreen(int mouseX,
int mouseY,
float partialTicks) |
protected abstract void |
drawSlot(int slotIdx,
int entryRight,
int slotTop,
int slotBuffer,
Tessellator tess)
Draw anything special on the screen.
|
protected abstract void |
elementClicked(int index,
boolean doubleClick) |
protected void |
func_27255_a(int x,
int y)
Deprecated.
|
int |
func_27256_c(int x,
int y)
Deprecated.
|
protected void |
func_27257_b(int mouseX,
int mouseY)
Deprecated.
|
void |
func_27258_a(boolean p_27258_1_)
Deprecated.
|
protected void |
func_27259_a(boolean hasFooter,
int footerHeight)
Deprecated.
|
protected void |
func_27260_a(int entryRight,
int relativeY,
Tessellator tess)
Deprecated.
|
protected int |
getContentHeight() |
protected abstract int |
getSize() |
void |
handleMouseInput(int mouseX,
int mouseY) |
protected abstract boolean |
isSelected(int index) |
void |
registerScrollButtons(java.util.List<GuiButton> buttons,
int upActionID,
int downActionID) |
protected void |
setHeaderInfo(boolean hasHeader,
int headerHeight) |
protected final int listWidth
protected final int listHeight
protected final int screenWidth
protected final int screenHeight
protected final int top
protected final int bottom
protected final int right
protected final int left
protected final int slotHeight
protected int mouseX
protected int mouseY
protected int selectedIndex
protected boolean captureMouse
@Deprecated public GuiScrollingList(Minecraft client, int width, int height, int top, int bottom, int left, int entryHeight)
public GuiScrollingList(Minecraft client, int width, int height, int top, int bottom, int left, int entryHeight, int screenWidth, int screenHeight)
@Deprecated public void func_27258_a(boolean p_27258_1_)
@Deprecated protected void func_27259_a(boolean hasFooter, int footerHeight)
protected void setHeaderInfo(boolean hasHeader, int headerHeight)
protected abstract int getSize()
protected abstract void elementClicked(int index, boolean doubleClick)
protected abstract boolean isSelected(int index)
protected int getContentHeight()
protected abstract void drawBackground()
protected abstract void drawSlot(int slotIdx, int entryRight, int slotTop, int slotBuffer, Tessellator tess)
@Deprecated protected void func_27260_a(int entryRight, int relativeY, Tessellator tess)
protected void drawHeader(int entryRight, int relativeY, Tessellator tess)
@Deprecated protected void func_27255_a(int x, int y)
protected void clickHeader(int x, int y)
@Deprecated protected void func_27257_b(int mouseX, int mouseY)
protected void drawScreen(int mouseX, int mouseY)
@Deprecated public int func_27256_c(int x, int y)
public void registerScrollButtons(java.util.List<GuiButton> buttons, int upActionID, int downActionID)
public void actionPerformed(GuiButton button)
public void handleMouseInput(int mouseX, int mouseY) throws java.io.IOException
java.io.IOException
public void drawScreen(int mouseX, int mouseY, float partialTicks)
protected void drawGradientRect(int left, int top, int right, int bottom, int color1, int color2)