net.sourceforge.plantuml
Class SkinParam

java.lang.Object
  extended by net.sourceforge.plantuml.SkinParam
All Implemented Interfaces:
ISkinParam, ISkinSimple, SpriteContainer

public class SkinParam
extends Object
implements ISkinParam


Constructor Summary
SkinParam(UmlDiagramType type)
           
 
Method Summary
 void addSprite(String name, Sprite sprite)
           
 int classAttributeIconSize()
           
 boolean forceSequenceParticipantUnderlined()
           
 HtmlColor getBackgroundColor()
           
 int getCircledCharacterRadius()
           
 ColorMapper getColorMapper()
           
 ConditionStyle getConditionStyle()
           
 DotSplines getDotSplines()
           
 int getDpi()
           
 UFont getFont(FontParam fontParam, Stereotype stereotype)
           
 HtmlColor getFontHtmlColor(FontParam param, Stereotype stereotype)
           
 HorizontalAlignment getHorizontalAlignment(AlignParam param)
           
 HtmlColor getHtmlColor(ColorParam param, Stereotype stereotype, boolean clickable)
           
 double getNodesep()
           
 PackageStyle getPackageStyle()
           
static Collection<String> getPossibleValues()
           
 Rankdir getRankdir()
           
 double getRanksep()
           
 double getRoundCorner()
           
 Sprite getSprite(String name)
           
 GraphvizLayoutStrategy getStrategy()
           
 UStroke getThickness(LineParam param, Stereotype stereotype)
           
 String getValue(String key)
           
 double maxMessageSize()
           
 double minClassWidth()
           
 boolean sameClassWidth()
           
 void setParam(String key, String value)
           
 void setRankdir(Rankdir rankdir)
           
 boolean shadowing()
           
 boolean stereotypePositionTop()
           
 boolean strictUmlStyle()
           
 boolean useOctagonForActivity()
           
 boolean useSwimlanes()
           
 boolean useUml2ForComponent()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SkinParam

public SkinParam(UmlDiagramType type)
Method Detail

setParam

public void setParam(String key,
                     String value)

getBackgroundColor

public HtmlColor getBackgroundColor()
Specified by:
getBackgroundColor in interface ISkinParam

getValue

public String getValue(String key)
Specified by:
getValue in interface ISkinSimple

getHtmlColor

public HtmlColor getHtmlColor(ColorParam param,
                              Stereotype stereotype,
                              boolean clickable)
Specified by:
getHtmlColor in interface ISkinParam

getFontHtmlColor

public HtmlColor getFontHtmlColor(FontParam param,
                                  Stereotype stereotype)
Specified by:
getFontHtmlColor in interface ISkinParam

getFont

public UFont getFont(FontParam fontParam,
                     Stereotype stereotype)
Specified by:
getFont in interface ISkinParam

getCircledCharacterRadius

public int getCircledCharacterRadius()
Specified by:
getCircledCharacterRadius in interface ISkinParam

classAttributeIconSize

public int classAttributeIconSize()
Specified by:
classAttributeIconSize in interface ISkinParam

getPossibleValues

public static Collection<String> getPossibleValues()

getDpi

public int getDpi()
Specified by:
getDpi in interface ISkinParam

getDotSplines

public DotSplines getDotSplines()
Specified by:
getDotSplines in interface ISkinParam

getStrategy

public GraphvizLayoutStrategy getStrategy()
Specified by:
getStrategy in interface ISkinParam

getHorizontalAlignment

public HorizontalAlignment getHorizontalAlignment(AlignParam param)
Specified by:
getHorizontalAlignment in interface ISkinParam

getColorMapper

public ColorMapper getColorMapper()
Specified by:
getColorMapper in interface ISkinParam

shadowing

public boolean shadowing()
Specified by:
shadowing in interface ISkinParam

getPackageStyle

public PackageStyle getPackageStyle()
Specified by:
getPackageStyle in interface ISkinParam

addSprite

public void addSprite(String name,
                      Sprite sprite)

getSprite

public Sprite getSprite(String name)
Specified by:
getSprite in interface SpriteContainer

useUml2ForComponent

public boolean useUml2ForComponent()
Specified by:
useUml2ForComponent in interface ISkinParam

stereotypePositionTop

public boolean stereotypePositionTop()
Specified by:
stereotypePositionTop in interface ISkinParam

useSwimlanes

public boolean useSwimlanes()
Specified by:
useSwimlanes in interface ISkinParam

getNodesep

public double getNodesep()
Specified by:
getNodesep in interface ISkinParam

getRanksep

public double getRanksep()
Specified by:
getRanksep in interface ISkinParam

getRoundCorner

public double getRoundCorner()
Specified by:
getRoundCorner in interface ISkinParam

getThickness

public UStroke getThickness(LineParam param,
                            Stereotype stereotype)
Specified by:
getThickness in interface ISkinParam

maxMessageSize

public double maxMessageSize()
Specified by:
maxMessageSize in interface ISkinParam

strictUmlStyle

public boolean strictUmlStyle()
Specified by:
strictUmlStyle in interface ISkinParam

forceSequenceParticipantUnderlined

public boolean forceSequenceParticipantUnderlined()
Specified by:
forceSequenceParticipantUnderlined in interface ISkinParam

getConditionStyle

public ConditionStyle getConditionStyle()
Specified by:
getConditionStyle in interface ISkinParam

minClassWidth

public double minClassWidth()
Specified by:
minClassWidth in interface ISkinParam

sameClassWidth

public boolean sameClassWidth()
Specified by:
sameClassWidth in interface ISkinParam

getRankdir

public final Rankdir getRankdir()
Specified by:
getRankdir in interface ISkinParam

setRankdir

public final void setRankdir(Rankdir rankdir)

useOctagonForActivity

public boolean useOctagonForActivity()
Specified by:
useOctagonForActivity in interface ISkinParam


Copyright © 2014. All Rights Reserved.