net.sourceforge.plantuml.skin.rose
Class ComponentRoseGroupingHeader

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

public class ComponentRoseGroupingHeader
extends AbstractTextualComponent


Constructor Summary
ComponentRoseGroupingHeader(HtmlColor fontColor, HtmlColor background, HtmlColor groupBackground, HtmlColor groupBorder, UFont bigFont, UFont smallFont, List<? extends CharSequence> strings)
           
 
Method Summary
protected  void drawBackgroundInternalU(UGraphic ug, Area area)
           
protected  void drawInternalU(UGraphic ug, Area area, boolean withShadow)
           
 double getPaddingY()
           
 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, stroke, stroke, stroke, stroke
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentRoseGroupingHeader

public ComponentRoseGroupingHeader(HtmlColor fontColor,
                                   HtmlColor background,
                                   HtmlColor groupBackground,
                                   HtmlColor groupBorder,
                                   UFont bigFont,
                                   UFont smallFont,
                                   List<? extends CharSequence> strings)
Method Detail

getPaddingY

public double getPaddingY()
Overrides:
getPaddingY in class AbstractComponent

getPreferredWidth

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

getPreferredHeight

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

drawBackgroundInternalU

protected void drawBackgroundInternalU(UGraphic ug,
                                       Area area)
Overrides:
drawBackgroundInternalU in class AbstractComponent

drawInternalU

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


Copyright © 2011. All Rights Reserved.