net.sourceforge.plantuml.skin.bluemodern
Class ComponentBlueModernParticipant

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

public class ComponentBlueModernParticipant
extends AbstractTextualComponent


Constructor Summary
ComponentBlueModernParticipant(HtmlColor blue1, HtmlColor blue2, HtmlColor fontColor, UFont font, java.util.List<? extends java.lang.CharSequence> stringsToDisplay)
           
 
Method Summary
protected  void drawInternalU(UGraphic ug, java.awt.geom.Dimension2D dimensionToUse, boolean withShadow)
           
 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
drawBackgroundInternalU, 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

ComponentBlueModernParticipant

public ComponentBlueModernParticipant(HtmlColor blue1,
                                      HtmlColor blue2,
                                      HtmlColor fontColor,
                                      UFont font,
                                      java.util.List<? extends java.lang.CharSequence> stringsToDisplay)
Method Detail

drawInternalU

protected void drawInternalU(UGraphic ug,
                             java.awt.geom.Dimension2D dimensionToUse,
                             boolean withShadow)
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.