Class ElementTextField
- java.lang.Object
-
- net.sourceforge.plantuml.salt.element.AbstractElement
-
- net.sourceforge.plantuml.salt.element.ElementTextField
-
- All Implemented Interfaces:
Element
public class ElementTextField extends AbstractElement implements Element
-
-
Constructor Summary
Constructors Constructor Description ElementTextField(String text, UFont font, ISkinSimple spriteContainer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
drawText(UGraphic ug, double x, double y)
void
drawU(UGraphic ug, int zIndex, XDimension2D dimToUse)
protected FontConfiguration
getConfig()
XDimension2D
getPreferredDimension(StringBounder stringBounder, double x, double y)
protected XDimension2D
getPureTextDimension(StringBounder stringBounder)
protected XDimension2D
getTextDimensionAt(StringBounder stringBounder, double x)
-
Methods inherited from class net.sourceforge.plantuml.salt.element.AbstractElement
blackBlueTrue, getBlack, getColor88, getColorAA, getColorBB, getColorDD, getColorEE, getWhite
-
-
-
-
Constructor Detail
-
ElementTextField
public ElementTextField(String text, UFont font, ISkinSimple spriteContainer)
-
-
Method Detail
-
getPreferredDimension
public XDimension2D getPreferredDimension(StringBounder stringBounder, double x, double y)
- Specified by:
getPreferredDimension
in interfaceElement
-
drawU
public void drawU(UGraphic ug, int zIndex, XDimension2D dimToUse)
-
drawText
protected void drawText(UGraphic ug, double x, double y)
-
getPureTextDimension
protected XDimension2D getPureTextDimension(StringBounder stringBounder)
-
getTextDimensionAt
protected XDimension2D getTextDimensionAt(StringBounder stringBounder, double x)
-
getConfig
protected final FontConfiguration getConfig()
-
-