Class ElementMenuEntry
- java.lang.Object
-
- net.sourceforge.plantuml.salt.element.AbstractElement
-
- net.sourceforge.plantuml.salt.element.ElementMenuEntry
-
- All Implemented Interfaces:
Element
public class ElementMenuEntry extends AbstractElement
-
-
Constructor Summary
Constructors Constructor Description ElementMenuEntry(String text, UFont font, ISkinSimple spriteContainer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
drawU(UGraphic ug, int zIndex, XDimension2D dimToUse)
HColor
getBackground()
XDimension2D
getPreferredDimension(StringBounder stringBounder, double x, double y)
String
getText()
double
getX()
void
setBackground(HColor background)
void
setX(double x)
-
Methods inherited from class net.sourceforge.plantuml.salt.element.AbstractElement
blackBlueTrue, getBlack, getColor88, getColorAA, getColorBB, getColorDD, getColorEE, getWhite
-
-
-
-
Constructor Detail
-
ElementMenuEntry
public ElementMenuEntry(String text, UFont font, ISkinSimple spriteContainer)
-
-
Method Detail
-
getPreferredDimension
public XDimension2D getPreferredDimension(StringBounder stringBounder, double x, double y)
-
drawU
public void drawU(UGraphic ug, int zIndex, XDimension2D dimToUse)
-
getX
public double getX()
-
setX
public void setX(double x)
-
getText
public String getText()
-
getBackground
public HColor getBackground()
-
setBackground
public void setBackground(HColor background)
-
-