net.sourceforge.plantuml
Class SkinParam

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

public class SkinParam
extends Object
implements ISkinParam


Constructor Summary
SkinParam(UmlDiagramType type)
           
 
Method Summary
 void addSprite(String name, Sprite sprite)
           
 int classAttributeIconSize()
           
 HtmlColor getBackgroundColor()
           
 int getCircledCharacterRadius()
           
 ColorMapper getColorMapper()
           
 DotSplines getDotSplines()
           
 int getDpi()
           
 UFont getFont(FontParam fontParam, String stereotype)
           
 HtmlColor getFontHtmlColor(FontParam param, String stereotype)
           
 HorizontalAlignement getHorizontalAlignement(AlignParam param)
           
 HtmlColor getHtmlColor(ColorParam param, String stereotype, boolean clickable)
           
 double getNodesep()
           
 PackageStyle getPackageStyle()
           
static Collection<String> getPossibleValues()
           
 double getRanksep()
           
 double getRoundCorner()
           
 Sprite getSprite(String name)
           
 GraphvizLayoutStrategy getStrategy()
           
 String getValue(String key)
           
 boolean isClassCollapse()
           
 void setParam(String key, String value)
           
 boolean shadowing()
           
 boolean stereotypePositionTop()
           
 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 ISkinParam

getHtmlColor

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

getFontHtmlColor

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

getFont

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

getCircledCharacterRadius

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

isClassCollapse

public boolean isClassCollapse()
Specified by:
isClassCollapse 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

useOctagonForActivity

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

getDotSplines

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

getStrategy

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

getHorizontalAlignement

public HorizontalAlignement getHorizontalAlignement(AlignParam param)
Specified by:
getHorizontalAlignement 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


Copyright © 2012. All Rights Reserved.