public abstract class AbstractTextualComponent extends AbstractComponent
Constructor and Description |
---|
AbstractTextualComponent(CharSequence label,
FontConfiguration font,
HorizontalAlignment horizontalAlignment,
int marginX1,
int marginX2,
int marginY,
ISkinSimple spriteContainer,
double maxMessageSize,
UFont fontForStereotype,
HtmlColor htmlColorForStereotype) |
AbstractTextualComponent(Display strings,
FontConfiguration font,
HorizontalAlignment horizontalAlignment,
int marginX1,
int marginX2,
int marginY,
ISkinSimple spriteContainer,
double maxMessageSize,
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, stroke, stroke, stroke, stroke
public AbstractTextualComponent(CharSequence label, FontConfiguration font, HorizontalAlignment horizontalAlignment, int marginX1, int marginX2, int marginY, ISkinSimple spriteContainer, double maxMessageSize, UFont fontForStereotype, HtmlColor htmlColorForStereotype)
public AbstractTextualComponent(Display strings, FontConfiguration font, HorizontalAlignment horizontalAlignment, int marginX1, int marginX2, int marginY, ISkinSimple spriteContainer, double maxMessageSize, boolean enhanced, UFont fontForStereotype, HtmlColor htmlColorForStereotype)
protected final TextBlock getTextBlock()
protected final 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 © 2016. All Rights Reserved.