public abstract class AbstractTextualComponent extends AbstractComponent
Constructor and Description |
---|
AbstractTextualComponent(LineBreakStrategy maxMessageSize,
CharSequence label,
FontConfiguration font,
HorizontalAlignment horizontalAlignment,
int marginX1,
int marginX2,
int marginY,
ISkinSimple spriteContainer,
UFont fontForStereotype,
HtmlColor htmlColorForStereotype) |
AbstractTextualComponent(LineBreakStrategy maxMessageSize,
Display strings,
FontConfiguration font,
HorizontalAlignment horizontalAlignment,
int marginX1,
int marginX2,
int marginY,
ISkinSimple spriteContainer,
boolean enhanced,
UFont fontForStereotype,
HtmlColor htmlColorForStereotype) |
Modifier and Type | Method and Description |
---|---|
protected UFont |
getFont() |
protected HtmlColor |
getFontColor() |
protected Display |
getLabels() |
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
public AbstractTextualComponent(LineBreakStrategy maxMessageSize, CharSequence label, FontConfiguration font, HorizontalAlignment horizontalAlignment, int marginX1, int marginX2, int marginY, ISkinSimple spriteContainer, UFont fontForStereotype, HtmlColor htmlColorForStereotype)
public AbstractTextualComponent(LineBreakStrategy maxMessageSize, Display strings, FontConfiguration font, HorizontalAlignment horizontalAlignment, int marginX1, int marginX2, int marginY, ISkinSimple spriteContainer, boolean enhanced, UFont fontForStereotype, HtmlColor htmlColorForStereotype)
protected final TextBlock getTextBlock()
protected double getPureTextWidth(StringBounder stringBounder)
public final double getTextWidth(StringBounder stringBounder)
protected final double getTextHeight(StringBounder stringBounder)
protected final Display getLabels()
protected final int getMarginX1()
protected final int getMarginX2()
protected final int getMarginY()
protected final UFont getFont()
protected HtmlColor getFontColor()
Copyright © 2017. All Rights Reserved.