net.sourceforge.plantuml.asciiart
Class ComponentTextNote

java.lang.Object
  extended by net.sourceforge.plantuml.asciiart.ComponentTextNote
All Implemented Interfaces:
Component

public class ComponentTextNote
extends java.lang.Object
implements Component


Constructor Summary
ComponentTextNote(ComponentType type, java.util.List<? extends java.lang.CharSequence> stringsToDisplay, FileFormat fileFormat)
           
 
Method Summary
 void drawU(UGraphic ug, java.awt.geom.Dimension2D dimensionToUse, Context2D context)
           
 double getPreferredHeight(StringBounder stringBounder)
           
 double getPreferredWidth(StringBounder stringBounder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentTextNote

public ComponentTextNote(ComponentType type,
                         java.util.List<? extends java.lang.CharSequence> stringsToDisplay,
                         FileFormat fileFormat)
Method Detail

drawU

public void drawU(UGraphic ug,
                  java.awt.geom.Dimension2D dimensionToUse,
                  Context2D context)
Specified by:
drawU in interface Component

getPreferredHeight

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

getPreferredWidth

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


Copyright © 2011. All Rights Reserved.