Class TextGroupElement.Child
java.lang.Object
org.openscience.cdk.renderer.elements.TextGroupElement.Child
- Enclosing class:
- TextGroupElement
A string of text that should be shown around the parent.
- Author:
- maclean
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionChild
(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. -
Method Summary
-
Field Details
-
text
The text of this child. -
subscript
A subscript (if any) for the child. -
position
The position of the child relative to the parent.
-
-
Constructor Details
-
Child
Make a child element with the specified text and position.- Parameters:
text
- the child's textposition
- the position of the child relative to the parent
-
Child
Make a child element with the specified text, subscript, and position.- Parameters:
text
- the child's textsubscript
- a subscript for the childposition
- the position of the child relative to the parent
-