Class GUIRunner.StackTraceLister

    • Field Detail

      • thrw

        private Throwable thrw
        Represents a throwable or is null if no throwable is represented. This is also the initial value.
      • thrwMessager

        private final JLabel thrwMessager
        Is empty iff thrw is null and contains the string representation of the represented throwable thrw.
      • stacktrace

        private final DefaultListModel<String> stacktrace
        Is either empty or contains the stacktrace of the represented throwable thrw.
      • stackElemSelection

        private final ListSelectionModel stackElemSelection
        The selection of this stack trace: This is either empty (which is mandatory for empty thrwMessager) or selects a single stack element. If so, by selection emacsclient is started at the place the stack element points to.
    • Constructor Detail

      • StackTraceLister

        StackTraceLister()
        Creates a new StackTraceLister with empty throwable.
    • Method Detail

      • getStackTraceBox

        Component getStackTraceBox()
        Returns a graphical representation of this StackTraceLister.
      • clearStack

        void clearStack()
        Clears the represented stack including thrw and text.
      • setStack

        void setStack​(Throwable thrw)
        Represents the throwable thrw if this is not null; otherwise just clears this stack trace lister as is done by clearStack(). The selection is cleared anyway.