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, Dimension2D dimToUse)
protected FontConfiguration
getConfig()
Dimension2D
getPreferredDimension(StringBounder stringBounder, double x, double y)
protected Dimension2D
getPureTextDimension(StringBounder stringBounder)
protected Dimension2D
getTextDimensionAt(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:
getPreferredDimension
in 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()
-
-