Package net.sourceforge.plantuml.nwdiag
Class NwDiagram
- java.lang.Object
-
- net.sourceforge.plantuml.AbstractPSystem
-
- net.sourceforge.plantuml.TitledDiagram
-
- net.sourceforge.plantuml.UmlDiagram
-
- net.sourceforge.plantuml.nwdiag.NwDiagram
-
- All Implemented Interfaces:
Annotated,Diagram,WithSprite
public class NwDiagram extends UmlDiagram
-
-
Field Summary
-
Fields inherited from class net.sourceforge.plantuml.TitledDiagram
FORCE_ELK, FORCE_SMETANA
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommandExecutionResultaddElement(java.lang.String name, java.lang.String definition)CommandExecutionResultcloseSomething()protected ImageDataexportDiagramInternal(java.io.OutputStream os, int index, FileFormatOption fileFormatOption)ClockwiseTopRightBottomLeftgetDefaultMargins()DiagramDescriptiongetDescription()protected TextBlockgetTextMainBlock(FileFormatOption fileFormatOption)voidinit()CommandExecutionResultlink(java.lang.String name1, java.lang.String name2)voidmakeDiagramReady()CommandExecutionResultopenGroup(java.lang.String name)CommandExecutionResultopenNetwork(java.lang.String name)CommandExecutionResultsetProperty(java.lang.String property, java.lang.String value)-
Methods inherited from class net.sourceforge.plantuml.UmlDiagram
exportCmap, exportDiagramError, exportDiagramNow, getFailureText2, getFlashData, getFooterOrHeaderTeoz, getMinwidth, getWarningOrError, isRotation, setHideEmptyDescription, setMinwidth, setRotation
-
Methods inherited from class net.sourceforge.plantuml.TitledDiagram
addSprite, calculateBackColor, createImageBuilder, exportDiagramGraphic, getCaption, getCurrentStyleBuilder, getFooter, getHeader, getLegend, getMainFrame, getPragma, getSkinParam, getTitle, getTitleDisplay, getUmlDiagramType, isUseElk, isUseSmetana, loadSkin, muteColorMapper, setCaption, setLegend, setMainFrame, setParam, setTitle, setUseElk, setUseSmetana
-
Methods inherited from class net.sourceforge.plantuml.AbstractPSystem
checkFinalError, executeCommand, exportDiagram, getMetadata, getNamespaceSeparator, getNbImages, getScale, getSource, getSplitPagesHorizontal, getSplitPagesVertical, hasUrl, isOk, seed, setNamespaceSeparator, 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, exportDiagramGraphic, getMetadata, getNbImages, getSource, getSplitPagesHorizontal, getSplitPagesVertical, getTitleDisplay, hasUrl
-
Methods inherited from interface net.sourceforge.plantuml.WithSprite
addSprite
-
-
-
-
Constructor Detail
-
NwDiagram
public NwDiagram(UmlSource source)
-
-
Method Detail
-
getDescription
public DiagramDescription getDescription()
-
init
public void init()
-
makeDiagramReady
public void makeDiagramReady()
- Overrides:
makeDiagramReadyin classAbstractPSystem
-
openGroup
public CommandExecutionResult openGroup(java.lang.String name)
-
openNetwork
public CommandExecutionResult openNetwork(java.lang.String name)
-
closeSomething
public CommandExecutionResult closeSomething()
-
link
public CommandExecutionResult link(java.lang.String name1, java.lang.String name2)
-
addElement
public CommandExecutionResult addElement(java.lang.String name, java.lang.String definition)
-
exportDiagramInternal
protected ImageData exportDiagramInternal(java.io.OutputStream os, int index, FileFormatOption fileFormatOption) throws java.io.IOException
- Specified by:
exportDiagramInternalin classUmlDiagram- Throws:
java.io.IOException
-
getTextMainBlock
protected TextBlock getTextMainBlock(FileFormatOption fileFormatOption)
- Specified by:
getTextMainBlockin classTitledDiagram
-
setProperty
public CommandExecutionResult setProperty(java.lang.String property, java.lang.String value)
-
getDefaultMargins
public ClockwiseTopRightBottomLeft getDefaultMargins()
- Overrides:
getDefaultMarginsin classTitledDiagram
-
-