StyleAttributeMap
| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class | |
| private static class | |
| private static class |
| Access | Constructor and Description |
|---|---|
| private | StyleAttribute(String
the attribute name (cannot be null) name, Class<T> the attribute type (cannot be null) type)Constructs the style attribute. |
| Modifier and Type | Method and Description |
|---|---|
| public static < the attribute value type P> StyleAttribute | |
| public static < the attribute value type P> StyleAttribute | |
| public boolean | equals(Object x)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public String | |
| public final Class | |
| public int | |
| public static < the attribute value type P> StyleAttribute | Returns: the new attribute instancethe attribute name name, Class<P> the attribute value type type)Creates an inline node character attribute. |
| public boolean | Returns: true for a character attributeReturns true if this instance is a character attribute. |
| public boolean | Returns: true for a document attributeReturns true if this instance is a document attribute. |
| public boolean | Returns: true for an inline node attributeReturns true if this instance is an inline node character attribute. |
| public boolean | Returns: true for a paragraph attributeReturns true if this instance is a paragraph attribute. |
| public static < the attribute value type P> StyleAttribute | |
| public String |
| name | back to summary |
|---|---|
| private final String name | |
| type | back to summary |
|---|---|
| private final Class<T> type | |
| StyleAttribute | back to summary |
|---|---|
| private StyleAttribute(String name, Class<T> type) Constructs the style attribute. | |
| character | back to summary |
|---|---|
| public static <P> StyleAttribute Creates a character attribute.
| |
| document | back to summary |
|---|---|
| public static <P> StyleAttribute Creates a document attribute.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object x) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getName | back to summary |
|---|---|
| public String getName() Attribute name.
| |
| getType | back to summary |
|---|---|
| public final Class Returns the class corresponding to the attribute value.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| inlineNode | back to summary |
|---|---|
| public static <P> StyleAttribute Creates an inline node character attribute.
| |
| isCharacterAttribute | back to summary |
|---|---|
| public boolean isCharacterAttribute() Returns true if this instance is a character attribute.
| |
| isDocumentAttribute | back to summary |
|---|---|
| public boolean isDocumentAttribute() Returns true if this instance is a document attribute.
| |
| isInlineNode | back to summary |
|---|---|
| public boolean isInlineNode() Returns true if this instance is an inline node character attribute.
| |
| isParagraphAttribute | back to summary |
|---|---|
| public boolean isParagraphAttribute() Returns true if this instance is a paragraph attribute.
| |
| paragraph | back to summary |
|---|---|
| public static <P> StyleAttribute Creates a paragraph 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-
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | isCharacterAttribute()
Overrides jfx. Returns true if this instance is a character attribute. |
| CharacterStyleAttribute | back to summary |
|---|---|
| pack-priv CharacterStyleAttribute(String name, Class<X> type) | |
| isCharacterAttribute | back to summary |
|---|---|
| public boolean isCharacterAttribute() Overrides jfx. Doc from jfx. Returns true if this instance is a character attribute.
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | isDocumentAttribute()
Overrides jfx. Returns true if this instance is a document attribute. |
| DocumentStyleAttribute | back to summary |
|---|---|
| pack-priv DocumentStyleAttribute(String name, Class<X> type) | |
| isDocumentAttribute | back to summary |
|---|---|
| public boolean isDocumentAttribute() Overrides jfx. Doc from jfx. Returns true if this instance is a document attribute.
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | isCharacterAttribute()
Overrides jfx. Returns true if this instance is a character attribute. |
| public boolean | isInlineNode()
Overrides jfx. Returns true if this instance is an inline node character attribute. |
| InlineNodeStyleAttribute | back to summary |
|---|---|
| pack-priv InlineNodeStyleAttribute(String name, Class<X> type) | |
| isCharacterAttribute | back to summary |
|---|---|
| public boolean isCharacterAttribute() Overrides jfx. Doc from jfx. Returns true if this instance is a character attribute.
| |
| isInlineNode | back to summary |
|---|---|
| public boolean isInlineNode() Overrides jfx. Doc from jfx. Returns true if this instance is an inline node character attribute.
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | isParagraphAttribute()
Overrides jfx. Returns true if this instance is a paragraph attribute. |
| ParagraphStyleAttribute | back to summary |
|---|---|
| pack-priv ParagraphStyleAttribute(String name, Class<X> type) | |
| isParagraphAttribute | back to summary |
|---|---|
| public boolean isParagraphAttribute() Overrides jfx. Doc from jfx. Returns true if this instance is a paragraph attribute.
| |