public interface Diagram
Modifier and Type | Method and Description |
---|---|
ImageData |
exportDiagram(java.io.OutputStream os,
int num,
FileFormatOption fileFormat)
Export the diagram as an image to some format.
|
void |
exportDiagramGraphic(UGraphic ug,
FileFormatOption fileFormat) |
DiagramDescription |
getDescription() |
java.lang.String |
getMetadata() |
int |
getNbImages()
Number of images in this diagram (usually, 1)
|
UmlSource |
getSource()
The original source of the diagram
|
int |
getSplitPagesHorizontal() |
int |
getSplitPagesVertical() |
Display |
getTitleDisplay() |
java.lang.String |
getWarningOrError() |
boolean |
hasUrl()
Check if the Diagram have some links.
|
ImageData exportDiagram(java.io.OutputStream os, int num, FileFormatOption fileFormat) throws java.io.IOException
new page
for sequence
diagram for example).os
- where to write the imagenum
- usually 0 (index of the image to be exported for this
diagram).fileFormat
- file format to usejava.io.IOException
void exportDiagramGraphic(UGraphic ug, FileFormatOption fileFormat)
int getNbImages()
int getSplitPagesHorizontal()
int getSplitPagesVertical()
DiagramDescription getDescription()
java.lang.String getMetadata()
java.lang.String getWarningOrError()
UmlSource getSource()
boolean hasUrl()
Display getTitleDisplay()