Java java.text AttributedString fields, constructors, methods, implement or subclass

Example usage for Java java.text AttributedString fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.text AttributedString.

The text is from its open source code.

Constructor

AttributedString(AttributedCharacterIterator[] iterators)
Constructs an AttributedString instance with the given AttributedCharacterIterators.
AttributedString(String text)
Constructs an AttributedString instance with the given text.
AttributedString(AttributedCharacterIterator text)
Constructs an AttributedString instance with the given attributed text represented by AttributedCharacterIterator.
AttributedString(String text, Map attributes)
Constructs an AttributedString instance with the given text and attributes.
AttributedString(AttributedCharacterIterator text, int beginIndex, int endIndex)
Constructs an AttributedString instance with the subrange of the given attributed text represented by AttributedCharacterIterator.

Method

voidaddAttribute(Attribute attribute, Object value)
Adds an attribute to the entire string.
voidaddAttribute(Attribute attribute, Object value, int beginIndex, int endIndex)
Adds an attribute to a subrange of the string.
voidaddAttributes(Map attributes, int beginIndex, int endIndex)
Adds a set of attributes to a subrange of the string.
AttributedCharacterIteratorgetIterator()
Creates an AttributedCharacterIterator instance that provides access to the entire contents of this string.