Class AttributedString

  • All Implemented Interfaces:
    java.lang.CharSequence

    public class AttributedString
    extends AttributedCharSequence
    Attributed string. Instances of this class are immutables. Substrings are created without any memory copy.
    • Field Detail

      • buffer

        final char[] buffer
      • style

        final long[] style
      • start

        final int start
      • end

        final int end
    • Constructor Detail

      • AttributedString

        public AttributedString​(java.lang.CharSequence str)
      • AttributedString

        public AttributedString​(java.lang.CharSequence str,
                                int start,
                                int end)
      • AttributedString

        public AttributedString​(java.lang.CharSequence str,
                                AttributedStyle s)
      • AttributedString

        public AttributedString​(java.lang.CharSequence str,
                                int start,
                                int end,
                                AttributedStyle s)
      • AttributedString

        AttributedString​(char[] buffer,
                         long[] style,
                         int start,
                         int end)