Package net.sourceforge.plantuml.skin
Class AbstractTextualComponent
- java.lang.Object
-
- net.sourceforge.plantuml.skin.AbstractComponent
-
- net.sourceforge.plantuml.skin.AbstractTextualComponent
-
- Direct Known Subclasses:
AbstractComponentRoseArrow
,ComponentRoseActor
,ComponentRoseBoundary
,ComponentRoseControl
,ComponentRoseDatabase
,ComponentRoseDelayText
,ComponentRoseDivider
,ComponentRoseEnglober
,ComponentRoseEntity
,ComponentRoseGroupingElse
,ComponentRoseGroupingHeader
,ComponentRoseNote
,ComponentRoseNoteBox
,ComponentRoseNoteHexagonal
,ComponentRoseParticipant
,ComponentRoseQueue
,ComponentRoseReference
public abstract class AbstractTextualComponent extends AbstractComponent
-
-
Constructor Summary
Constructors Constructor Description AbstractTextualComponent(Style style, LineBreakStrategy maxMessageSize, CharSequence label, FontConfiguration font, HorizontalAlignment horizontalAlignment, int marginX1, int marginX2, int marginY, ISkinSimple spriteContainer, UFont fontForStereotype, HColor htmlColorForStereotype)
AbstractTextualComponent(Style style, LineBreakStrategy maxMessageSize, Display display, FontConfiguration fc, HorizontalAlignment horizontalAlignment, int marginX1, int marginX2, int marginY, ISkinSimple spriteContainer, boolean enhanced, UFont fontForStereotype, HColor htmlColorForStereotype)
AbstractTextualComponent(Style style, Style stereo, LineBreakStrategy maxMessageSize, Display display, FontConfiguration fc, HorizontalAlignment horizontalAlignment, int marginX1, int marginX2, int marginY, ISkinSimple spriteContainer, boolean enhanced, UFont fontForStereotype, HColor htmlColorForStereotype)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
Methods inherited from class net.sourceforge.plantuml.skin.AbstractComponent
drawBackgroundInternalU, drawInternalU, drawU, getPaddingX, getPaddingY, getPreferredDimension, getPreferredHeight, getPreferredWidth, getStyle, getStyleSignature, getUsedStyles
-
-
-
-
Constructor Detail
-
AbstractTextualComponent
public AbstractTextualComponent(Style style, LineBreakStrategy maxMessageSize, CharSequence label, FontConfiguration font, HorizontalAlignment horizontalAlignment, int marginX1, int marginX2, int marginY, ISkinSimple spriteContainer, UFont fontForStereotype, HColor htmlColorForStereotype)
-
AbstractTextualComponent
public AbstractTextualComponent(Style style, LineBreakStrategy maxMessageSize, Display display, FontConfiguration fc, HorizontalAlignment horizontalAlignment, int marginX1, int marginX2, int marginY, ISkinSimple spriteContainer, boolean enhanced, UFont fontForStereotype, HColor htmlColorForStereotype)
-
AbstractTextualComponent
public AbstractTextualComponent(Style style, Style stereo, LineBreakStrategy maxMessageSize, Display display, FontConfiguration fc, HorizontalAlignment horizontalAlignment, int marginX1, int marginX2, int marginY, ISkinSimple spriteContainer, boolean enhanced, UFont fontForStereotype, HColor htmlColorForStereotype)
-
-
Method Detail
-
getIHtmlColorSet
protected HColorSet getIHtmlColorSet()
-
getTextBlock
protected TextBlock getTextBlock()
-
getPureTextWidth
protected double getPureTextWidth(StringBounder stringBounder)
-
getTextWidth
public final double getTextWidth(StringBounder stringBounder)
-
getTextHeight
protected final double getTextHeight(StringBounder stringBounder)
-
getMarginX1
protected final int getMarginX1()
-
getMarginX2
protected final int getMarginX2()
-
getMarginY
protected final int getMarginY()
-
getFont
protected final UFont getFont()
-
getFontColor
protected HColor getFontColor()
-
getISkinSimple
protected final ISkinSimple getISkinSimple()
-
getHorizontalAlignment
public final HorizontalAlignment getHorizontalAlignment()
-
-