Package net.sourceforge.plantuml.skin
Class AbstractTextualComponent
- java.lang.Object
-
- net.sourceforge.plantuml.skin.AbstractComponent
-
- net.sourceforge.plantuml.skin.AbstractTextualComponent
-
- All Implemented Interfaces:
Component
- Direct Known Subclasses:
AbstractComponentBlueModernArrow
,AbstractComponentRoseArrow
,ComponentBlueModernActor
,ComponentBlueModernDelayText
,ComponentBlueModernDivider
,ComponentBlueModernEnglober
,ComponentBlueModernGroupingHeader
,ComponentBlueModernNote
,ComponentBlueModernParticipant
,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(LineBreakStrategy maxMessageSize, java.lang.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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
Methods inherited from class net.sourceforge.plantuml.skin.AbstractComponent
drawBackgroundInternalU, drawInternalU, drawU, getPaddingX, getPaddingY, getPreferredDimension, getPreferredHeight, getPreferredWidth
-
-
-
-
Constructor Detail
-
AbstractTextualComponent
public AbstractTextualComponent(LineBreakStrategy maxMessageSize, java.lang.CharSequence label, FontConfiguration font, HorizontalAlignment horizontalAlignment, int marginX1, int marginX2, int marginY, ISkinSimple spriteContainer, UFont fontForStereotype, HtmlColor htmlColorForStereotype)
-
AbstractTextualComponent
public AbstractTextualComponent(LineBreakStrategy maxMessageSize, Display strings, FontConfiguration font, HorizontalAlignment horizontalAlignment, int marginX1, int marginX2, int marginY, ISkinSimple spriteContainer, boolean enhanced, UFont fontForStereotype, HtmlColor htmlColorForStereotype)
-
-
Method Detail
-
getTextBlock
protected final TextBlock getTextBlock()
-
getPureTextWidth
protected double getPureTextWidth(StringBounder stringBounder)
-
getTextWidth
public final double getTextWidth(StringBounder stringBounder)
-
getTextHeight
protected final double getTextHeight(StringBounder stringBounder)
-
getLabels
protected final Display getLabels()
-
getMarginX1
protected final int getMarginX1()
-
getMarginX2
protected final int getMarginX2()
-
getMarginY
protected final int getMarginY()
-
getFont
protected final UFont getFont()
-
getFontColor
protected HtmlColor getFontColor()
-
-