Class GenericWaitingScreen

All Implemented Interfaces:
ContainerEventHandler, GuiEventListener, Renderable, TabOrderedElement

public class GenericWaitingScreen extends Screen
  • Field Details

    • TITLE_Y

      private static final int TITLE_Y
      See Also:
    • MESSAGE_Y

      private static final int MESSAGE_Y
      See Also:
    • MESSAGE_MAX_WIDTH

      private static final int MESSAGE_MAX_WIDTH
      See Also:
    • showLoadingDots

      private final boolean showLoadingDots
    • messageText

      private final Component messageText
    • buttonLabel

      private final Component buttonLabel
    • buttonCallback

      private final Runnable buttonCallback
    • showButton

      private final boolean showButton
    • closeOnEscape

      private final boolean closeOnEscape
    • message

      private final MultiLineLabel message
    • button

      private @Nullable Button button
    • disableButtonTicks

      private int disableButtonTicks
  • Constructor Details

    • GenericWaitingScreen

      protected GenericWaitingScreen(Component title, boolean showLoadingDots, Component messageText, Component buttonLabel, Runnable buttonCallback, int disableButtonTicks, boolean showButton, boolean closeOnEscape)
  • Method Details