Class MarkupRenderer.StyledParagraph

  • Enclosing class:
    MarkupRenderer

    protected class MarkupRenderer.StyledParagraph
    extends java.text.AttributedString
    This class provides an AttributedString with extended information on how the string should be drawn.
    • Constructor Summary

      Constructors 
      Constructor Description
      StyledParagraph​(java.lang.String text)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getAlignment()  
      int getLineTightness()  
      boolean isTitleLine()  
      void setAlignment​(int alignment)  
      void setLineTightness​(int tightness)  
      void setTitleLine​(boolean isATitle)  
      • Methods inherited from class java.text.AttributedString

        addAttribute, addAttribute, addAttributes, getIterator, getIterator, getIterator
      • Methods inherited from class java.lang.Object

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

      • StyledParagraph

        public StyledParagraph​(java.lang.String text)
    • Method Detail

      • isTitleLine

        public boolean isTitleLine()
      • setTitleLine

        public void setTitleLine​(boolean isATitle)
      • getLineTightness

        public int getLineTightness()
      • setLineTightness

        public void setLineTightness​(int tightness)
      • setAlignment

        public void setAlignment​(int alignment)
      • getAlignment

        public int getAlignment()