public class TextSequenceElement extends java.lang.Object implements InlineSequenceElement
| Constructor and Description |
|---|
TextSequenceElement(RenderableText text) |
| Modifier and Type | Method and Description |
|---|---|
long |
getMaximumWidth()
The extra-space width for an element.
|
long |
getMinimumWidth()
The width of the element.
|
RenderNode |
getNode() |
boolean |
isPreserveWhitespace() |
public TextSequenceElement(RenderableText text)
public long getMinimumWidth()
getMinimumWidth in interface InlineSequenceElementpublic long getMaximumWidth()
getMaximumWidth in interface InlineSequenceElementpublic RenderNode getNode()
getNode in interface InlineSequenceElementpublic boolean isPreserveWhitespace()
isPreserveWhitespace in interface InlineSequenceElement