net.sourceforge.plantuml.salt.element
Class ElementMenuEntry
java.lang.Object
net.sourceforge.plantuml.salt.element.ElementMenuEntry
- All Implemented Interfaces:
- Element
public class ElementMenuEntry
- extends Object
- implements Element
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ElementMenuEntry
public ElementMenuEntry(String text,
UFont font)
getPreferredDimension
public Dimension2D getPreferredDimension(StringBounder stringBounder,
double x,
double y)
- Specified by:
getPreferredDimension
in interface Element
drawU
public void drawU(UGraphic ug,
double x,
double y,
int zIndex,
Dimension2D dimToUse)
- Specified by:
drawU
in interface Element
getX
public double getX()
setX
public void setX(double x)
getText
public String getText()
getBackground
public HtmlColor getBackground()
setBackground
public void setBackground(HtmlColor background)
Copyright © 2011. All Rights Reserved.