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
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractTextualComponent
(Style style, LineBreakStrategy maxMessageSize, int marginX1, int marginX2, int marginY, ISkinSimple spriteContainer, 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) -
Method Summary
Modifier and TypeMethodDescriptionprotected final UFont
getFont()
protected HColor
final HorizontalAlignment
protected HColorSet
protected final ISkinSimple
protected final int
protected final int
protected final int
protected double
getPureTextWidth
(StringBounder stringBounder) protected TextBlock
protected final double
getTextHeight
(StringBounder stringBounder) final 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 Details
-
AbstractTextualComponent
public AbstractTextualComponent(Style style, LineBreakStrategy maxMessageSize, int marginX1, int marginX2, int marginY, ISkinSimple spriteContainer, CharSequence label) -
AbstractTextualComponent
public AbstractTextualComponent(Style style, LineBreakStrategy maxMessageSize, int marginX1, int marginX2, int marginY, ISkinSimple spriteContainer, Display display, boolean enhanced) -
AbstractTextualComponent
public AbstractTextualComponent(Style style, Style stereo, LineBreakStrategy maxMessageSize, int marginX1, int marginX2, int marginY, ISkinSimple spriteContainer, Display display, boolean enhanced)
-
-
Method Details
-
getIHtmlColorSet
-
getTextBlock
-
getPureTextWidth
-
getTextWidth
-
getTextHeight
-
getMarginX1
protected final int getMarginX1() -
getMarginX2
protected final int getMarginX2() -
getMarginY
protected final int getMarginY() -
getFont
-
getFontColor
-
getISkinSimple
-
getHorizontalAlignment
-