public class GuiItemSorter extends GuiOptionPane
| Modifier and Type | Class and Description |
|---|---|
class |
GuiItemSorter.SortItem |
GuiOptionPane.ScrollPane| Modifier and Type | Field and Description |
|---|---|
GuiItemSorter.SortItem |
dragged |
double |
dragstarty |
java.util.List<ItemSorter.SortEntry> |
list |
int |
mouseclickedy |
Option |
opt |
java.util.List<GuiItemSorter.SortItem> |
slots |
backButton, pane| Constructor and Description |
|---|
GuiItemSorter(Option opt) |
| Modifier and Type | Method and Description |
|---|---|
int |
contentHeight() |
void |
drawContent(int mx,
int my,
float frame) |
void |
drawItem(java.awt.Rectangle w,
GuiItemSorter.SortItem item,
int mx,
int my,
float frame) |
GuiScreen |
getParentScreen() |
java.lang.String |
getTitle() |
java.util.List<java.lang.String> |
handleTooltip(int mx,
int my,
java.util.List<java.lang.String> tooltip) |
GuiItemSorter.SortItem |
itemAt(int mx,
int my) |
protected void |
mouseClicked(int x,
int y,
int button) |
protected void |
mouseMovedOrUp(int x,
int y,
int button) |
int |
slotY(int slot) |
void |
updateScreen() |
actionPerformed, addWidgets, doesGuiPauseGame, drawBackground, drawBounds, drawForeground, drawTooltip, initGui, keyTypedpublic Option opt
public java.util.List<GuiItemSorter.SortItem> slots
public java.util.List<ItemSorter.SortEntry> list
public GuiItemSorter.SortItem dragged
public int mouseclickedy
public double dragstarty
public GuiItemSorter(Option opt)
public int slotY(int slot)
public int contentHeight()
contentHeight in class GuiOptionPanepublic void drawContent(int mx,
int my,
float frame)
drawContent in class GuiOptionPanepublic void drawItem(java.awt.Rectangle w,
GuiItemSorter.SortItem item,
int mx,
int my,
float frame)
public java.lang.String getTitle()
getTitle in class GuiOptionPanepublic GuiScreen getParentScreen()
getParentScreen in class GuiOptionPanepublic void updateScreen()
public GuiItemSorter.SortItem itemAt(int mx, int my)
protected void mouseClicked(int x,
int y,
int button)
protected void mouseMovedOrUp(int x,
int y,
int button)
public java.util.List<java.lang.String> handleTooltip(int mx,
int my,
java.util.List<java.lang.String> tooltip)
handleTooltip in class GuiOptionPane