Class AccessibilityOnboardingScreen

All Implemented Interfaces:
ContainerEventHandler, GuiEventListener, Renderable, TabOrderedElement

public class AccessibilityOnboardingScreen extends Screen
  • Field Details

    • TITLE

      private static final Component TITLE
    • ONBOARDING_NARRATOR_MESSAGE

      private static final Component ONBOARDING_NARRATOR_MESSAGE
    • PADDING

      private static final int PADDING
      See Also:
    • TITLE_PADDING

      private static final int TITLE_PADDING
      See Also:
    • logoRenderer

      private final LogoRenderer logoRenderer
    • options

      private final Options options
    • narratorAvailable

      private final boolean narratorAvailable
    • hasNarrated

      private boolean hasNarrated
    • timer

      private float timer
    • onClose

      private final Runnable onClose
    • textWidget

      @Nullable private FocusableTextWidget textWidget
    • layout

      private final HeaderAndFooterLayout layout
  • Constructor Details

    • AccessibilityOnboardingScreen

      public AccessibilityOnboardingScreen(Options p_265483_, Runnable p_298904_)
  • Method Details

    • init

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

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

      protected void setInitialFocus()
      Overrides:
      setInitialFocus in class Screen
    • initTitleYPos

      private int initTitleYPos()
    • onClose

      public void onClose()
      Overrides:
      onClose in class Screen
    • closeAndSetScreen

      private void closeAndSetScreen(Screen p_272914_)
    • close

      private void close(boolean p_342115_, Runnable p_299263_)
    • render

      public void render(GuiGraphics p_282353_, int p_265135_, int p_265032_, float p_265387_)
      Specified by:
      render in interface Renderable
      Overrides:
      render in class Screen
    • renderPanorama

      protected void renderPanorama(GuiGraphics p_336323_, float p_332027_)
      Overrides:
      renderPanorama in class Screen
    • handleInitialNarrationDelay

      private void handleInitialNarrationDelay()