Class SVisualWriterHelper


  • public class SVisualWriterHelper
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SVisualWriterHelper

        public SVisualWriterHelper()
    • Method Detail

      • beginVisualSection

        public static final void beginVisualSection​(java.io.PrintStream out)
        Writes the start of the visual section.
        Parameters:
        out - The stream.
      • writeBpmnShape

        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)
        Writes a visual BPMN shape.
        Parameters:
        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.
      • writeEdge

        public static final void writeEdge​(java.lang.String bpmnid,
                                           boolean dataedge,
                                           java.util.Collection<java.awt.geom.Point2D> points,
                                           java.io.PrintStream out)
        Writes a visual edge.
        Parameters:
        bpmnid - ID of the BPMN edge element.
        dataedge - Flag whether this is a data edge.
        points - Control points, if any.
        out - The stream
      • endVisualSection

        public static final void endVisualSection​(java.io.PrintStream out)
        Writes the end of the visual section.
        Parameters:
        out - The stream.