Class AbstractButton

All Implemented Interfaces:
GuiEventListener, Widget, NarratableEntry, NarrationSupplier
Direct Known Subclasses:
BeaconScreen.BeaconScreenButton, Button, Checkbox, CycleButton

public abstract class AbstractButton extends AbstractWidget
  • Constructor Details

    • AbstractButton

      public AbstractButton(int p_93365_, int p_93366_, int p_93367_, int p_93368_, Component p_93369_)
  • Method Details

    • onPress

      public abstract void onPress()
    • onClick

      public void onClick(double p_93371_, double p_93372_)
      Overrides:
      onClick in class AbstractWidget
    • keyPressed

      public boolean keyPressed(int p_93374_, int p_93375_, int p_93376_)