public abstract class AbstractPSystem extends java.lang.Object implements Diagram
| Constructor and Description |
|---|
AbstractPSystem() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
checkFinalError() |
CommandExecutionResult |
executeCommand(Command cmd,
BlocLines lines) |
ImageData |
exportDiagram(java.io.OutputStream os,
int index,
FileFormatOption fileFormatOption)
Export the diagram as an image to some format.
|
protected abstract ImageData |
exportDiagramNow(java.io.OutputStream os,
int index,
FileFormatOption fileFormatOption,
long seed) |
java.lang.String |
getMetadata() |
int |
getNbImages()
Number of images in this diagram (usually, 1)
|
Scale |
getScale() |
UmlSource |
getSource()
The original source of the diagram
|
DisplayPositionned |
getTitle() |
java.lang.String |
getWarningOrError() |
boolean |
hasUrl()
Check if the Diagram have some links.
|
boolean |
isOk() |
void |
makeDiagramReady() |
long |
seed() |
void |
setScale(Scale scale) |
void |
setSource(UmlSource source) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDescriptionpublic final java.lang.String getMetadata()
getMetadata in interface Diagrampublic final UmlSource getSource()
Diagrampublic final long seed()
public final void setSource(UmlSource source)
public int getNbImages()
DiagramgetNbImages in interface Diagrampublic DisplayPositionned getTitle()
public java.lang.String getWarningOrError()
getWarningOrError in interface Diagrampublic java.lang.String checkFinalError()
public void makeDiagramReady()
public boolean isOk()
public CommandExecutionResult executeCommand(Command cmd, BlocLines lines)
public boolean hasUrl()
Diagrampublic final ImageData exportDiagram(java.io.OutputStream os, int index, FileFormatOption fileFormatOption) throws java.io.IOException
Diagramnew page for sequence diagram for example).exportDiagram in interface Diagramos - where to write the imageindex - usually 0 (index of the image to be exported for this diagram).fileFormatOption - file format to usejava.io.IOExceptionpublic final void setScale(Scale scale)
public final Scale getScale()
protected abstract ImageData exportDiagramNow(java.io.OutputStream os, int index, FileFormatOption fileFormatOption, long seed) throws java.io.IOException
java.io.IOException