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
,JsonDiagram
,ListSpriteDiagram
,MindMapDiagram
,NwDiagram
,PostItDiagram
,SequenceDiagram
,StdlibDiagram
,TimingDiagram
,WBSDiagram
,WireDiagram
public abstract class UmlDiagram extends TitledDiagram implements Diagram, Annotated, WithSprite
-
-
Field Summary
-
Fields inherited from class net.sourceforge.plantuml.TitledDiagram
FORCE_SMETANA
-
-
Constructor Summary
Constructors Constructor Description UmlDiagram(UmlDiagramType type)
UmlDiagram(UmlDiagramType type, ISkinSimple orig)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected 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 ImageData
exportDiagramNow(java.io.OutputStream os, int index, FileFormatOption fileFormatOption, long seed)
Animation
getAnimation()
static java.util.List<java.lang.String>
getFailureText2(java.lang.Throwable exception, java.lang.String textDiagram)
java.lang.String
getFlashData()
DisplaySection
getFooterOrHeaderTeoz(FontParam param)
int
getMinwidth()
java.lang.String
getWarningOrError()
boolean
isHideUnlinkedData()
boolean
isRotation()
void
setAnimation(java.lang.Iterable<java.lang.CharSequence> animationData)
void
setHideEmptyDescription(boolean hideEmptyDescription)
void
setHideUnlinkedData(boolean hideUnlinkedData)
void
setMinwidth(int minwidth)
void
setRotation(boolean rotation)
-
Methods inherited from class net.sourceforge.plantuml.TitledDiagram
addSprite, getCaption, getCurrentStyleBuilder, getFooter, getHeader, getLegend, getMainFrame, getPragma, getScaleCoef, getSkinParam, getTitle, getUmlDiagramType, isUseSmetana, loadSkin, setCaption, setLegend, setMainFrame, setParam, setTitle, setUseSmetana
-
Methods inherited from class net.sourceforge.plantuml.AbstractPSystem
checkFinalError, executeCommand, exportDiagram, getMetadata, getNbImages, getScale, getSource, hasUrl, isOk, makeDiagramReady, seed, setScale, setSource
-
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, hasUrl
-
Methods inherited from interface net.sourceforge.plantuml.WithSprite
addSprite
-
-
-
-
Constructor Detail
-
UmlDiagram
public UmlDiagram(UmlDiagramType type)
-
UmlDiagram
public UmlDiagram(UmlDiagramType type, ISkinSimple orig)
-
-
Method Detail
-
getMinwidth
public final int getMinwidth()
-
setMinwidth
public final void setMinwidth(int minwidth)
-
isRotation
public final boolean isRotation()
-
setRotation
public final void setRotation(boolean rotation)
-
getFooterOrHeaderTeoz
public final DisplaySection getFooterOrHeaderTeoz(FontParam param)
-
setAnimation
public final void setAnimation(java.lang.Iterable<java.lang.CharSequence> animationData)
-
getAnimation
public final Animation getAnimation()
-
isHideUnlinkedData
public final boolean isHideUnlinkedData()
-
setHideUnlinkedData
public final void setHideUnlinkedData(boolean hideUnlinkedData)
-
exportDiagramNow
protected final ImageData exportDiagramNow(java.io.OutputStream os, int index, FileFormatOption fileFormatOption, long seed) 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)
-
-