Class AbstractReportScreen<B extends Report.Builder<?>>

All Implemented Interfaces:
ContainerEventHandler, GuiEventListener, Renderable, TabOrderedElement
Direct Known Subclasses:
ChatReportScreen, NameReportScreen, SkinReportScreen

public abstract class AbstractReportScreen<B extends Report.Builder<?>> extends Screen
  • Field Details

    • REPORT_SENT_MESSAGE

      private static final Component REPORT_SENT_MESSAGE
    • REPORT_SENDING_TITLE

      private static final Component REPORT_SENDING_TITLE
    • REPORT_SENT_TITLE

      private static final Component REPORT_SENT_TITLE
    • REPORT_ERROR_TITLE

      private static final Component REPORT_ERROR_TITLE
    • REPORT_SEND_GENERIC_ERROR

      private static final Component REPORT_SEND_GENERIC_ERROR
    • SEND_REPORT

      protected static final Component SEND_REPORT
    • OBSERVED_WHAT_LABEL

      protected static final Component OBSERVED_WHAT_LABEL
    • SELECT_REASON

      protected static final Component SELECT_REASON
    • DESCRIBE_PLACEHOLDER

      private static final Component DESCRIBE_PLACEHOLDER
    • MORE_COMMENTS_LABEL

      protected static final Component MORE_COMMENTS_LABEL
    • MORE_COMMENTS_NARRATION

      private static final Component MORE_COMMENTS_NARRATION
    • MARGIN

      protected static final int MARGIN
      See Also:
    • SCREEN_WIDTH

      protected static final int SCREEN_WIDTH
      See Also:
    • SPACING

      protected static final int SPACING
      See Also:
    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • lastScreen

      protected final Screen lastScreen
    • reportingContext

      protected final ReportingContext reportingContext
    • reportBuilder

      protected B extends Report.Builder<?> reportBuilder
  • Constructor Details

  • Method Details

    • createCommentBox

      protected MultiLineEditBox createCommentBox(int p_300027_, int p_300007_, Consumer<String> p_299915_)
    • sendReport

      protected void sendReport()
    • onReportSendSuccess

      private void onReportSendSuccess()
    • onReportSendError

      private void onReportSendError(Throwable p_299933_)
    • displayReportSendError

      private void displayReportSendError(Component p_299983_)
    • saveDraft

      void saveDraft()
    • clearDraft

      void clearDraft()
    • onClose

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

      public void removed()
      Overrides:
      removed in class Screen