net.sourceforge.plantuml
Class NewpagedDiagram
java.lang.Object
net.sourceforge.plantuml.AbstractPSystem
net.sourceforge.plantuml.NewpagedDiagram
- All Implemented Interfaces:
- Diagram
public class NewpagedDiagram
- extends AbstractPSystem
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
newpage
public static NewpagedDiagram newpage(AbstractPSystem diagram,
AbstractPSystem empty)
executeCommand
public CommandExecutionResult executeCommand(Command cmd,
List<String> lines)
- Overrides:
executeCommand
in class AbstractPSystem
exportDiagram
public ImageData exportDiagram(OutputStream os,
int num,
FileFormatOption fileFormat)
throws IOException
- Description copied from interface:
Diagram
- Export the diagram as an image to some format.
Note that a diagram could be drawn as several images (think about
new page
for sequence diagram for example).
- Parameters:
os
- where to write the imagenum
- useually 0 (index of the image to be exported for this diagram).fileFormat
- file format to use
- Returns:
- a description of the generated image
- Throws:
IOException
getNbImages
public int getNbImages()
- Description copied from interface:
Diagram
- Number of images in this diagram (usually, 1)
- Specified by:
getNbImages
in interface Diagram
- Overrides:
getNbImages
in class AbstractPSystem
- Returns:
- usually 1
getDescription
public String getDescription()
getWarningOrError
public String getWarningOrError()
- Specified by:
getWarningOrError
in interface Diagram
- Overrides:
getWarningOrError
in class AbstractPSystem
Copyright © 2013. All Rights Reserved.