public class TextGroupElement.Child extends Object
Modifier and Type | Field and Description |
---|---|
TextGroupElement.Position |
position
The position of the child relative to the parent.
|
String |
subscript
A subscript (if any) for the child.
|
String |
text
The text of this child.
|
Constructor and Description |
---|
Child(String text,
String subscript,
TextGroupElement.Position position)
Make a child element with the specified text, subscript, and position.
|
Child(String text,
TextGroupElement.Position position)
Make a child element with the specified text and position.
|
public final String text
public final String subscript
public final TextGroupElement.Position position
public Child(String text, TextGroupElement.Position position)
text
- the child's textposition
- the position of the child relative to the parentpublic Child(String text, String subscript, TextGroupElement.Position position)
text
- the child's textsubscript
- a subscript for the childposition
- the position of the child relative to the parentCopyright © 2021. All rights reserved.