public abstract class AbstractList<E extends AbstractList.AbstractListEntry<E>> extends FocusableGui implements IRenderable
修飾子とタイプ | クラスと説明 |
---|---|
static class |
AbstractList.AbstractListEntry<E extends AbstractList.AbstractListEntry<E>> |
修飾子とタイプ | フィールドと説明 |
---|---|
protected boolean |
centerListVertically |
protected static int |
DRAG_OUTSIDE |
protected int |
headerHeight |
protected int |
height |
protected int |
itemHeight |
protected Minecraft |
minecraft |
protected boolean |
renderHeader |
protected boolean |
renderSelection |
protected int |
width |
protected int |
x0 |
protected int |
x1 |
protected int |
y0 |
protected int |
y1 |
protected int |
yDrag |
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
コンストラクタと説明 |
---|
AbstractList(Minecraft mcIn,
int widthIn,
int heightIn,
int topIn,
int bottomIn,
int itemHeightIn) |
修飾子とタイプ | メソッドと説明 |
---|---|
protected int |
addEntry(E p_addEntry_1_) |
protected void |
centerScrollOn(E p_centerScrollOn_1_) |
java.util.List<E> |
children() |
protected void |
clearEntries() |
protected void |
clickedHeader(int p_clickedHeader_1_,
int p_clickedHeader_2_) |
protected void |
ensureVisible(E p_ensureVisible_1_) |
int |
getBottom() |
protected E |
getEntry(int p_getEntry_1_) |
protected E |
getEntryAtPosition(double p_getEntryAtPosition_1_,
double p_getEntryAtPosition_3_) |
E |
getFocused() |
int |
getHeight() |
protected int |
getItemCount() |
int |
getLeft() |
protected int |
getMaxPosition() |
int |
getRight() |
protected int |
getRowLeft() |
protected int |
getRowTop(int p_getRowTop_1_) |
int |
getRowWidth() |
double |
getScrollAmount() |
protected int |
getScrollbarPosition() |
int |
getScrollBottom() |
E |
getSelected() |
int |
getTop() |
int |
getWidth() |
protected boolean |
isFocused() |
boolean |
isMouseOver(double p_isMouseOver_1_,
double p_isMouseOver_3_) |
protected boolean |
isSelectedItem(int p_isSelectedItem_1_) |
boolean |
keyPressed(int p_keyPressed_1_,
int p_keyPressed_2_,
int p_keyPressed_3_) |
boolean |
mouseClicked(double p_mouseClicked_1_,
double p_mouseClicked_3_,
int p_mouseClicked_5_) |
boolean |
mouseDragged(double p_mouseDragged_1_,
double p_mouseDragged_3_,
int p_mouseDragged_5_,
double p_mouseDragged_6_,
double p_mouseDragged_8_) |
boolean |
mouseReleased(double p_mouseReleased_1_,
double p_mouseReleased_3_,
int p_mouseReleased_5_) |
boolean |
mouseScrolled(double p_mouseScrolled_1_,
double p_mouseScrolled_3_,
double p_mouseScrolled_5_) |
protected void |
moveSelection(int p_moveSelection_1_) |
protected E |
remove(int p_remove_1_) |
protected boolean |
removeEntry(E p_removeEntry_1_) |
void |
render(int p_render_1_,
int p_render_2_,
float p_render_3_) |
protected void |
renderBackground() |
protected void |
renderDecorations(int p_renderDecorations_1_,
int p_renderDecorations_2_) |
protected void |
renderHeader(int p_renderHeader_1_,
int p_renderHeader_2_,
Tessellator p_renderHeader_3_) |
protected void |
renderHoleBackground(int p_renderHoleBackground_1_,
int p_renderHoleBackground_2_,
int p_renderHoleBackground_3_,
int p_renderHoleBackground_4_) |
protected void |
renderList(int p_renderList_1_,
int p_renderList_2_,
int p_renderList_3_,
int p_renderList_4_,
float p_renderList_5_) |
protected void |
replaceEntries(java.util.Collection<E> p_replaceEntries_1_) |
void |
setLeftPos(int p_setLeftPos_1_) |
protected void |
setRenderHeader(boolean p_setRenderHeader_1_,
int p_setRenderHeader_2_) |
void |
setRenderSelection(boolean p_setRenderSelection_1_) |
void |
setScrollAmount(double p_setScrollAmount_1_) |
void |
setSelected(E p_setSelected_1_) |
protected void |
updateScrollingState(double p_updateScrollingState_1_,
double p_updateScrollingState_3_,
int p_updateScrollingState_5_) |
void |
updateSize(int p_updateSize_1_,
int p_updateSize_2_,
int p_updateSize_3_,
int p_updateSize_4_) |
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
changeFocus, charTyped, func_212932_b, getEventListenerForPos, keyReleased, setFocusedDefault
mouseMoved
protected static final int DRAG_OUTSIDE
protected final Minecraft minecraft
protected final int itemHeight
protected int width
protected int height
protected int y0
protected int y1
protected int x1
protected int x0
protected boolean centerListVertically
protected int yDrag
protected boolean renderSelection
protected boolean renderHeader
protected int headerHeight
public AbstractList(Minecraft mcIn, int widthIn, int heightIn, int topIn, int bottomIn, int itemHeightIn)
public void setRenderSelection(boolean p_setRenderSelection_1_)
protected void setRenderHeader(boolean p_setRenderHeader_1_, int p_setRenderHeader_2_)
public int getRowWidth()
@Nullable public E getSelected()
public void setSelected(@Nullable E p_setSelected_1_)
@Nullable public E getFocused()
getFocused
インタフェース内 INestedGuiEventHandler
getFocused
クラス内 FocusableGui
public final java.util.List<E> children()
children
インタフェース内 INestedGuiEventHandler
protected final void clearEntries()
protected void replaceEntries(java.util.Collection<E> p_replaceEntries_1_)
protected E getEntry(int p_getEntry_1_)
protected int addEntry(E p_addEntry_1_)
protected int getItemCount()
protected boolean isSelectedItem(int p_isSelectedItem_1_)
@Nullable protected final E getEntryAtPosition(double p_getEntryAtPosition_1_, double p_getEntryAtPosition_3_)
public void updateSize(int p_updateSize_1_, int p_updateSize_2_, int p_updateSize_3_, int p_updateSize_4_)
public void setLeftPos(int p_setLeftPos_1_)
protected int getMaxPosition()
protected void clickedHeader(int p_clickedHeader_1_, int p_clickedHeader_2_)
protected void renderHeader(int p_renderHeader_1_, int p_renderHeader_2_, Tessellator p_renderHeader_3_)
protected void renderBackground()
protected void renderDecorations(int p_renderDecorations_1_, int p_renderDecorations_2_)
public void render(int p_render_1_, int p_render_2_, float p_render_3_)
render
インタフェース内 IRenderable
protected void centerScrollOn(E p_centerScrollOn_1_)
protected void ensureVisible(E p_ensureVisible_1_)
public double getScrollAmount()
public void setScrollAmount(double p_setScrollAmount_1_)
public int getScrollBottom()
protected void updateScrollingState(double p_updateScrollingState_1_, double p_updateScrollingState_3_, int p_updateScrollingState_5_)
protected int getScrollbarPosition()
public boolean mouseClicked(double p_mouseClicked_1_, double p_mouseClicked_3_, int p_mouseClicked_5_)
mouseClicked
インタフェース内 IGuiEventListener
mouseClicked
インタフェース内 INestedGuiEventHandler
public boolean mouseReleased(double p_mouseReleased_1_, double p_mouseReleased_3_, int p_mouseReleased_5_)
mouseReleased
インタフェース内 IGuiEventListener
mouseReleased
インタフェース内 INestedGuiEventHandler
public boolean mouseDragged(double p_mouseDragged_1_, double p_mouseDragged_3_, int p_mouseDragged_5_, double p_mouseDragged_6_, double p_mouseDragged_8_)
mouseDragged
インタフェース内 IGuiEventListener
mouseDragged
インタフェース内 INestedGuiEventHandler
public boolean mouseScrolled(double p_mouseScrolled_1_, double p_mouseScrolled_3_, double p_mouseScrolled_5_)
mouseScrolled
インタフェース内 IGuiEventListener
mouseScrolled
インタフェース内 INestedGuiEventHandler
public boolean keyPressed(int p_keyPressed_1_, int p_keyPressed_2_, int p_keyPressed_3_)
keyPressed
インタフェース内 IGuiEventListener
keyPressed
インタフェース内 INestedGuiEventHandler
protected void moveSelection(int p_moveSelection_1_)
public boolean isMouseOver(double p_isMouseOver_1_, double p_isMouseOver_3_)
isMouseOver
インタフェース内 IGuiEventListener
protected void renderList(int p_renderList_1_, int p_renderList_2_, int p_renderList_3_, int p_renderList_4_, float p_renderList_5_)
protected int getRowLeft()
protected int getRowTop(int p_getRowTop_1_)
protected boolean isFocused()
protected void renderHoleBackground(int p_renderHoleBackground_1_, int p_renderHoleBackground_2_, int p_renderHoleBackground_3_, int p_renderHoleBackground_4_)
protected E remove(int p_remove_1_)
protected boolean removeEntry(E p_removeEntry_1_)
public int getWidth()
public int getHeight()
public int getTop()
public int getBottom()
public int getLeft()
public int getRight()