net.sourceforge.plantuml.cucadiagram.dot
Class DotMaker
java.lang.Object
net.sourceforge.plantuml.cucadiagram.dot.DotMaker
- All Implemented Interfaces:
- GraphvizMaker
public final class DotMaker
- extends Object
- implements GraphvizMaker
Method Summary |
protected void |
addTdImageBugB1983(StringBuilder sb,
String absolutePath)
|
protected void |
appendImageAsTD(StringBuilder sb,
String circleAbsolutePath)
|
protected void |
appendLabelAndStereotype(IEntity entity,
StringBuilder sb,
boolean classes)
|
void |
clean()
|
protected int |
computeSpring(int current,
int maximum,
int maxSpring)
|
String |
createDotString()
|
protected String |
getAsHtml(HtmlColor htmlColor)
|
protected String |
getBackColorAroundEntity(IEntity entity)
|
protected ColorMapper |
getColorMapper()
|
protected String |
getColorString(ColorParam colorParam,
String stereotype)
|
protected DotData |
getData()
|
protected FileFormat |
getFileFormat()
|
protected HtmlColor |
getFontHtmlColor(FontParam fontParam,
String stereotype)
|
protected int |
getLongestField(IEntity entity)
|
protected int |
getLongestFieldOrAttribute(IEntity entity)
|
protected int |
getLongestMethods(IEntity entity)
|
protected int |
getLonguestHeader(IEntity entity)
|
protected double |
getMagicFactorForImageDpi()
|
protected Stereotype |
getStereotype(IEntity entity)
|
protected String |
getTdHeaderForDpi(double w,
double h)
|
protected String |
getWitdh55()
|
static void |
goJunit()
|
protected boolean |
hasStatic(Collection<Member> attributes)
|
static boolean |
isJunit()
|
protected boolean |
isThereLabel(Stereotype stereotype)
|
boolean |
isUnderline()
|
protected String |
manageHtmlIB(String s,
FontParam param,
String stereotype)
|
protected String |
manageHtmlIBspecial(Member att,
FontParam param,
boolean hasStatic,
String backColor,
boolean withVisibilityChar)
|
static void |
reset()
|
protected void |
setUnderline(boolean underline)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MODE_BRANCHE_CLUSTER
public static final boolean MODE_BRANCHE_CLUSTER
- See Also:
- Constant Field Values
DotMaker
public DotMaker(DotData data,
List<String> dotStrings,
FileFormat fileFormat)
goJunit
public static void goJunit()
createDotString
public String createDotString()
throws IOException
- Specified by:
createDotString
in interface GraphvizMaker
- Throws:
IOException
reset
public static final void reset()
clean
public void clean()
- Specified by:
clean
in interface GraphvizMaker
isJunit
public static final boolean isJunit()
getStereotype
protected final Stereotype getStereotype(IEntity entity)
getColorMapper
protected final ColorMapper getColorMapper()
isThereLabel
protected final boolean isThereLabel(Stereotype stereotype)
getMagicFactorForImageDpi
protected final double getMagicFactorForImageDpi()
appendLabelAndStereotype
protected final void appendLabelAndStereotype(IEntity entity,
StringBuilder sb,
boolean classes)
manageHtmlIB
protected final String manageHtmlIB(String s,
FontParam param,
String stereotype)
getFontHtmlColor
protected final HtmlColor getFontHtmlColor(FontParam fontParam,
String stereotype)
addTdImageBugB1983
protected final void addTdImageBugB1983(StringBuilder sb,
String absolutePath)
throws IOException
- Throws:
IOException
getTdHeaderForDpi
protected final String getTdHeaderForDpi(double w,
double h)
isUnderline
public final boolean isUnderline()
getData
protected final DotData getData()
getFileFormat
protected final FileFormat getFileFormat()
setUnderline
protected final void setUnderline(boolean underline)
getLongestMethods
protected final int getLongestMethods(IEntity entity)
getLongestField
protected final int getLongestField(IEntity entity)
getWitdh55
protected final String getWitdh55()
computeSpring
protected final int computeSpring(int current,
int maximum,
int maxSpring)
getLonguestHeader
protected final int getLonguestHeader(IEntity entity)
getColorString
protected final String getColorString(ColorParam colorParam,
String stereotype)
getAsHtml
protected final String getAsHtml(HtmlColor htmlColor)
getLongestFieldOrAttribute
protected final int getLongestFieldOrAttribute(IEntity entity)
hasStatic
protected final boolean hasStatic(Collection<Member> attributes)
manageHtmlIBspecial
protected final String manageHtmlIBspecial(Member att,
FontParam param,
boolean hasStatic,
String backColor,
boolean withVisibilityChar)
getBackColorAroundEntity
protected final String getBackColorAroundEntity(IEntity entity)
appendImageAsTD
protected final void appendImageAsTD(StringBuilder sb,
String circleAbsolutePath)
throws IOException
- Throws:
IOException
Copyright © 2011. All Rights Reserved.