public class ElementMenuEntry extends AbstractElement
Constructor and Description |
---|
ElementMenuEntry(java.lang.String text,
UFont font,
ISkinSimple spriteContainer) |
Modifier and Type | Method and Description |
---|---|
void |
drawU(UGraphic ug,
int zIndex,
java.awt.geom.Dimension2D dimToUse) |
HtmlColor |
getBackground() |
java.awt.geom.Dimension2D |
getPreferredDimension(StringBounder stringBounder,
double x,
double y) |
java.lang.String |
getText() |
double |
getX() |
void |
setBackground(HtmlColor background) |
void |
setX(double x) |
public ElementMenuEntry(java.lang.String text, UFont font, ISkinSimple spriteContainer)
public java.awt.geom.Dimension2D getPreferredDimension(StringBounder stringBounder, double x, double y)
public void drawU(UGraphic ug, int zIndex, java.awt.geom.Dimension2D dimToUse)
public double getX()
public void setX(double x)
public java.lang.String getText()
public HtmlColor getBackground()
public void setBackground(HtmlColor background)
Copyright © 2019. All Rights Reserved.