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, setSource
public NewpagedDiagram(AbstractPSystem diag1, AbstractPSystem diag2)
public java.lang.String toString()
toString
in class java.lang.Object
public CommandExecutionResult executeCommand(Command cmd, BlocLines lines)
executeCommand
in class AbstractPSystem
public ImageData exportDiagram(java.io.OutputStream os, int num, FileFormatOption fileFormat) throws java.io.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 usejava.io.IOException
public int getNbImages()
Diagram
getNbImages
in interface Diagram
getNbImages
in class AbstractPSystem
public DiagramDescription getDescription()
public java.lang.String getWarningOrError()
getWarningOrError
in interface Diagram
getWarningOrError
in class AbstractPSystem
public void makeDiagramReady()
makeDiagramReady
in class AbstractPSystem