StyleAttributeMap
| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final String | |
| private final Class |
| Access | Constructor and Description |
|---|---|
| public | StyleAttribute(String
the attribute name (cannot be null) name, Class<T> the attribute type type, boolean specifies a paragraph attribute (true), or a character attribute (false) isParagraph)Constructs the style attribute. |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public final Class | |
| public boolean | Returns: true for a paragraph attribute, false for a character attributeReturns true for a paragraph attribute, false for a character attribute. |
| public String |
| isParagraph | back to summary |
|---|---|
| private final boolean isParagraph | |
| name | back to summary |
|---|---|
| private final String name | |
| type | back to summary |
|---|---|
| private final Class<T> type | |
| StyleAttribute | back to summary |
|---|---|
| public StyleAttribute(String name, Class<T> type, boolean isParagraph) Constructs the style attribute. | |
| getName | back to summary |
|---|---|
| public String getName() Attribute name.
| |
| getType | back to summary |
|---|---|
| public final Class Returns the class corresponding to the attribute value.
| |
| isParagraphAttribute | back to summary |
|---|---|
| public boolean isParagraphAttribute() Returns true for a paragraph attribute, false for a character attribute.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |