Class RowButton

java.lang.Object
com.mojang.realmsclient.gui.RowButton
Direct Known Subclasses:
RealmsPendingInvitesScreen.Entry.AcceptRowButton, RealmsPendingInvitesScreen.Entry.RejectRowButton

public abstract class RowButton extends Object
  • Field Details

    • width

      public final int width
    • height

      public final int height
    • xOffset

      public final int xOffset
    • yOffset

      public final int yOffset
  • Constructor Details

    • RowButton

      public RowButton(int p_88012_, int p_88013_, int p_88014_, int p_88015_)
  • Method Details

    • drawForRowAt

      public void drawForRowAt(GuiGraphics p_281584_, int p_88020_, int p_88021_, int p_88022_, int p_88023_)
    • draw

      protected abstract void draw(GuiGraphics p_281291_, int p_88025_, int p_88026_, boolean p_88027_)
    • getRight

      public int getRight()
    • getBottom

      public int getBottom()
    • onClick

      public abstract void onClick(int p_88017_)
    • drawButtonsInRow

      public static void drawButtonsInRow(GuiGraphics p_281401_, List<RowButton> p_283164_, RealmsObjectSelectionList<?> p_282348_, int p_282527_, int p_281326_, int p_281575_, int p_282538_)
    • rowButtonMouseClicked

      public static void rowButtonMouseClicked(RealmsObjectSelectionList<?> p_88037_, ObjectSelectionList.Entry<?> p_88038_, List<RowButton> p_88039_, int p_88040_, double p_88041_, double p_88042_)