public class NewpagedDiagram extends AbstractPSystem
Constructor and Description |
---|
NewpagedDiagram(net.sourceforge.plantuml.core.Diagram diag1,
net.sourceforge.plantuml.core.Diagram diag2) |
Modifier and Type | Method and Description |
---|---|
net.sourceforge.plantuml.command.CommandExecutionResult |
executeCommand(net.sourceforge.plantuml.command.Command cmd,
java.util.List<java.lang.String> lines) |
net.sourceforge.plantuml.core.ImageData |
exportDiagram(java.io.OutputStream os,
int num,
FileFormatOption fileFormat)
Export the diagram as an image to some format.
|
net.sourceforge.plantuml.core.DiagramDescription |
getDescription() |
int |
getNbImages()
Number of images in this diagram (usually, 1)
|
java.lang.String |
getWarningOrError() |
void |
makeDiagramReady() |
java.lang.String |
toString() |
getMetadata, getSource, getTitle, hasUrl, isOk, setSource
public NewpagedDiagram(net.sourceforge.plantuml.core.Diagram diag1, net.sourceforge.plantuml.core.Diagram diag2)
public java.lang.String toString()
toString
in class java.lang.Object
public net.sourceforge.plantuml.command.CommandExecutionResult executeCommand(net.sourceforge.plantuml.command.Command cmd, java.util.List<java.lang.String> lines)
executeCommand
in class AbstractPSystem
public net.sourceforge.plantuml.core.ImageData exportDiagram(java.io.OutputStream os, int num, FileFormatOption fileFormat) throws java.io.IOException
net.sourceforge.plantuml.core.Diagram
new page
for sequence diagram for example).os
- where to write the imagenum
- useually 0 (index of the image to be exported for this diagram).fileFormat
- file format to usejava.io.IOException
public int getNbImages()
net.sourceforge.plantuml.core.Diagram
getNbImages
in interface net.sourceforge.plantuml.core.Diagram
getNbImages
in class AbstractPSystem
public net.sourceforge.plantuml.core.DiagramDescription getDescription()
public java.lang.String getWarningOrError()
getWarningOrError
in interface net.sourceforge.plantuml.core.Diagram
getWarningOrError
in class AbstractPSystem
public void makeDiagramReady()
makeDiagramReady
in class AbstractPSystem