Class VDataEdge

  • All Implemented Interfaces:
    com.mxgraph.model.mxICell, java.io.Serializable, java.lang.Cloneable

    public class VDataEdge
    extends VEdge
    Visual representation of a data edge.
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class com.mxgraph.model.mxCell

        children, collapsed, connectable, edge, edges, geometry, id, parent, source, style, target, value, vertex, visible
    • Constructor Summary

      Constructors 
      Constructor Description
      VDataEdge​(com.mxgraph.view.mxGraph graph)
      Creates a new visual representation of a data edge.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.mxgraph.model.mxICell getEdgeParent()
      Gets the authoritative edge parent.
      protected VActivity getSourceActivity()
      Returns the source activity.
      protected VActivity getTargetActivity()
      Returns the target activity.
      void setSource​(com.mxgraph.model.mxICell source)
      Sets the source.
      void setTarget​(com.mxgraph.model.mxICell target)
      Sets the target.
      • Methods inherited from class com.mxgraph.model.mxCell

        clone, cloneValue, getAttribute, getAttribute, getChildAt, getChildCount, getEdgeAt, getEdgeCount, getEdgeIndex, getGeometry, getId, getIndex, getSource, getStyle, getTarget, getTerminal, insert, insert, insertEdge, isCollapsed, isConnectable, isEdge, isVertex, isVisible, remove, remove, removeEdge, removeFromParent, removeFromTerminal, setAttribute, setCollapsed, setConnectable, setEdge, setGeometry, setId, setParent, setStyle, setTerminal, setVertex, setVisible
      • Methods inherited from class java.lang.Object

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

      • VDataEdge

        public VDataEdge​(com.mxgraph.view.mxGraph graph)
        Creates a new visual representation of a data edge.
        Parameters:
        graph - The BPMN graph.
    • Method Detail

      • setSource

        public void setSource​(com.mxgraph.model.mxICell source)
        Sets the source.
        Overrides:
        setSource in class VEdge
      • setTarget

        public void setTarget​(com.mxgraph.model.mxICell target)
        Sets the target.
        Overrides:
        setTarget in class com.mxgraph.model.mxCell
      • getEdgeParent

        public com.mxgraph.model.mxICell getEdgeParent()
        Gets the authoritative edge parent.
        Overrides:
        getEdgeParent in class VEdge
        Returns:
        The parent.
      • getSourceActivity

        protected VActivity getSourceActivity()
        Returns the source activity.
        Returns:
        The activity.
      • getTargetActivity

        protected VActivity getTargetActivity()
        Returns the target activity.
        Returns:
        The activity.