net.sourceforge.plantuml.skin.rose
Class ComponentRoseArrow

java.lang.Object
  extended by net.sourceforge.plantuml.skin.AbstractComponent
      extended by net.sourceforge.plantuml.skin.AbstractTextualComponent
          extended by net.sourceforge.plantuml.skin.rose.AbstractComponentRoseArrow
              extended by net.sourceforge.plantuml.skin.rose.ComponentRoseArrow
All Implemented Interfaces:
ArrowComponent, Component

public class ComponentRoseArrow
extends AbstractComponentRoseArrow


Constructor Summary
ComponentRoseArrow(HtmlColor foregroundColor, HtmlColor fontColor, UFont font, List<? extends CharSequence> stringsToDisplay, ArrowConfiguration arrowConfiguration, HorizontalAlignement messagePosition)
           
 
Method Summary
 void drawInternalU(UGraphic ug, Area area, boolean withShadow)
           
protected  int getDirection()
           
 Point2D getEndPoint(StringBounder stringBounder, Dimension2D dimensionToUse)
           
 double getPreferredHeight(StringBounder stringBounder)
           
 double getPreferredWidth(StringBounder stringBounder)
           
 Point2D getStartPoint(StringBounder stringBounder, Dimension2D dimensionToUse)
           
 
Methods inherited from class net.sourceforge.plantuml.skin.rose.AbstractComponentRoseArrow
getArrowConfiguration, getArrowDeltaX, getArrowDeltaY, getForegroundColor, getPaddingY
 
Methods inherited from class net.sourceforge.plantuml.skin.AbstractTextualComponent
getFont, getFontColor, getLabels, getMarginX1, getMarginX2, getMarginY, getPureTextWidth, getTextBlock, getTextHeight, getTextWidth
 
Methods inherited from class net.sourceforge.plantuml.skin.AbstractComponent
drawBackgroundInternalU, drawU, getPaddingX, stroke, stroke, stroke, stroke
 
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
 

Constructor Detail

ComponentRoseArrow

public ComponentRoseArrow(HtmlColor foregroundColor,
                          HtmlColor fontColor,
                          UFont font,
                          List<? extends CharSequence> stringsToDisplay,
                          ArrowConfiguration arrowConfiguration,
                          HorizontalAlignement messagePosition)
Method Detail

drawInternalU

public void drawInternalU(UGraphic ug,
                          Area area,
                          boolean withShadow)
Specified by:
drawInternalU in class AbstractComponent

getStartPoint

public Point2D getStartPoint(StringBounder stringBounder,
                             Dimension2D dimensionToUse)

getEndPoint

public Point2D getEndPoint(StringBounder stringBounder,
                           Dimension2D dimensionToUse)

getDirection

protected final int getDirection()

getPreferredHeight

public double getPreferredHeight(StringBounder stringBounder)
Specified by:
getPreferredHeight in interface Component
Specified by:
getPreferredHeight in class AbstractComponent

getPreferredWidth

public double getPreferredWidth(StringBounder stringBounder)
Specified by:
getPreferredWidth in interface Component
Specified by:
getPreferredWidth in class AbstractComponent


Copyright © 2011. All Rights Reserved.