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, setSourcepublic int getNbImages()
DiagramgetNbImages in interface DiagramgetNbImages in class AbstractPSystempublic DiagramDescription getDescription()
public ImageData exportDiagram(OutputStream os, int num, FileFormatOption fileFormatOption) throws IOException
Diagramnew 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 useIOExceptionpublic final Project getProject()
Copyright © 2015. All Rights Reserved.