public abstract class AbstractPSystem extends Object implements Diagram
| Constructor and Description |
|---|
AbstractPSystem() |
| Modifier and Type | Method and Description |
|---|---|
String |
checkFinalError() |
CommandExecutionResult |
executeCommand(Command cmd,
BlocLines lines) |
ImageData |
exportDiagram(OutputStream os,
int index,
FileFormatOption fileFormatOption)
Export the diagram as an image to some format.
|
protected abstract ImageData |
exportDiagramNow(OutputStream os,
int index,
FileFormatOption fileFormatOption,
long seed) |
String |
getMetadata() |
int |
getNbImages()
Number of images in this diagram (usually, 1)
|
UmlSource |
getSource()
The original source of the diagram
|
DisplayPositionned |
getTitle() |
String |
getWarningOrError() |
boolean |
hasUrl()
Check if the Diagram have some links.
|
boolean |
isOk() |
void |
makeDiagramReady() |
long |
seed() |
void |
setSource(UmlSource source) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDescriptionpublic final 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 String getWarningOrError()
getWarningOrError in interface Diagrampublic String checkFinalError()
public void makeDiagramReady()
public boolean isOk()
public CommandExecutionResult executeCommand(Command cmd, BlocLines lines)
public boolean hasUrl()
Diagrampublic final ImageData exportDiagram(OutputStream os, int index, FileFormatOption fileFormatOption) throws 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 useIOExceptionprotected abstract ImageData exportDiagramNow(OutputStream os, int index, FileFormatOption fileFormatOption, long seed) throws IOException
IOExceptionCopyright © 2017. All rights reserved.