Package net.sourceforge.plantuml
Class UmlDiagram
java.lang.Object
net.sourceforge.plantuml.AbstractPSystem
net.sourceforge.plantuml.TitledDiagram
net.sourceforge.plantuml.UmlDiagram
- All Implemented Interfaces:
Annotated
,Diagram
,WithSprite
- Direct Known Subclasses:
ActivityDiagram3
,BoardDiagram
,BpmDiagram
,CucaDiagram
,FlowDiagram
,GitDiagram
,Help
,ListSpriteDiagram
,MindMapDiagram
,NwDiagram
,SequenceDiagram
,StdlibDiagram
,TimingDiagram
,WBSDiagram
,WireDiagram
-
Field Summary
Fields inherited from class net.sourceforge.plantuml.TitledDiagram
FORCE_ELK, FORCE_SMETANA
-
Constructor Summary
ConstructorsConstructorDescriptionUmlDiagram
(ThemeStyle style, UmlSource source, UmlDiagramType type, ISkinSimple orig) -
Method Summary
Modifier and TypeMethodDescriptionprotected final void
exportCmap
(SuggestedFile suggestedFile, int index, ImageData cmapdata) static void
exportDiagramError
(java.io.OutputStream os, java.lang.Throwable exception, FileFormatOption fileFormat, long seed, java.lang.String metadata, java.lang.String flash, java.util.List<java.lang.String> strings) protected abstract ImageData
exportDiagramInternal
(java.io.OutputStream os, int index, FileFormatOption fileFormatOption) protected final ImageData
exportDiagramNow
(java.io.OutputStream os, int index, FileFormatOption fileFormatOption) static java.util.List<java.lang.String>
getFailureText2
(java.lang.Throwable exception, java.lang.String textDiagram) java.lang.String
final DisplaySection
getFooterOrHeaderTeoz
(FontParam param) final int
java.lang.String
final boolean
void
setHideEmptyDescription
(boolean hideEmptyDescription) final void
setMinwidth
(int minwidth) final void
setRotation
(boolean rotation) Methods inherited from class net.sourceforge.plantuml.TitledDiagram
addSprite, calculateBackColor, createImageBuilder, getAnimation, getCaption, getCurrentStyleBuilder, getDefaultMargins, getFooter, getHeader, getLegend, getMainFrame, getPragma, getSkinParam, getTitle, getTitleDisplay, getUmlDiagramType, isUseElk, isUseSmetana, loadSkin, setAnimation, setCaption, setLegend, setMainFrame, setParam, setTitle, setUseElk, setUseSmetana
Methods inherited from class net.sourceforge.plantuml.AbstractPSystem
checkFinalError, executeCommand, exportDiagram, getMetadata, getNbImages, getScale, getSource, getSplitPagesHorizontal, getSplitPagesVertical, hasUrl, 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, getDescription, getMetadata, getNbImages, getSource, getSplitPagesHorizontal, getSplitPagesVertical, getTitleDisplay, hasUrl
Methods inherited from interface net.sourceforge.plantuml.WithSprite
addSprite
-
Constructor Details
-
UmlDiagram
-
-
Method Details
-
getMinwidth
public final int getMinwidth() -
setMinwidth
public final void setMinwidth(int minwidth) -
isRotation
public final boolean isRotation() -
setRotation
public final void setRotation(boolean rotation) -
exportDiagramNow
protected final ImageData exportDiagramNow(java.io.OutputStream os, int index, FileFormatOption fileFormatOption) throws java.io.IOException - Specified by:
exportDiagramNow
in classAbstractPSystem
- Throws:
java.io.IOException
-
exportDiagramError
public static void exportDiagramError(java.io.OutputStream os, java.lang.Throwable exception, FileFormatOption fileFormat, long seed, java.lang.String metadata, java.lang.String flash, java.util.List<java.lang.String> strings) throws java.io.IOException - Throws:
java.io.IOException
-
getFlashData
public java.lang.String getFlashData() -
getFailureText2
public static java.util.List<java.lang.String> getFailureText2(java.lang.Throwable exception, java.lang.String textDiagram) -
exportDiagramInternal
protected abstract ImageData exportDiagramInternal(java.io.OutputStream os, int index, FileFormatOption fileFormatOption) throws java.io.IOException - Throws:
java.io.IOException
-
exportCmap
protected final void exportCmap(SuggestedFile suggestedFile, int index, ImageData cmapdata) throws java.io.FileNotFoundException - Throws:
java.io.FileNotFoundException
-
getWarningOrError
public java.lang.String getWarningOrError()- Specified by:
getWarningOrError
in interfaceDiagram
- Overrides:
getWarningOrError
in classAbstractPSystem
-
setHideEmptyDescription
public void setHideEmptyDescription(boolean hideEmptyDescription)
-