Package com.mojang.realmsclient.gui
Class ListButton
- java.lang.Object
-
- com.mojang.realmsclient.gui.ListButton
-
- Direct Known Subclasses:
RealmsPendingInvitesScreen.InvitationEntry.AcceptButton
,RealmsPendingInvitesScreen.InvitationEntry.RejectButton
public abstract class ListButton extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ListButton(int p_i51779_1_, int p_i51779_2_, int p_i51779_3_, int p_i51779_4_)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract void
draw(MatrixStack p_230435_1_, int p_230435_2_, int p_230435_3_, boolean p_230435_4_)
static void
drawButtonsInRow(MatrixStack p_237727_0_, java.util.List<ListButton> p_237727_1_, RealmsObjectSelectionList<?> p_237727_2_, int p_237727_3_, int p_237727_4_, int p_237727_5_, int p_237727_6_)
void
drawForRowAt(MatrixStack p_237726_1_, int p_237726_2_, int p_237726_3_, int p_237726_4_, int p_237726_5_)
int
getBottom()
int
getRight()
abstract void
onClick(int p_225121_1_)
static void
rowButtonMouseClicked(RealmsObjectSelectionList<?> p_237728_0_, ExtendedList.AbstractListEntry<?> p_237728_1_, java.util.List<ListButton> p_237728_2_, int p_237728_3_, double p_237728_4_, double p_237728_6_)
-
-
-
Method Detail
-
drawForRowAt
public void drawForRowAt(MatrixStack p_237726_1_, int p_237726_2_, int p_237726_3_, int p_237726_4_, int p_237726_5_)
-
draw
protected abstract void draw(MatrixStack p_230435_1_, int p_230435_2_, int p_230435_3_, boolean p_230435_4_)
-
getRight
public int getRight()
-
getBottom
public int getBottom()
-
onClick
public abstract void onClick(int p_225121_1_)
-
drawButtonsInRow
public static void drawButtonsInRow(MatrixStack p_237727_0_, java.util.List<ListButton> p_237727_1_, RealmsObjectSelectionList<?> p_237727_2_, int p_237727_3_, int p_237727_4_, int p_237727_5_, int p_237727_6_)
-
rowButtonMouseClicked
public static void rowButtonMouseClicked(RealmsObjectSelectionList<?> p_237728_0_, ExtendedList.AbstractListEntry<?> p_237728_1_, java.util.List<ListButton> p_237728_2_, int p_237728_3_, double p_237728_4_, double p_237728_6_)
-
-