public class DefaultTextAttribute extends java.lang.Object implements TextAttribute
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultTextAttribute.Builder
Provides a builder for a default text attribute
|
| Modifier and Type | Field and Description |
|---|---|
protected int |
length |
| Modifier | Constructor and Description |
|---|---|
protected |
DefaultTextAttribute(int length,
DefaultTextAttribute.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDictionaryIdentifier()
Gets the dictionary identifier that applies to this text
attribute.
|
int |
getWidth()
Gets the width of this object
|
boolean |
hasChildren()
Returns true if this object has text attribute children.
|
java.util.Iterator<TextAttribute> |
iterator() |
java.lang.String |
toString() |
protected DefaultTextAttribute(int length,
DefaultTextAttribute.Builder builder)
public int getWidth()
TextAttributegetWidth in interface TextAttributepublic boolean hasChildren()
TextAttributehasChildren in interface TextAttributepublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getDictionaryIdentifier()
TextAttributegetDictionaryIdentifier in interface TextAttributepublic java.util.Iterator<TextAttribute> iterator()
iterator in interface java.lang.Iterable<TextAttribute>