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_297252_, int p_301025_, Consumer<String> p_298469_)
    • sendReport

      protected void sendReport()
    • onReportSendSuccess

      private void onReportSendSuccess()
    • onReportSendError

      private void onReportSendError(Throwable p_297880_)
    • displayReportSendError

      private void displayReportSendError(Component p_301245_)
    • saveDraft

      void saveDraft()
    • clearDraft

      void clearDraft()
    • onClose

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

      public void removed()
      Overrides:
      removed in class Screen