Package net.minecraft.client.gui
Class GuiListExtended
- java.lang.Object
-
- net.minecraft.client.gui.GuiSlot
-
- net.minecraft.client.gui.GuiListExtended
-
- Direct Known Subclasses:
GuiKeyBindingList,GuiOptionsRowList,GuiPageButtonList,GuiResourcePackList,ServerSelectionList
public abstract class GuiListExtended extends GuiSlot
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGuiListExtended.IGuiListEntry
-
Field Summary
-
Fields inherited from class net.minecraft.client.gui.GuiSlot
amountScrolled, bottom, field_148163_i, field_178041_q, hasListHeader, headerPadding, height, initialClickY, lastClicked, left, mc, mouseX, mouseY, right, scrollMultiplier, selectedElement, showSelectionBox, slotHeight, top, width
-
-
Constructor Summary
Constructors Constructor Description GuiListExtended(Minecraft mcIn, int widthIn, int heightIn, int topIn, int bottomIn, int slotHeightIn)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voiddrawBackground()protected voiddrawSlot(int entryID, int mouseXIn, int mouseYIn, int parInt4, int parInt5, int parInt6)protected voidelementClicked(int slotIndex, boolean isDoubleClick, int mouseX, int mouseY)+ The element in the slot that was clicked, boolean for whether it was double clicked or notprotected voidfunc_178040_a(int parInt1, int parInt2, int parInt3)abstract GuiListExtended.IGuiListEntrygetListEntry(int var1)protected booleanisSelected(int slotIndex)+ Returns true if the element passed in is currently selectedbooleanmouseClicked(int mouseX, int mouseY, int mouseEvent)booleanmouseReleased(int parInt1, int parInt2, int parInt3)-
Methods inherited from class net.minecraft.client.gui.GuiSlot
actionPerformed, bindAmountScrolled, drawListHeader, drawScreen, drawSelectionBox, func_148132_a, func_148135_f, func_148142_b, getAmountScrolled, getContentHeight, getEnabled, getListWidth, getScrollBarX, getSize, getSlotHeight, getSlotIndexFromScreenCoords, handleMouseInput, isMouseYWithinSlotBounds, overlayBackground, registerScrollButtons, scrollBy, setDimensions, setEnabled, setHasListHeader, setShowSelectionBox, setSlotXBoundsFromLeft
-
-
-
-
Constructor Detail
-
GuiListExtended
public GuiListExtended(Minecraft mcIn, int widthIn, int heightIn, int topIn, int bottomIn, int slotHeightIn)
-
-
Method Detail
-
elementClicked
protected void elementClicked(int slotIndex, boolean isDoubleClick, int mouseX, int mouseY)+ The element in the slot that was clicked, boolean for whether it was double clicked or not- Specified by:
elementClickedin classGuiSlot
-
isSelected
protected boolean isSelected(int slotIndex)
+ Returns true if the element passed in is currently selected- Specified by:
isSelectedin classGuiSlot
-
drawBackground
protected void drawBackground()
- Specified by:
drawBackgroundin classGuiSlot
-
drawSlot
protected void drawSlot(int entryID, int mouseXIn, int mouseYIn, int parInt4, int parInt5, int parInt6)
-
func_178040_a
protected void func_178040_a(int parInt1, int parInt2, int parInt3)- Overrides:
func_178040_ain classGuiSlot
-
mouseClicked
public boolean mouseClicked(int mouseX, int mouseY, int mouseEvent)
-
mouseReleased
public boolean mouseReleased(int parInt1, int parInt2, int parInt3)
-
getListEntry
public abstract GuiListExtended.IGuiListEntry getListEntry(int var1)
-
-