Class FancyHeader

  • All Implemented Interfaces:
    FancyText

    public class FancyHeader
    extends java.lang.Object
    implements FancyText
    A colored text-header.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void appendText​(java.lang.String string)
      Appends text to this FancyHeader.
      java.lang.String getFancyText()
      Gets the String-representation of this FancyText.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FancyHeader

        public FancyHeader​(java.lang.String text,
                           FancyColorScheme scheme)
    • Method Detail

      • getFancyText

        public java.lang.String getFancyText()
        Description copied from interface: FancyText
        Gets the String-representation of this FancyText.
        Specified by:
        getFancyText in interface FancyText
        Returns:
        The String-representation of this FancyText.
      • appendText

        public void appendText​(java.lang.String string)
        Appends text to this FancyHeader.
        Parameters:
        string - The text to append.