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, java.lang.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
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
AbstractTextualComponent
public AbstractTextualComponent(Style style, LineBreakStrategy maxMessageSize, java.lang.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 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
-