public class PSystemProject2 extends AbstractPSystem
| Constructor and Description |
|---|
PSystemProject2() |
| Modifier and Type | Method and Description |
|---|---|
ImageData |
exportDiagram(java.io.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)
|
Project2 |
getProject() |
executeCommand, getMetadata, getSource, getTitle, getWarningOrError, hasUrl, isOk, makeDiagramReady, setSourcepublic int getNbImages()
DiagramgetNbImages in interface DiagramgetNbImages in class AbstractPSystempublic DiagramDescription getDescription()
public ImageData exportDiagram(java.io.OutputStream os, int num, FileFormatOption fileFormatOption) throws java.io.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 usejava.io.IOExceptionpublic final Project2 getProject()