public class NewpagedDiagram extends AbstractPSystem
| Constructor and Description |
|---|
NewpagedDiagram(AbstractPSystem diag1,
AbstractPSystem diag2) |
| Modifier and Type | Method and Description |
|---|---|
CommandExecutionResult |
executeCommand(Command cmd,
BlocLines lines) |
ImageData |
exportDiagram(java.io.OutputStream os,
int num,
FileFormatOption fileFormat)
Export the diagram as an image to some format.
|
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, setSourcepublic NewpagedDiagram(AbstractPSystem diag1, AbstractPSystem diag2)
public java.lang.String toString()
toString in class java.lang.Objectpublic CommandExecutionResult executeCommand(Command cmd, BlocLines lines)
executeCommand in class AbstractPSystempublic ImageData exportDiagram(java.io.OutputStream os, int num, FileFormatOption fileFormat) 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).fileFormat - file format to usejava.io.IOExceptionpublic int getNbImages()
DiagramgetNbImages in interface DiagramgetNbImages in class AbstractPSystempublic DiagramDescription getDescription()
public java.lang.String getWarningOrError()
getWarningOrError in interface DiagramgetWarningOrError in class AbstractPSystempublic void makeDiagramReady()
makeDiagramReady in class AbstractPSystem