class FlatPresetsScreen.SlotList extends ExtendedList<FlatPresetsScreen.SlotList.PresetEntry>
Modifier and Type | Class and Description |
---|---|
class |
FlatPresetsScreen.SlotList.PresetEntry |
ExtendedList.AbstractListEntry<E extends ExtendedList.AbstractListEntry<E>>
centerListVertically, DRAG_OUTSIDE, headerHeight, height, itemHeight, minecraft, renderHeader, renderSelection, width, x0, x1, y0, y1, yDrag
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
Constructor and Description |
---|
SlotList() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isFocused() |
boolean |
keyPressed(int p_keyPressed_1_,
int p_keyPressed_2_,
int p_keyPressed_3_) |
protected void |
moveSelection(int p_moveSelection_1_) |
void |
setSelected(FlatPresetsScreen.SlotList.PresetEntry p_setSelected_1_) |
changeFocus
addEntry, centerScrollOn, children, clearEntries, clickedHeader, ensureVisible, getBottom, getEntry, getEntryAtPosition, getFocused, getHeight, getItemCount, getLeft, getMaxPosition, getRight, getRowLeft, getRowTop, getRowWidth, getScrollAmount, getScrollbarPosition, getScrollBottom, getSelected, getTop, getWidth, isMouseOver, isSelectedItem, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, remove, removeEntry, render, renderBackground, renderDecorations, renderHeader, renderHoleBackground, renderList, replaceEntries, setLeftPos, setRenderHeader, setRenderSelection, setScrollAmount, updateScrollingState, updateSize
isDragging, setDragging, setFocused
blit, blit, blit, blit, blit, drawCenteredString, drawRightAlignedString, drawString, fill, fill, fillGradient, getBlitOffset, hLine, innerBlit, setBlitOffset, vLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
charTyped, func_212932_b, getEventListenerForPos, keyReleased, setFocusedDefault
mouseMoved
public void setSelected(@Nullable FlatPresetsScreen.SlotList.PresetEntry p_setSelected_1_)
setSelected
in class AbstractList<FlatPresetsScreen.SlotList.PresetEntry>
protected void moveSelection(int p_moveSelection_1_)
moveSelection
in class AbstractList<FlatPresetsScreen.SlotList.PresetEntry>
protected boolean isFocused()
isFocused
in class AbstractList<FlatPresetsScreen.SlotList.PresetEntry>
public boolean keyPressed(int p_keyPressed_1_, int p_keyPressed_2_, int p_keyPressed_3_)
keyPressed
in interface IGuiEventListener
keyPressed
in interface INestedGuiEventHandler
keyPressed
in class AbstractList<FlatPresetsScreen.SlotList.PresetEntry>