public class ElementDroplist extends AbstractElement implements Element
Constructor and Description |
---|
ElementDroplist(java.lang.String text,
UFont font,
ISkinSimple spriteContainer) |
Modifier and Type | Method and Description |
---|---|
protected void |
drawText(UGraphic ug,
double x,
double y) |
void |
drawU(UGraphic ug,
int zIndex,
XDimension2D dimToUse) |
protected FontConfiguration |
getConfig() |
XDimension2D |
getPreferredDimension(StringBounder stringBounder,
double x,
double y) |
protected XDimension2D |
getPureTextDimension(StringBounder stringBounder) |
protected XDimension2D |
getTextDimensionAt(StringBounder stringBounder,
double x) |
blackBlueTrue, getBlack, getColor88, getColorAA, getColorBB, getColorDD, getColorEE, getWhite
public ElementDroplist(java.lang.String text, UFont font, ISkinSimple spriteContainer)
public XDimension2D getPreferredDimension(StringBounder stringBounder, double x, double y)
getPreferredDimension
in interface Element
public void drawU(UGraphic ug, int zIndex, XDimension2D dimToUse)
protected void drawText(UGraphic ug, double x, double y)
protected XDimension2D getPureTextDimension(StringBounder stringBounder)
protected XDimension2D getTextDimensionAt(StringBounder stringBounder, double x)
protected final FontConfiguration getConfig()