Class RealmsLongRunningMcoTaskScreen

All Implemented Interfaces:
ContainerEventHandler, GuiEventListener, Renderable, TabOrderedElement
Direct Known Subclasses:
RealmsLongRunningMcoConnectTaskScreen

public class RealmsLongRunningMcoTaskScreen extends RealmsScreen
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • REPEATED_NARRATOR

      private static final RepeatedNarrator REPEATED_NARRATOR
    • queuedTasks

      private final List<LongRunningTask> queuedTasks
    • lastScreen

      private final Screen lastScreen
    • layout

      protected final LinearLayout layout
    • title

      private volatile Component title
    • loadingDotsWidget

      @Nullable private LoadingDotsWidget loadingDotsWidget
  • Constructor Details

    • RealmsLongRunningMcoTaskScreen

      public RealmsLongRunningMcoTaskScreen(Screen pLastScreen, LongRunningTask... pQueuedTasks)
  • Method Details

    • tick

      public void tick()
      Overrides:
      tick in class Screen
    • keyPressed

      public boolean keyPressed(int pKeyCode, int pScanCode, int pModifiers)
      Description copied from class: Screen
      Called when a keyboard key is pressed within the GUI element.

      Specified by:
      keyPressed in interface ContainerEventHandler
      Specified by:
      keyPressed in interface GuiEventListener
      Overrides:
      keyPressed in class Screen
      Parameters:
      pKeyCode - the key code of the pressed key.
      pScanCode - the scan code of the pressed key.
      pModifiers - the keyboard modifiers.
      Returns:
      true if the event is consumed, false otherwise.
    • init

      public void init()
      Overrides:
      init in class Screen
    • repositionElements

      protected void repositionElements()
      Overrides:
      repositionElements in class Screen
    • cancel

      protected void cancel()
    • setTitle

      public void setTitle(Component pTitle)