| Interface | Description |
|---|---|
| Area |
Defines an area with a width and height.
|
| ControlCharacters.ControlCharacterFactory |
A control character factory is used to create control characters on the
fly from the control pattern.
|
| DrawableText |
Represents a drawable text.
|
| DrawContext |
Provides the current page and document to draw to.
|
| DrawListener |
Called if an object has been drawn.
|
| TextFragment |
A text fragment describes a drawable piece of text associated with a font,
size and color.
|
| TextSequence |
A tagging interface describing some drawable text consisting of text
fragments.
|
| WidthRespecting |
If a drawable is width-respecting, a max width may be set by layouts in order
fit layout constraints.
|
| Class | Description |
|---|---|
| Constants | |
| ControlCharacter |
A control character represents the pattern to match and escape sequence for
character sequences with a special meaning.
|
| ControlCharacters |
Container class for all control character factories.
|
| ControlCharacters.BoldControlCharacter |
An asterisk ('*') indicates switching of bold font mode in markup.
|
| ControlCharacters.ColorControlCharacter |
An
{color:#ee22aa} indicates switching the color in markup,
where the color is given as hex RGB code (ee22aa in this case). |
| ControlCharacters.ItalicControlCharacter |
An underscore ('_') indicates switching of italic font mode in markup.
|
| ControlCharacters.MetricsControlCharacter | |
| ControlCharacters.NewLineControlCharacter |
LF ('\n') and CRLF ('\r\n') indicates a new line.
|
| ControlFragment |
A control fragment has no drawable representation but is meant to control the
text rendering.
|
| FontDescriptor |
Container for a Font and size.
|
| Indent |
Control fragment that represents a indent in text.
|
| IndentCharacters |
Container class for current supported indentation control characters.
|
| IndentCharacters.EnumerationCharacter |
An
-#{a):7em} indicates an enumeration indentation of 7
characters in markup, using a)...b)...etc as the
enumeration. |
| IndentCharacters.IndentCharacter |
An
--{7em} indicates an indentation of 7 characters in markup,
where the number, the unit, and the brackets are optional. |
| IndentCharacters.ListCharacter |
An
-+{--:7em} indicates a list indentation of 7 characters in
markup, using -- as the bullet. |
| NewLine |
Control fragment that represents a new line in text.
|
| Position |
In order to avoid dependencies to AWT classes (e.g.
|
| ReplacedWhitespace |
Acts as a replacement for whitespace that has been removed by word wrapping.
|
| StyledText |
Base class representing drawable text styled with font, size, color etc.
|
| TextFlow |
A text flow is a text sequence that
respects a given
width by word wrapping the text. |
| TextFlowUtil | |
| TextLine |
A text of line containing only
StyledTexts. |
| TextSequenceUtil |
Utility methods for dealing with text sequences.
|
| WrappingNewLine |
A NewLine introduced by wrapping.
|
| Enum | Description |
|---|---|
| Alignment |
Enumeration for (vertical) alignment.
|
| BaseFont |
In order to easy handling with fonts, this enum bundles the
plain/italic/bold/bold-italic variants of the three standard font types
Times,Courier and
Helveticy. |
| SpaceUnit |
Unit to specify space, currently only em and pt.
|
Copyright © 2022. All rights reserved.