net.sourceforge.plantuml.asciiart
Class ComponentTextGroupingBody

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

public class ComponentTextGroupingBody
extends Object
implements Component


Constructor Summary
ComponentTextGroupingBody(ComponentType type, List<? extends CharSequence> stringsToDisplay, FileFormat fileFormat)
           
 
Method Summary
 void drawU(UGraphic ug, 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

ComponentTextGroupingBody

public ComponentTextGroupingBody(ComponentType type,
                                 List<? extends CharSequence> stringsToDisplay,
                                 FileFormat fileFormat)
Method Detail

drawU

public void drawU(UGraphic ug,
                  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.