Class ClassDiagram
- java.lang.Object
-
- net.sourceforge.plantuml.AbstractPSystem
-
- net.sourceforge.plantuml.TitledDiagram
-
- net.sourceforge.plantuml.UmlDiagram
-
- net.sourceforge.plantuml.cucadiagram.CucaDiagram
-
- net.sourceforge.plantuml.classdiagram.AbstractEntityDiagram
-
- net.sourceforge.plantuml.objectdiagram.AbstractClassOrObjectDiagram
-
- net.sourceforge.plantuml.classdiagram.ClassDiagram
-
- All Implemented Interfaces:
Annotated
,Diagram
,GroupHierarchy
,PortionShower
,WithSprite
public class ClassDiagram extends AbstractClassOrObjectDiagram
-
-
Field Summary
-
Fields inherited from class net.sourceforge.plantuml.cucadiagram.CucaDiagram
entityFactory
-
Fields inherited from class net.sourceforge.plantuml.TitledDiagram
FORCE_ELK, FORCE_SMETANA
-
-
Constructor Summary
Constructors Constructor Description ClassDiagram(ThemeStyle style, UmlSource source, ISkinSimple skinParam)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
checkFinalError()
ILeaf
createLeaf(Ident idNewLong, Code code, Display display, LeafType type, USymbol symbol)
protected ImageData
exportDiagramInternal(OutputStream os, int index, FileFormatOption fileFormatOption)
protected ImageData
exportLayoutExplicit(OutputStream os, int index, FileFormatOption fileFormatOption)
ILeaf
getOrCreateLeaf(Ident ident, Code code, LeafType type, USymbol symbol)
boolean
isAllowMixing()
void
layoutNewLine()
boolean
leafExist(Code code)
void
setAllowMixing(boolean allowMixing)
-
Methods inherited from class net.sourceforge.plantuml.objectdiagram.AbstractClassOrObjectDiagram
associationClass, associationClass, cleanIdent, getNbOfHozizontalLollipop, insertBetween, setLegend
-
Methods inherited from class net.sourceforge.plantuml.classdiagram.AbstractEntityDiagram
getDescription, getDotStrings
-
Methods inherited from class net.sourceforge.plantuml.cucadiagram.CucaDiagram
addLink, applySingleStrategy, buildCode, buildFullyQualified, buildLeafIdent, buildLeafIdentSpecial, constraintOnLinks, createLeafInternal, endGroup, getAllSuperGroups, getChildrenGroups, getColorMapper, getCurrentGroup, getDefaultMargins, getDotStringSkek, getEntityFactory, getFullyQualifiedCode1972, getGroup, getGroups, getGroupStrict, getGroupVerySmart, getHides, getLabelangle, getLabeldistance, getLastEntity, getLastLink, getLeaf, getLeafSmart, getLeafssize, getLeafStrict, getLeafsvalues, getLeafVerySmart, getLinks, getNamespace1972, getNamespaceSeparator, getOrCreateLeafDefault, getRootGroup, getRootSuperGroup, getTwoLastLinks, getWarningOrError, gotoGroup, gotoGroupExternal, gotoThisGroup, hasUrl, hideOrShow, hideOrShow, hideOrShow2, incRawLayout, isAutarkic, isEmpty, isGroup, isGroupStrict, isGroupVerySmart, isHideEmptyDescriptionForState, isStandalone, isVisibilityModifierPresent, leafExistSmart, leafExistStrict, mergeIntricated, removeLink, removeOrRestore, resetPragmaLabel, setLastEntity, setNamespaceSeparator, setVisibilityModifierPresent, showPortion, V1972
-
Methods inherited from class net.sourceforge.plantuml.UmlDiagram
exportCmap, exportDiagramError, exportDiagramNow, getFailureText2, getFlashData, getFooterOrHeaderTeoz, getMinwidth, isRotation, setHideEmptyDescription, setMinwidth, setRotation
-
Methods inherited from class net.sourceforge.plantuml.TitledDiagram
addSprite, calculateBackColor, createImageBuilder, getAnimation, getCaption, getCurrentStyleBuilder, getFooter, getHeader, getLegend, getMainFrame, getPragma, getSkinParam, getTitle, getTitleDisplay, getUmlDiagramType, isUseElk, isUseSmetana, loadSkin, setAnimation, setCaption, setMainFrame, setParam, setTitle, setUseElk, setUseSmetana
-
Methods inherited from class net.sourceforge.plantuml.AbstractPSystem
executeCommand, exportDiagram, getMetadata, getNbImages, getScale, getSource, getSplitPagesHorizontal, getSplitPagesVertical, isOk, makeDiagramReady, seed, setScale, setSplitPagesHorizontal, setSplitPagesVertical
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sourceforge.plantuml.Annotated
getCaption, getFooter, getHeader, getLegend, getMainFrame, getTitle
-
Methods inherited from interface net.sourceforge.plantuml.core.Diagram
exportDiagram, getMetadata, getNbImages, getSource, getSplitPagesHorizontal, getSplitPagesVertical, getTitleDisplay
-
Methods inherited from interface net.sourceforge.plantuml.WithSprite
addSprite
-
-
-
-
Constructor Detail
-
ClassDiagram
public ClassDiagram(ThemeStyle style, UmlSource source, ISkinSimple skinParam)
-
-
Method Detail
-
getOrCreateLeaf
public ILeaf getOrCreateLeaf(Ident ident, Code code, LeafType type, USymbol symbol)
- Specified by:
getOrCreateLeaf
in classCucaDiagram
-
createLeaf
public ILeaf createLeaf(Ident idNewLong, Code code, Display display, LeafType type, USymbol symbol)
- Overrides:
createLeaf
in classCucaDiagram
-
leafExist
public final boolean leafExist(Code code)
- Overrides:
leafExist
in classCucaDiagram
-
setAllowMixing
public void setAllowMixing(boolean allowMixing)
-
isAllowMixing
public boolean isAllowMixing()
-
layoutNewLine
public void layoutNewLine()
-
exportDiagramInternal
protected final ImageData exportDiagramInternal(OutputStream os, int index, FileFormatOption fileFormatOption) throws IOException
- Overrides:
exportDiagramInternal
in classCucaDiagram
- Throws:
IOException
-
exportLayoutExplicit
protected final ImageData exportLayoutExplicit(OutputStream os, int index, FileFormatOption fileFormatOption) throws IOException
- Throws:
IOException
-
checkFinalError
public String checkFinalError()
- Overrides:
checkFinalError
in classAbstractPSystem
-
-