Build 1.0_r1(from source)

java.text
Class AttributedString

java.lang.Object
  extended by java.text.AttributedString

public class AttributedString
extends Object

AttributedString


Nested Class Summary
(package private) static class AttributedString.AttributedIterator
           
(package private) static class AttributedString.Range
           
 
Field Summary
(package private)  Map<AttributedCharacterIterator.Attribute,List<AttributedString.Range>> attributeMap
           
(package private)  String text
           
 
Constructor Summary
AttributedString(AttributedCharacterIterator iterator)
           
AttributedString(AttributedCharacterIterator iterator, int start, int end)
           
AttributedString(AttributedCharacterIterator iterator, int start, int end, AttributedCharacterIterator.Attribute[] attributes)
           
AttributedString(String value)
           
AttributedString(String value, Map<? extends AttributedCharacterIterator.Attribute,?> attributes)
           
 
Method Summary
 void addAttribute(AttributedCharacterIterator.Attribute attribute, Object value)
           
 void addAttribute(AttributedCharacterIterator.Attribute attribute, Object value, int start, int end)
           
 void addAttributes(Map<? extends AttributedCharacterIterator.Attribute,?> attributes, int start, int end)
           
 AttributedCharacterIterator getIterator()
           
 AttributedCharacterIterator getIterator(AttributedCharacterIterator.Attribute[] attributes)
           
 AttributedCharacterIterator getIterator(AttributedCharacterIterator.Attribute[] attributes, int start, int end)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

text

String text

attributeMap

Map<AttributedCharacterIterator.Attribute,List<AttributedString.Range>> attributeMap
Constructor Detail

AttributedString

public AttributedString(AttributedCharacterIterator iterator)

AttributedString

public AttributedString(AttributedCharacterIterator iterator,
                        int start,
                        int end)

AttributedString

public AttributedString(AttributedCharacterIterator iterator,
                        int start,
                        int end,
                        AttributedCharacterIterator.Attribute[] attributes)

AttributedString

public AttributedString(String value)

AttributedString

public AttributedString(String value,
                        Map<? extends AttributedCharacterIterator.Attribute,?> attributes)
Method Detail

addAttribute

public void addAttribute(AttributedCharacterIterator.Attribute attribute,
                         Object value)

addAttribute

public void addAttribute(AttributedCharacterIterator.Attribute attribute,
                         Object value,
                         int start,
                         int end)

addAttributes

public void addAttributes(Map<? extends AttributedCharacterIterator.Attribute,?> attributes,
                          int start,
                          int end)

getIterator

public AttributedCharacterIterator getIterator()

getIterator

public AttributedCharacterIterator getIterator(AttributedCharacterIterator.Attribute[] attributes)

getIterator

public AttributedCharacterIterator getIterator(AttributedCharacterIterator.Attribute[] attributes,
                                               int start,
                                               int end)

Build 1.0_r1(from source)

Please submit a feedback, bug or feature