net.sourceforge.plantuml.skin.rose
Class ComponentRoseEnglober

java.lang.Object
  extended by net.sourceforge.plantuml.skin.AbstractComponent
      extended by net.sourceforge.plantuml.skin.AbstractTextualComponent
          extended by net.sourceforge.plantuml.skin.rose.ComponentRoseEnglober
All Implemented Interfaces:
Component

public class ComponentRoseEnglober
extends AbstractTextualComponent


Constructor Summary
ComponentRoseEnglober(Color borderColor, Color backColor, List<? extends CharSequence> strings, Color fontColor, Font font)
           
 
Method Summary
protected  void drawBackgroundInternalU(UGraphic ug, Dimension2D dimensionToUse)
           
protected  void drawInternalU(UGraphic ug, Dimension2D dimensionToUse)
           
 double getPreferredHeight(StringBounder stringBounder)
           
 double getPreferredWidth(StringBounder stringBounder)
           
 
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
drawU, getPaddingX, getPaddingY, stroke, stroke, stroke, stroke
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentRoseEnglober

public ComponentRoseEnglober(Color borderColor,
                             Color backColor,
                             List<? extends CharSequence> strings,
                             Color fontColor,
                             Font font)
Method Detail

drawBackgroundInternalU

protected void drawBackgroundInternalU(UGraphic ug,
                                       Dimension2D dimensionToUse)
Overrides:
drawBackgroundInternalU in class AbstractComponent

drawInternalU

protected void drawInternalU(UGraphic ug,
                             Dimension2D dimensionToUse)
Specified by:
drawInternalU in class AbstractComponent

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.