public final class ElementAttribute extends Object implements Attribute
AttributedRuns.
In addition to defining the type for element attribute keys, this class defines a number of well-known element attributes, and in particular all the attributes which are exchanged between an inline formatter and its clients. For each such attribute, we define the possible values.
Other ElementAttribute objects can be created and used by the client
of an inline formatter. However, these keys will be ignored by the
inline formatters of this package.
| Modifier and Type | Field and Description |
|---|---|
static ElementAttribute |
alternate
The alternate to use for this glyph.
|
static ElementAttribute |
bidiLevel
The Unicode bidi level of this element.
|
static ElementAttribute |
CSS20Attribute
The CSS attributes to use for font selection.
|
static ElementAttribute |
digitCase
Digit case.
|
static ElementAttribute |
digitWidth
Digit width.
|
static ElementAttribute |
font
The font used to render an element.
|
static ElementAttribute |
fontStyle
The font style used to render an element.
|
static ElementAttribute |
isGlyph
Whether the element is a glyph or a character.
|
static ElementAttribute |
joiningType
The joining type for this element.
|
static ElementAttribute |
locale
The locale for which to format.
|
static ElementAttribute |
pointSize
The point size of an element.
|
static ElementAttribute |
typographicCase
The casing of the text.
|
| Constructor and Description |
|---|
ElementAttribute(String name)
Create a new ElementAttribute.
|
public static final ElementAttribute CSS20Attribute
CSS20Attribute.public static final ElementAttribute locale
public static final ElementAttribute font
com.adobe.fontengine.font.Font object.public static final ElementAttribute fontStyle
FontStylepublic static final ElementAttribute typographicCase
TypographicCase.public static final ElementAttribute digitCase
public static final ElementAttribute digitWidth
DigitWidth.public static final ElementAttribute alternate
public static final ElementAttribute isGlyph
public static final ElementAttribute pointSize
Double.public static final ElementAttribute bidiLevel
Integer in the range 0..63.public static final ElementAttribute joiningType
public ElementAttribute(String name)
name - for debugging purposesCopyright © 2010 - 2020 Adobe. All Rights Reserved