Class ComplexTextLineWrapper

  • All Implemented Interfaces:
    TextLineWrapper

    public class ComplexTextLineWrapper
    extends java.lang.Object
    implements TextLineWrapper
    Author:
    Teodor Danciu (teodord@users.sourceforge.net)
    • Constructor Detail

      • ComplexTextLineWrapper

        public ComplexTextLineWrapper()
    • Method Detail

      • startParagraph

        public void startParagraph​(int paragraphStart,
                                   int paragraphEnd,
                                   boolean truncateAtChar)
        Specified by:
        startParagraph in interface TextLineWrapper
      • startParagraph

        protected void startParagraph​(java.text.AttributedCharacterIterator paragraph,
                                      boolean truncateAtChar)
      • getLineText

        public java.lang.String getLineText​(int start,
                                            int end)
        Specified by:
        getLineText in interface TextLineWrapper
      • setAttributes

        protected void setAttributes​(java.text.AttributedString string,
                                     java.text.AttributedCharacterIterator attributes,
                                     int stringOffset)
      • setAttributes

        protected void setAttributes​(java.text.AttributedString string,
                                     java.util.Map<java.text.AttributedCharacterIterator.Attribute,​java.lang.Object> attributes,
                                     int startIndex,
                                     int endIndex)