net.sourceforge.plantuml.asciiart
Class ComponentTextParticipant

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

public class ComponentTextParticipant
extends Object
implements Component


Constructor Summary
ComponentTextParticipant(ComponentType type, Display stringsToDisplay, FileFormat fileFormat)
           
 
Method Summary
 void drawU(UGraphic ug, Area area, 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

ComponentTextParticipant

public ComponentTextParticipant(ComponentType type,
                                Display stringsToDisplay,
                                FileFormat fileFormat)
Method Detail

drawU

public void drawU(UGraphic ug,
                  Area area,
                  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 © 2013. All Rights Reserved.