Class FormattedHeader<T>

    • Constructor Detail

      • FormattedHeader

        public FormattedHeader()
        Instantiates a new formatted header impl.
      • FormattedHeader

        public FormattedHeader​(FormattedColumn<? extends T>... aHeader)
        Instantiates a new formatted header impl.
        Parameters:
        aHeader - the header
    • Method Detail

      • getResetEscapeCode

        public String getResetEscapeCode()
        Gets the ANSI reset Escape-Code for this FormattedHeader instance. In case an ANSI Escape-Codes is set, then this ANSI Reset-Code is prepended to the according text being printed.
        Returns:
        The String to be used for resetting ANSI escaping.
      • setResetEscapeCode

        public void setResetEscapeCode​(String aEscapeCode)
        Gets the ANSI reset Escape-Code for this FormattedHeader instance. In case an ANSI Escape-Codes is set, then this ANSI Reset-Code is prepended to the according text being printed.
        Parameters:
        aEscapeCode - The String to be used for resetting ANSI escaping.
      • withResetEscapeCode

        public FormattedHeader<T> withResetEscapeCode​(String aEscapeCode)
        Sets the ANSI reset Escape-Code for this FormattedHeader instance as of the Builder-Pattern. In case an ANSI Escape-Codes is set, then this ANSI Reset-Code is prepended to the according text being printed.
        Parameters:
        aEscapeCode - The String to be used for resetting ANSI escaping.
        Returns:
        This FormattedHeader instance to continue configuration.