net.sourceforge.plantuml.skin.bluemodern
Class ComponentBlueModernNote

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

public final class ComponentBlueModernNote
extends AbstractTextualComponent


Constructor Summary
ComponentBlueModernNote(HtmlColor back, HtmlColor foregroundColor, HtmlColor fontColor, UFont font, List<? extends CharSequence> strings)
           
 
Method Summary
protected  void drawInternalU(UGraphic ug, Dimension2D dimensionToUse)
           
 double getPaddingX()
           
 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
drawBackgroundInternalU, drawU, stroke, stroke, stroke, stroke
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentBlueModernNote

public ComponentBlueModernNote(HtmlColor back,
                               HtmlColor foregroundColor,
                               HtmlColor fontColor,
                               UFont font,
                               List<? extends CharSequence> strings)
Method Detail

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

getPaddingX

public double getPaddingX()
Overrides:
getPaddingX in class AbstractComponent

getPaddingY

public double getPaddingY()
Overrides:
getPaddingY in class AbstractComponent

drawInternalU

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


Copyright © 2011. All Rights Reserved.