public abstract class AbstractPSystem extends java.lang.Object implements Diagram
Short for "plasma system", although
most newer diagram types do not use entities stored in a plasma.
PSystemBuilder| Constructor and Description |
|---|
AbstractPSystem(UmlSource source) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
checkFinalError() |
ImageBuilder |
createImageBuilder(FileFormatOption fileFormatOption) |
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.
|
void |
exportDiagramGraphic(UGraphic ug,
FileFormatOption fileFormatOption) |
protected abstract ImageData |
exportDiagramNow(java.io.OutputStream os,
int index,
FileFormatOption fileFormatOption) |
ClockwiseTopRightBottomLeft |
getDefaultMargins() |
java.lang.String |
getMetadata() |
java.lang.String |
getNamespaceSeparator() |
int |
getNbImages()
Number of images in this diagram (usually, 1)
|
Scale |
getScale() |
UmlSource |
getSource()
The original source of the diagram
|
int |
getSplitPagesHorizontal() |
int |
getSplitPagesVertical() |
DisplayPositionned |
getTitle() |
Display |
getTitleDisplay() |
java.lang.String |
getWarningOrError() |
boolean |
hasUrl()
Check if the Diagram have some links.
|
boolean |
isOk() |
void |
makeDiagramReady() |
protected ColorMapper |
muteColorMapper(ColorMapper init) |
long |
seed() |
void |
setNamespaceSeparator(java.lang.String namespaceSeparator) |
void |
setScale(Scale scale) |
void |
setSplitPagesHorizontal(int splitPagesHorizontal) |
void |
setSplitPagesVertical(int splitPagesVertical) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDescriptionpublic AbstractPSystem(UmlSource source)
public void setNamespaceSeparator(java.lang.String namespaceSeparator)
public final java.lang.String getNamespaceSeparator()
public final java.lang.String getMetadata()
getMetadata in interface Diagrampublic final UmlSource getSource()
Diagrampublic final long seed()
public int getNbImages()
DiagramgetNbImages in interface Diagrampublic int getSplitPagesHorizontal()
getSplitPagesHorizontal in interface Diagrampublic void setSplitPagesHorizontal(int splitPagesHorizontal)
public int getSplitPagesVertical()
getSplitPagesVertical in interface Diagrampublic void setSplitPagesVertical(int splitPagesVertical)
public 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()
public ImageBuilder createImageBuilder(FileFormatOption fileFormatOption) throws java.io.IOException
java.io.IOExceptionprotected ColorMapper muteColorMapper(ColorMapper init)
protected abstract ImageData exportDiagramNow(java.io.OutputStream os, int index, FileFormatOption fileFormatOption) throws java.io.IOException
java.io.IOExceptionpublic ClockwiseTopRightBottomLeft getDefaultMargins()
public Display getTitleDisplay()
getTitleDisplay in interface Diagrampublic void exportDiagramGraphic(UGraphic ug, FileFormatOption fileFormatOption)
exportDiagramGraphic in interface Diagram