Class RawTextBuilder.TextFragment

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.awt.Color color  
      private boolean resetColor  
      private java.lang.String text  
    • Constructor Summary

      Constructors 
      Constructor Description
      TextFragment​(java.lang.String text, java.awt.Color color)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.awt.Color getColor()  
      java.lang.String getText()  
      boolean isResetColor()  
      void setResetColor​(boolean resetColor)  
      • Methods inherited from class java.lang.Object

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

      • text

        private final java.lang.String text
      • color

        @CheckForNull
        private final java.awt.Color color
      • resetColor

        private boolean resetColor
    • Constructor Detail

      • TextFragment

        public TextFragment​(java.lang.String text,
                            @CheckForNull
                            java.awt.Color color)
    • Method Detail

      • getText

        public java.lang.String getText()
      • getColor

        @CheckForNull
        public java.awt.Color getColor()
      • isResetColor

        public boolean isResetColor()
      • setResetColor

        public void setResetColor​(boolean resetColor)