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 voiddrawText(UGraphic ug, double x, double y)voiddrawU(UGraphic ug, int zIndex, Dimension2D dimToUse)protected FontConfigurationgetConfig()Dimension2DgetPreferredDimension(StringBounder stringBounder, double x, double y)protected Dimension2DgetPureTextDimension(StringBounder stringBounder)protected Dimension2DgetTextDimensionAt(StringBounder stringBounder, double x)-
Methods inherited from class net.sourceforge.plantuml.salt.element.AbstractElement
getThemeStyle
-
-
-
-
Constructor Detail
-
ElementTextField
public ElementTextField(String text, UFont font, ISkinSimple spriteContainer)
-
-
Method Detail
-
getPreferredDimension
public Dimension2D getPreferredDimension(StringBounder stringBounder, double x, double y)
- Specified by:
getPreferredDimensionin interfaceElement
-
drawU
public void drawU(UGraphic ug, int zIndex, Dimension2D dimToUse)
-
drawText
protected void drawText(UGraphic ug, double x, double y)
-
getPureTextDimension
protected Dimension2D getPureTextDimension(StringBounder stringBounder)
-
getTextDimensionAt
protected Dimension2D getTextDimensionAt(StringBounder stringBounder, double x)
-
getConfig
protected final FontConfiguration getConfig()
-
-