public class PSystemProject extends AbstractPSystem
Constructor and Description |
---|
PSystemProject() |
Modifier and Type | Method and Description |
---|---|
ImageData |
exportDiagram(OutputStream os,
int num,
FileFormatOption fileFormatOption)
Export the diagram as an image to some format.
|
DiagramDescription |
getDescription() |
int |
getNbImages()
Number of images in this diagram (usually, 1)
|
Project |
getProject() |
executeCommand, getMetadata, getSource, getTitle, getWarningOrError, hasUrl, isOk, makeDiagramReady, setSource
public int getNbImages()
Diagram
getNbImages
in interface Diagram
getNbImages
in class AbstractPSystem
public DiagramDescription getDescription()
public ImageData exportDiagram(OutputStream os, int num, FileFormatOption fileFormatOption) 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).fileFormatOption
- file format to useIOException
public final Project getProject()
Copyright © 2015. All Rights Reserved.