public final class AtomText extends AbstractAtom implements Atom
| Modifier and Type | Class and Description |
|---|---|
protected static interface |
AtomText.DelayedDouble |
| Modifier | Constructor and Description |
|---|---|
protected |
AtomText(java.lang.String text,
FontConfiguration style,
Url url,
AtomText.DelayedDouble marginLeft,
AtomText.DelayedDouble marginRight,
boolean manageSpecialChars) |
| Modifier and Type | Method and Description |
|---|---|
Dimension2D |
calculateDimension(StringBounder stringBounder) |
void |
drawU(UGraphic ug) |
FontConfiguration |
getFontConfiguration() |
java.util.List<Atom> |
getSplitted(StringBounder stringBounder,
LineBreakStrategy maxWidthAsString) |
double |
getStartingAltitude(StringBounder stringBounder) |
java.lang.String |
getText() |
java.util.List<Atom> |
splitInTwo(StringBounder stringBounder,
double width) |
java.lang.String |
toString() |
protected AtomText(java.lang.String text,
FontConfiguration style,
Url url,
AtomText.DelayedDouble marginLeft,
AtomText.DelayedDouble marginRight,
boolean manageSpecialChars)
public Dimension2D calculateDimension(StringBounder stringBounder)
calculateDimension in interface Atompublic java.util.List<Atom> getSplitted(StringBounder stringBounder, LineBreakStrategy maxWidthAsString)
public java.util.List<Atom> splitInTwo(StringBounder stringBounder, double width)
splitInTwo in interface AtomsplitInTwo in class AbstractAtompublic final java.lang.String getText()
public double getStartingAltitude(StringBounder stringBounder)
getStartingAltitude in interface Atompublic java.lang.String toString()
toString in class java.lang.Objectpublic FontConfiguration getFontConfiguration()