public class SVisualWriterHelper
extends java.lang.Object
Constructor and Description |
---|
SVisualWriterHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
beginVisualSection(java.io.PrintStream out)
Writes the start of the visual section.
|
static void |
endVisualSection(java.io.PrintStream out)
Writes the end of the visual section.
|
static void |
writeBpmnShape(java.lang.String bpmnid,
java.awt.geom.Rectangle2D bounds,
java.awt.geom.Rectangle2D altbounds,
java.util.Collection<java.lang.String> intparams,
java.lang.Boolean expanded,
java.io.PrintStream out)
Writes a visual BPMN shape.
|
static void |
writeEdge(java.lang.String bpmnid,
boolean dataedge,
java.util.Collection<java.awt.geom.Point2D> points,
java.io.PrintStream out)
Writes a visual edge.
|
public static final void beginVisualSection(java.io.PrintStream out)
out
- The stream.public static final void writeBpmnShape(java.lang.String bpmnid, java.awt.geom.Rectangle2D bounds, java.awt.geom.Rectangle2D altbounds, java.util.Collection<java.lang.String> intparams, java.lang.Boolean expanded, java.io.PrintStream out)
bpmnid
- ID of the BPMN element.bounds
- Bounds of the shape.altbounds
- Alternate bounds of the shape.intparams
- Parameters marked as internal.expanded
- Flag if shape is expanded (can be null if not applicable)out
- The stream.public static final void writeEdge(java.lang.String bpmnid, boolean dataedge, java.util.Collection<java.awt.geom.Point2D> points, java.io.PrintStream out)
bpmnid
- ID of the BPMN edge element.dataedge
- Flag whether this is a data edge.points
- Control points, if any.out
- The streampublic static final void endVisualSection(java.io.PrintStream out)
out
- The stream.