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,WarningHandler,WithSprite
- Direct Known Subclasses:
ActivityDiagram3,BoardDiagram,BpmDiagram,CucaDiagram,FilesDiagram,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(UmlSource source, UmlDiagramType type, Previous previous, PreprocessingArtifact preprocessing) -
Method Summary
Modifier and TypeMethodDescriptionprotected final voidexportCmap(SuggestedFile suggestedFile, int index, ImageData cmapdata) protected abstract ImageDataexportDiagramInternal(OutputStream os, int index, FileFormatOption fileFormatOption) protected final ImageDataexportDiagramNow(OutputStream os, int index, FileFormatOption fileFormatOption) final DisplayPositionedgetFooterOrHeaderTeoz(FontParam param) final intfinal booleanvoidsetHideEmptyDescription(boolean hideEmptyDescription) final voidsetMinwidth(int minwidth) final voidsetRotation(boolean rotation) Methods inherited from class net.sourceforge.plantuml.TitledDiagram
addSprite, addWarning, calculateBackColor, createImageBuilder, exportDiagramGraphic, getCaption, getCurrentStyleBuilder, getDefaultMargins, getFlashData, getFooter, getHeader, getLegend, getMainFrame, getPragma, getSkinParam, getTextMainBlock, getTitle, getTitleDisplay, getUmlDiagramType, getWarnings, isSkinParamUsed, isUseElk, isUseSmetana, loadSkin, muteColorMapper, setCaption, setLegend, setMainFrame, setParam, setSkinParamUsed, setTitle, setUseElk, setUseSmetana, updateFooter, updateHeaderMethods inherited from class net.sourceforge.plantuml.AbstractPSystem
checkFinalError, executeCommand, exportDiagram, getInstallationRequirement, getMetadata, getNamespaceSeparator, getNbImages, getPreprocessingArtifact, getRequiredPass, getScale, getSource, getSplitPagesHorizontal, getSplitPagesVertical, hasUrl, isOk, makeDiagramReady, seed, setNamespaceSeparator, setScale, setSplitPagesHorizontal, setSplitPagesVertical, startingPassMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.sourceforge.plantuml.Annotated
getCaption, getFooter, getHeader, getLegend, getMainFrame, getTitleMethods inherited from interface net.sourceforge.plantuml.core.Diagram
exportDiagram, exportDiagramGraphic, getDescription, getInstallationRequirement, getMetadata, getNbImages, getSource, getSplitPagesHorizontal, getSplitPagesVertical, getTitleDisplay, hasUrlMethods inherited from interface net.sourceforge.plantuml.WithSprite
addSprite
-
Constructor Details
-
UmlDiagram
public UmlDiagram(UmlSource source, UmlDiagramType type, Previous previous, PreprocessingArtifact preprocessing)
-
-
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(OutputStream os, int index, FileFormatOption fileFormatOption) throws IOException - Specified by:
exportDiagramNowin classAbstractPSystem- Throws:
IOException
-
exportCmap
protected final void exportCmap(SuggestedFile suggestedFile, int index, ImageData cmapdata) throws FileNotFoundException - Throws:
FileNotFoundException
-
exportDiagramInternal
protected abstract ImageData exportDiagramInternal(OutputStream os, int index, FileFormatOption fileFormatOption) throws IOException - Throws:
IOException
-
getWarningOrError
- Specified by:
getWarningOrErrorin interfaceDiagram- Overrides:
getWarningOrErrorin classAbstractPSystem
-
setHideEmptyDescription
public void setHideEmptyDescription(boolean hideEmptyDescription) -
getPrevious
-