Class ComponentRoseArrow
- java.lang.Object
-
- net.sourceforge.plantuml.skin.AbstractComponent
-
- net.sourceforge.plantuml.skin.AbstractTextualComponent
-
- net.sourceforge.plantuml.skin.rose.AbstractComponentRoseArrow
-
- net.sourceforge.plantuml.skin.rose.ComponentRoseArrow
-
- All Implemented Interfaces:
ArrowComponent
,Component
,Styleable
,WithStyle
public class ComponentRoseArrow extends AbstractComponentRoseArrow
-
-
Field Summary
Fields Modifier and Type Field Description static double
diamCircle
static double
spaceCrossX
static double
thinCircle
-
Constructor Summary
Constructors Constructor Description ComponentRoseArrow(Style style, HColor foregroundColor, FontConfiguration font, Display stringsToDisplay, ArrowConfiguration arrowConfiguration, HorizontalAlignment messagePosition, ISkinSimple spriteContainer, HorizontalAlignment textHorizontalAlignment, LineBreakStrategy maxMessageSize, boolean niceArrow, boolean belowForResponse)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
drawInternalU(UGraphic ug, Area area)
java.awt.geom.Point2D
getEndPoint(StringBounder stringBounder, java.awt.geom.Dimension2D dimensionToUse)
double
getPosArrow(StringBounder stringBounder)
double
getPreferredHeight(StringBounder stringBounder)
double
getPreferredWidth(StringBounder stringBounder)
java.awt.geom.Point2D
getStartPoint(StringBounder stringBounder, java.awt.geom.Dimension2D dimensionToUse)
double
getYPoint(StringBounder stringBounder)
-
Methods inherited from class net.sourceforge.plantuml.skin.rose.AbstractComponentRoseArrow
getArrowConfiguration, getArrowDeltaX, getArrowDeltaY, getForegroundColor, getPaddingY, getTextBlock
-
Methods inherited from class net.sourceforge.plantuml.skin.AbstractTextualComponent
getFont, getFontColor, getHorizontalAlignment, getIHtmlColorSet, getISkinSimple, getMarginX1, getMarginX2, getMarginY, getPureTextWidth, getTextHeight, getTextWidth
-
Methods inherited from class net.sourceforge.plantuml.skin.AbstractComponent
drawBackgroundInternalU, drawU, getDefaultStyleDefinition, getPaddingX, getPreferredDimension, getStyle, getUsedStyles
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sourceforge.plantuml.skin.Component
drawU, getPreferredDimension
-
Methods inherited from interface net.sourceforge.plantuml.style.Styleable
getDefaultStyleDefinition
-
Methods inherited from interface net.sourceforge.plantuml.style.WithStyle
getUsedStyles
-
-
-
-
Field Detail
-
spaceCrossX
public static final double spaceCrossX
- See Also:
- Constant Field Values
-
diamCircle
public static final double diamCircle
- See Also:
- Constant Field Values
-
thinCircle
public static final double thinCircle
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ComponentRoseArrow
public ComponentRoseArrow(Style style, HColor foregroundColor, FontConfiguration font, Display stringsToDisplay, ArrowConfiguration arrowConfiguration, HorizontalAlignment messagePosition, ISkinSimple spriteContainer, HorizontalAlignment textHorizontalAlignment, LineBreakStrategy maxMessageSize, boolean niceArrow, boolean belowForResponse)
-
-
Method Detail
-
drawInternalU
public void drawInternalU(UGraphic ug, Area area)
- Specified by:
drawInternalU
in classAbstractComponent
-
getPosArrow
public double getPosArrow(StringBounder stringBounder)
-
getStartPoint
public java.awt.geom.Point2D getStartPoint(StringBounder stringBounder, java.awt.geom.Dimension2D dimensionToUse)
-
getEndPoint
public java.awt.geom.Point2D getEndPoint(StringBounder stringBounder, java.awt.geom.Dimension2D dimensionToUse)
-
getYPoint
public double getYPoint(StringBounder stringBounder)
- Specified by:
getYPoint
in interfaceArrowComponent
- Specified by:
getYPoint
in classAbstractComponentRoseArrow
-
getPreferredHeight
public double getPreferredHeight(StringBounder stringBounder)
- Specified by:
getPreferredHeight
in interfaceComponent
- Specified by:
getPreferredHeight
in classAbstractComponent
-
getPreferredWidth
public double getPreferredWidth(StringBounder stringBounder)
- Specified by:
getPreferredWidth
in interfaceComponent
- Specified by:
getPreferredWidth
in classAbstractComponent
-
-