net.sourceforge.plantuml.salt.element
Class ElementButton
java.lang.Object
net.sourceforge.plantuml.salt.element.AbstractElement
net.sourceforge.plantuml.salt.element.ElementButton
- All Implemented Interfaces:
- Element
public class ElementButton
- extends AbstractElement
- implements Element
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ElementButton
public ElementButton(String text,
UFont font,
ISkinSimple spriteContainer)
getPreferredDimension
public Dimension2D getPreferredDimension(StringBounder stringBounder,
double x,
double y)
- Specified by:
getPreferredDimension
in interface Element
drawU
public void drawU(UGraphic ug,
int zIndex,
Dimension2D dimToUse)
- Specified by:
drawU
in interface Element
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()
Copyright © 2014. All Rights Reserved.