net.sourceforge.plantuml.skin
Class AbstractTextualComponent

java.lang.Object
  extended by net.sourceforge.plantuml.skin.AbstractComponent
      extended by net.sourceforge.plantuml.skin.AbstractTextualComponent
All Implemented Interfaces:
Component
Direct Known Subclasses:
AbstractComponentBlueModernArrow, AbstractComponentRoseArrow, ComponentBlueModernActor, ComponentBlueModernDelayText, ComponentBlueModernDivider, ComponentBlueModernEnglober, ComponentBlueModernGroupingHeader, ComponentBlueModernNote, ComponentBlueModernParticipant, ComponentRoseActor, ComponentRoseBoundary, ComponentRoseControl, ComponentRoseDelayText, ComponentRoseDivider, ComponentRoseEnglober, ComponentRoseEntity, ComponentRoseGroupingElse, ComponentRoseGroupingHeader, ComponentRoseNote, ComponentRoseNoteBox, ComponentRoseNoteHexagonal, ComponentRoseParticipant, ComponentRoseReference, ComponentRoseTitle

public abstract class AbstractTextualComponent
extends AbstractComponent


Constructor Summary
AbstractTextualComponent(CharSequence label, HtmlColor fontColor, UFont font, HorizontalAlignement horizontalAlignement, int marginX1, int marginX2, int marginY, SpriteContainer spriteContainer, double maxMessageSize)
           
AbstractTextualComponent(Display strings, HtmlColor fontColor, UFont font, HorizontalAlignement horizontalAlignement, int marginX1, int marginX2, int marginY, SpriteContainer spriteContainer, double maxMessageSize)
           
 
Method Summary
protected  UFont getFont()
           
protected  HtmlColor getFontColor()
           
protected  Display getLabels()
           
protected  int getMarginX1()
           
protected  int getMarginX2()
           
protected  int getMarginY()
           
protected  double getPureTextWidth(StringBounder stringBounder)
           
protected  TextBlock getTextBlock()
           
protected  double getTextHeight(StringBounder stringBounder)
           
 double getTextWidth(StringBounder stringBounder)
           
 
Methods inherited from class net.sourceforge.plantuml.skin.AbstractComponent
drawBackgroundInternalU, drawInternalU, drawU, getPaddingX, getPaddingY, getPreferredHeight, getPreferredWidth, stroke, stroke, stroke, stroke
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractTextualComponent

public AbstractTextualComponent(CharSequence label,
                                HtmlColor fontColor,
                                UFont font,
                                HorizontalAlignement horizontalAlignement,
                                int marginX1,
                                int marginX2,
                                int marginY,
                                SpriteContainer spriteContainer,
                                double maxMessageSize)

AbstractTextualComponent

public AbstractTextualComponent(Display strings,
                                HtmlColor fontColor,
                                UFont font,
                                HorizontalAlignement horizontalAlignement,
                                int marginX1,
                                int marginX2,
                                int marginY,
                                SpriteContainer spriteContainer,
                                double maxMessageSize)
Method Detail

getTextBlock

protected final TextBlock getTextBlock()

getPureTextWidth

protected final double getPureTextWidth(StringBounder stringBounder)

getTextWidth

public final double getTextWidth(StringBounder stringBounder)

getTextHeight

protected final double getTextHeight(StringBounder stringBounder)

getLabels

protected final Display getLabels()

getMarginX1

protected final int getMarginX1()

getMarginX2

protected final int getMarginX2()

getMarginY

protected final int getMarginY()

getFont

protected final UFont getFont()

getFontColor

protected HtmlColor getFontColor()


Copyright © 2013. All Rights Reserved.