Package | Description |
---|---|
org.teavm.classlib.java.text |
Modifier and Type | Class and Description |
---|---|
static class |
TDateFormat.Field |
static class |
TFormat.Field |
static class |
TMessageFormat.Field |
static class |
TNumberFormat.Field |
Modifier and Type | Field and Description |
---|---|
static TAttributedCharacterIterator.Attribute |
TAttributedCharacterIterator.Attribute.INPUT_METHOD_SEGMENT |
static TAttributedCharacterIterator.Attribute |
TAttributedCharacterIterator.Attribute.LANGUAGE |
static TAttributedCharacterIterator.Attribute |
TAttributedCharacterIterator.Attribute.READING |
Modifier and Type | Method and Description |
---|---|
TSet<TAttributedCharacterIterator.Attribute> |
TAttributedCharacterIterator.getAllAttributeKeys()
Returns a set of attributes present in the
AttributedCharacterIterator . |
TMap<TAttributedCharacterIterator.Attribute,Object> |
TAttributedCharacterIterator.getAttributes()
Returns a map of all attributes of the current character.
|
Modifier and Type | Method and Description |
---|---|
void |
TAttributedString.addAttribute(TAttributedCharacterIterator.Attribute attribute,
Object value)
Applies a given attribute to this string.
|
void |
TAttributedString.addAttribute(TAttributedCharacterIterator.Attribute attribute,
Object value,
int start,
int end)
Applies a given attribute to the given range of this string.
|
Object |
TAttributedCharacterIterator.getAttribute(TAttributedCharacterIterator.Attribute attribute)
Returns the value stored in the attribute for the current character.
|
TAttributedCharacterIterator |
TAttributedString.getIterator(TAttributedCharacterIterator.Attribute[] attributes)
Returns an
AttributedCharacterIterator that gives access to the
complete content of this attributed string. |
TAttributedCharacterIterator |
TAttributedString.getIterator(TAttributedCharacterIterator.Attribute[] attributes,
int start,
int end)
Returns an
AttributedCharacterIterator that gives access to the
contents of this attributed string starting at index start up to
index end . |
int |
TAttributedCharacterIterator.getRunLimit(TAttributedCharacterIterator.Attribute attribute)
Returns the index of the last character in the run that has the same
attribute value for the given attribute as the current character.
|
int |
TAttributedCharacterIterator.getRunStart(TAttributedCharacterIterator.Attribute attribute)
Returns the index of the first character in the run that has the same
attribute value for the given attribute as the current character.
|
Modifier and Type | Method and Description |
---|---|
void |
TAttributedString.addAttributes(TMap<? extends TAttributedCharacterIterator.Attribute,?> attributes,
int start,
int end)
Applies a given set of attributes to the given range of the string.
|
int |
TAttributedCharacterIterator.getRunLimit(TSet<? extends TAttributedCharacterIterator.Attribute> attributes)
Returns the index of the last character in the run that has the same
attribute values for the attributes in the set as the current character.
|
int |
TAttributedCharacterIterator.getRunStart(TSet<? extends TAttributedCharacterIterator.Attribute> attributes)
Returns the index of the first character in the run that has the same
attribute values for the attributes in the set as the current character.
|
Constructor and Description |
---|
TAttributedString(TAttributedCharacterIterator iterator,
int start,
int end,
TAttributedCharacterIterator.Attribute[] attributes) |
Constructor and Description |
---|
TAttributedString(String value,
TMap<? extends TAttributedCharacterIterator.Attribute,?> attributes) |
Copyright © 2019. All rights reserved.