public interface IItemFontProvider
font://<font-family>/<size>/<style>If the authority is omitted, the viewer's current font family is specified. If the height, which is specified in points, is omitted, the viewer's current font height is specified; a size delta can be expressed as using + or - with the size, e.g., +2 specifies a point height two points larger than the viewer's current font height. The style can specify
"normal"
, "bold"
, "italic"
, or "bold+italic"
variations;
when omitted, the viewer's current font style is specified.Modifier and Type | Field and Description |
---|---|
static URI |
BOLD_FONT
An instance object used to specify a bold version of the viewer's font:
font:////bold
|
static URI |
BOLD_ITALIC_FONT
An instance object used to specify an bold italic version of the viwer's font:
font:////bold+italic
|
static URI |
ITALIC_FONT
An instance object used to specify an italic version of the viwer's font:
font:////italic
|
static URI |
NORMAL_FONT
An instance object used to specify a normal version of the viewer's font:
font:////normal
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getFont(java.lang.Object object)
This does the same thing as IFontProvider.getFont,
it fetches the font specific to this object instance.
|
static final URI NORMAL_FONT
font:////normal
static final URI BOLD_FONT
font:////bold
static final URI ITALIC_FONT
font:////italic
static final URI BOLD_ITALIC_FONT
font:////bold+italic