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