|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Diagram
Represents a single diagram. A Diagram could be a UML (sequence diagram, class diagram...) or an non-UML diagram.
| Method Summary | |
|---|---|
ImageData |
exportDiagram(OutputStream os,
int num,
FileFormatOption fileFormat)
Export the diagram as an image to some format. |
String |
getDescription()
|
String |
getMetadata()
|
int |
getNbImages()
Number of images in this diagram (usually, 1) |
UmlSource |
getSource()
The original source of the diagram |
String |
getWarningOrError()
|
| Method Detail |
|---|
ImageData exportDiagram(OutputStream os,
int num,
FileFormatOption fileFormat)
throws IOException
new page
for sequence diagram for example).
os - where to write the imagenum - useually 0 (index of the image to be exported for this diagram).fileFormat - file format to use
IOExceptionint getNbImages()
String getDescription()
String getMetadata()
String getWarningOrError()
UmlSource getSource()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||