Class AbstractButton

All Implemented Interfaces:
IGuiEventListener, IRenderable
Direct Known Subclasses:
BeaconScreen.Button, Button, CheckboxButton

public abstract class AbstractButton extends Widget
  • Constructor Details

    • AbstractButton

      public AbstractButton(int p_i232251_1_, int p_i232251_2_, int p_i232251_3_, int p_i232251_4_, ITextComponent p_i232251_5_)
  • Method Details

    • onPress

      public abstract void onPress()
    • onClick

      public void onClick(double p_230982_1_, double p_230982_3_)
      Overrides:
      onClick in class Widget
    • keyPressed

      public boolean keyPressed(int p_231046_1_, int p_231046_2_, int p_231046_3_)