public class GuiOptionList.OptionScrollSlot
extends GuiScrollSlot
| Constructor and Description |
|---|
OptionScrollSlot() |
| Modifier and Type | Method and Description |
|---|---|
void |
drawBackground(float frame) |
void |
drawOverlay(float frame) |
protected void |
drawSlot(int slot,
int x,
int y,
int mx,
int my,
float frame) |
GuiOptionList |
getGui() |
protected int |
getNumSlots() |
int |
getSlotHeight(int slot) |
java.util.List<java.lang.String> |
handleTooltip(int mx,
int my,
java.util.List<java.lang.String> tooltip) |
void |
keyTyped(char c,
int keycode) |
void |
mouseClicked(int mx,
int my,
int button) |
void |
mouseScrolled(int x,
int y,
int scroll) |
void |
onAdded(GuiScreen s) |
void |
resize() |
java.awt.Dimension |
scrollbarDim() |
int |
scrollbarGuideAlignment() |
protected void |
slotClicked(int slot,
int button,
int mx,
int my,
int count) |
int |
slotWidth() |
void |
update() |
Rectangle4i |
worldButtonSize() |
public java.util.ArrayList<Option> options
public void onAdded(GuiScreen s)
public int getSlotHeight(int slot)
public int slotWidth()
protected int getNumSlots()
protected void drawSlot(int slot,
int x,
int y,
int mx,
int my,
float frame)
public Rectangle4i worldButtonSize()
public void drawBackground(float frame)
public void drawOverlay(float frame)
public int scrollbarGuideAlignment()
public java.awt.Dimension scrollbarDim()
public void update()
protected void slotClicked(int slot,
int button,
int mx,
int my,
int count)
public void mouseClicked(int mx,
int my,
int button)
public void keyTyped(char c,
int keycode)
public void resize()
public void mouseScrolled(int x,
int y,
int scroll)
public GuiOptionList getGui()
public java.util.List<java.lang.String> handleTooltip(int mx,
int my,
java.util.List<java.lang.String> tooltip)