| Modifier and Type | Class and Description |
|---|---|
| public static enum | DisplayGroupToken.
The token's type |
| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final DisplayGroupToken. |
| Access | Constructor and Description |
|---|---|
| public | DisplayGroupToken(boolean
true if the token opens a new display group,
false if it closes itthe token's type typeConstruct a new token |
| public | DisplayGroupToken(boolean
true if the token opens a new display group,
false if it closes itthe token's type type,the token's formatting attributes formattingAttributes)Construct a new token |
| public | DisplayGroupToken(boolean
true if the token opens a new display group,
false if it closes itthe token's type type,the token's formatting attributes formattingAttributes, boolean true if the token is part of the firstConstruct a new token |
| Modifier and Type | Method and Description |
|---|---|
| public DisplayGroupToken | copyWithFirstField(boolean firstField)
Implements abstract de. Create a copy of this token but replaces its first-field flag |
| public DisplayGroupToken. | |
| public boolean | Returns: thetrue if the token opens a new display group,
false if it closes itGet whether the token opens a display group ( |
| public Token | wrapFormattingAttributes(int otherFormattingAttributes)
Implements abstract de. Wrap other formatting attributes around the formatting attributes of this token and return a new token. |
| open | back to summary |
|---|---|
| private final boolean open | |
| type | back to summary |
|---|---|
| private final DisplayGroupToken. | |
| DisplayGroupToken | back to summary |
|---|---|
| public DisplayGroupToken(boolean open, DisplayGroupToken. Construct a new token
| |
| DisplayGroupToken | back to summary |
|---|---|
| public DisplayGroupToken(boolean open, DisplayGroupToken. Construct a new token
| |
| DisplayGroupToken | back to summary |
|---|---|
| public DisplayGroupToken(boolean open, DisplayGroupToken. Construct a new token
| |
| copyWithFirstField | back to summary |
|---|---|
| public DisplayGroupToken copyWithFirstField(boolean firstField) Implements abstract de. Doc from de. Create a copy of this token but replaces its first-field flag
| |
| getType | back to summary |
|---|---|
| public DisplayGroupToken. Get the token's type
| |
| isOpen | back to summary |
|---|---|
| public boolean isOpen() Get whether the token opens a display group (
| |
| wrapFormattingAttributes | back to summary |
|---|---|
| public Token wrapFormattingAttributes(int otherFormattingAttributes) Implements abstract de. Doc from de. Wrap other formatting attributes around the formatting attributes of this token and return a new token. The formatting attributes of this token will be merged into the other attributes, so that attributes that are set in this token overwrite the other attributes.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final DisplayGroupToken. | BLOCK
The group should be displayed as a text block |
| public static final DisplayGroupToken. | INDENT
The group is a text block indented to the right |
| public static final DisplayGroupToken. | LEFT_MARGIN
The group is a text block that should start at the left margin |
| public static final DisplayGroupToken. | RIGHT_INLINE
The group represents a text block starting to the right of a preceding left-margin block |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static DisplayGroupToken. | |
| public static DisplayGroupToken. |
| BLOCK | back to summary |
|---|---|
| public static final DisplayGroupToken. The group should be displayed as a text block | |
| INDENT | back to summary |
|---|---|
| public static final DisplayGroupToken. The group is a text block indented to the right | |
| LEFT_MARGIN | back to summary |
|---|---|
| public static final DisplayGroupToken. The group is a text block that should start at the left margin | |
| RIGHT_INLINE | back to summary |
|---|---|
| public static final DisplayGroupToken. The group represents a text block starting to the right of a preceding left-margin block | |
| Type | back to summary |
|---|---|
| private Type() | |
| valueOf | back to summary |
|---|---|
| public static DisplayGroupToken. | |
| values | back to summary |
|---|---|
| public static DisplayGroupToken. | |