net.sourceforge.plantuml
Class AbstractPSystem
- java.lang.Object
-
- net.sourceforge.plantuml.AbstractPSystem
-
- All Implemented Interfaces:
- Diagram
- Direct Known Subclasses:
- GanttDiagram, NewpagedDiagram, PSystemAppleTwo, PSystemCharlie, PSystemColors, PSystemCreole, PSystemCute, PSystemDedication, PSystemDefinition, PSystemDitaa, PSystemDonors, PSystemDot, PSystemEgg, PSystemError, PSystemJcckit, PSystemLatex, PSystemLicense, PSystemListFonts, PSystemListInternalSprites, PSystemListOpenIconic, PSystemLogo, PSystemLost, PSystemMath, PSystemOpenIconic, PSystemOregon, PSystemPath, PSystemProject, PSystemProject2, PSystemRIP, PSystemSalt, PSystemSkinparameterList, PSystemStats, PSystemSudoku, PSystemTree, PSystemVersion, PSystemWelcome, PSystemXearth, UmlDiagram
public abstract class AbstractPSystem extends java.lang.Object implements Diagram
-
-
Constructor Summary
Constructors Constructor and Description AbstractPSystem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.StringcheckFinalError()CommandExecutionResultexecuteCommand(Command cmd, BlocLines lines)ImageDataexportDiagram(java.io.OutputStream os, int index, FileFormatOption fileFormatOption)Export the diagram as an image to some format.java.lang.StringgetMetadata()intgetNbImages()Number of images in this diagram (usually, 1)ScalegetScale()UmlSourcegetSource()The original source of the diagramDisplayPositionnedgetTitle()java.lang.StringgetWarningOrError()booleanhasUrl()Check if the Diagram have some links.booleanisOk()voidmakeDiagramReady()longseed()voidsetScale(Scale scale)voidsetSource(UmlSource source)-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sourceforge.plantuml.core.Diagram
getDescription
-
-
-
-
Method Detail
-
getMetadata
public final java.lang.String getMetadata()
- Specified by:
getMetadatain interfaceDiagram
-
getSource
public final UmlSource getSource()
Description copied from interface:DiagramThe original source of the diagram
-
seed
public final long seed()
-
setSource
public final void setSource(UmlSource source)
-
getNbImages
public int getNbImages()
Description copied from interface:DiagramNumber of images in this diagram (usually, 1)- Specified by:
getNbImagesin interfaceDiagram- Returns:
- usually 1
-
getTitle
public DisplayPositionned getTitle()
-
getWarningOrError
public java.lang.String getWarningOrError()
- Specified by:
getWarningOrErrorin interfaceDiagram
-
checkFinalError
public java.lang.String checkFinalError()
-
makeDiagramReady
public void makeDiagramReady()
-
isOk
public boolean isOk()
-
executeCommand
public CommandExecutionResult executeCommand(Command cmd, BlocLines lines)
-
hasUrl
public boolean hasUrl()
Description copied from interface:DiagramCheck if the Diagram have some links.
-
exportDiagram
public final ImageData exportDiagram(java.io.OutputStream os, int index, FileFormatOption fileFormatOption) throws java.io.IOException
Description copied from interface:DiagramExport the diagram as an image to some format. Note that a diagram could be drawn as several images (think aboutnew pagefor sequence diagram for example).- Specified by:
exportDiagramin interfaceDiagram- Parameters:
os- where to write the imageindex- usually 0 (index of the image to be exported for this diagram).fileFormatOption- file format to use- Returns:
- a description of the generated image
- Throws:
java.io.IOException
-
setScale
public final void setScale(Scale scale)
-
getScale
public final Scale getScale()
-
-
DataMelt 3.0 © DataMelt by jWork.ORG