public class DefaultTextAttribute extends 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 |
|---|---|
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.
|
Iterator<TextAttribute> |
iterator() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorprotected DefaultTextAttribute(int length,
DefaultTextAttribute.Builder builder)
public int getWidth()
TextAttributegetWidth in interface TextAttributepublic boolean hasChildren()
TextAttributehasChildren in interface TextAttributepublic String getDictionaryIdentifier()
TextAttributegetDictionaryIdentifier in interface TextAttributepublic Iterator<TextAttribute> iterator()
iterator in interface Iterable<TextAttribute>