Interface Button

All Superinterfaces:
Initializable
All Known Implementing Classes:
AirButton, AnimatedButton, DummyButton, InputButton, ListButton, NullButton, OutputButton, PredicateButton, SimpleButton

public interface Button extends Initializable
An interface for all buttons
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Button
    The empty button
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable DisplayButton
    display(@NotNull UUID uuid)
    Display the button

    Methods inherited from interface me.hsgamer.hscore.ui.property.Initializable

    init, stop
  • Field Details

    • EMPTY

      static final Button EMPTY
      The empty button
  • Method Details

    • display

      @Nullable @Nullable DisplayButton display(@NotNull @NotNull UUID uuid)
      Display the button
      Parameters:
      uuid - the unique id
      Returns:
      the display button