Class TStackTracePanel

All Implemented Interfaces:
TParentElement, ITooltipProvider, IEnableStateProvider

public final class TStackTracePanel extends TRefreshablePanelElement
A TPanelElement that displays information about a Throwable that was thrown.
  • Constructor Details

    • TStackTracePanel

      public TStackTracePanel(int x, int y, int width, int height)
    • TStackTracePanel

      public TStackTracePanel(int x, int y, int width, int height, Throwable throwable) throws NullPointerException
      Throws:
      NullPointerException
  • Method Details

    • setTitle

      public final void setTitle(@Nullable @Nullable String title)
    • setDescription

      public final void setDescription(@Nullable @Nullable String description)
    • setThrowable

      public final void setThrowable(@Nullable @Nullable Throwable throwable)
    • setCloseAction

      public final void setCloseAction(@Nullable @Nullable Runnable closeAction)
    • getTitle

      @Nullable public final @Nullable String getTitle()
    • getDescription

      @Nullable public final @Nullable String getDescription()
    • getThrowable

      @Nullable public final @Nullable Throwable getThrowable()
    • getCloseAction

      @Nullable public final @Nullable Runnable getCloseAction()
    • render

      public final void render(TDrawContext pencil)
      Description copied from interface: TParentElement
      Renders this GUI element on the screen.
      Specified by:
      render in interface TParentElement
      Overrides:
      render in class TPanelElement
      Parameters:
      pencil - The TDrawContext.
    • init

      protected final void init()
      Description copied from class: TRefreshablePanelElement
      Initializes this TRefreshablePanelElement.
      Specified by:
      init in class TRefreshablePanelElement