public class PSystemTree extends AbstractPSystem
Constructor and Description |
---|
PSystemTree() |
Modifier and Type | Method and Description |
---|---|
CommandExecutionResult |
addParagraph(int level,
String label) |
ImageData |
exportDiagram(OutputStream os,
int num,
FileFormatOption fileFormat)
Export the diagram as an image to some format.
|
DiagramDescription |
getDescription() |
executeCommand, getMetadata, getNbImages, getSource, getTitle, getWarningOrError, hasUrl, isOk, makeDiagramReady, setSource
public DiagramDescription getDescription()
public ImageData exportDiagram(OutputStream os, int num, FileFormatOption fileFormat) throws IOException
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 useIOException
public CommandExecutionResult addParagraph(int level, String label)
Copyright © 2015. All Rights Reserved.