public abstract class AbstractTextualComponent extends AbstractComponent
Constructor and Description |
---|
AbstractTextualComponent(Style style,
LineBreakStrategy maxMessageSize,
int marginX1,
int marginX2,
int marginY,
ISkinSimple spriteContainer,
java.lang.CharSequence label) |
AbstractTextualComponent(Style style,
LineBreakStrategy maxMessageSize,
int marginX1,
int marginX2,
int marginY,
ISkinSimple spriteContainer,
Display display,
boolean enhanced) |
AbstractTextualComponent(Style style,
Style stereo,
LineBreakStrategy maxMessageSize,
int marginX1,
int marginX2,
int marginY,
ISkinSimple spriteContainer,
Display display,
boolean enhanced) |
Modifier and Type | Method and Description |
---|---|
protected UFont |
getFont() |
protected HColor |
getFontColor() |
HorizontalAlignment |
getHorizontalAlignment() |
protected HColorSet |
getIHtmlColorSet() |
protected ISkinSimple |
getISkinSimple() |
protected int |
getMarginX1() |
protected int |
getMarginX2() |
protected int |
getMarginY() |
protected double |
getPureTextWidth(StringBounder stringBounder) |
protected TextBlock |
getTextBlock() |
protected double |
getTextHeight(StringBounder stringBounder) |
double |
getTextWidth(StringBounder stringBounder) |
drawBackgroundInternalU, drawInternalU, drawU, getPaddingX, getPaddingY, getPreferredDimension, getPreferredHeight, getPreferredWidth, getStyle, getStyleSignature, getUsedStyles
public AbstractTextualComponent(Style style, LineBreakStrategy maxMessageSize, int marginX1, int marginX2, int marginY, ISkinSimple spriteContainer, java.lang.CharSequence label)
public AbstractTextualComponent(Style style, LineBreakStrategy maxMessageSize, int marginX1, int marginX2, int marginY, ISkinSimple spriteContainer, Display display, boolean enhanced)
public AbstractTextualComponent(Style style, Style stereo, LineBreakStrategy maxMessageSize, int marginX1, int marginX2, int marginY, ISkinSimple spriteContainer, Display display, boolean enhanced)
protected HColorSet getIHtmlColorSet()
protected TextBlock getTextBlock()
protected double getPureTextWidth(StringBounder stringBounder)
public final double getTextWidth(StringBounder stringBounder)
protected final double getTextHeight(StringBounder stringBounder)
protected final int getMarginX1()
protected final int getMarginX2()
protected final int getMarginY()
protected final UFont getFont()
protected HColor getFontColor()
protected final ISkinSimple getISkinSimple()
public final HorizontalAlignment getHorizontalAlignment()