Class VElement

  • All Implemented Interfaces:
    com.mxgraph.model.mxICell, java.io.Serializable, java.lang.Cloneable
    Direct Known Subclasses:
    VEdge, VNode

    public abstract class VElement
    extends com.mxgraph.model.mxCell
    Generic Visual BPMN Element.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected MIdElement bpmnelement
      Associated BPMN element
      protected com.mxgraph.view.mxGraph graph
      The graph where this element is used.
      • 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
      VElement​(com.mxgraph.view.mxGraph graph, java.lang.String style)
      Creates a new element.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      MIdElement getBpmnElement()
      Gets the BPMN element.
      com.mxgraph.view.mxGraph getGraph()
      Returns the graph.
      void setBpmnElement​(MIdElement bpmnelement)
      Sets the BPMN element.
      void setVisualParent​(com.mxgraph.model.mxICell parent)
      Sets the visual parent without side effects.
      • Methods inherited from class com.mxgraph.model.mxCell

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

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

      • graph

        protected com.mxgraph.view.mxGraph graph
        The graph where this element is used.
      • bpmnelement

        protected MIdElement bpmnelement
        Associated BPMN element
    • Constructor Detail

      • VElement

        public VElement​(com.mxgraph.view.mxGraph graph,
                        java.lang.String style)
        Creates a new element.
        Parameters:
        graph - The graph where this element is used.
        geometry - Initial element geometry.
        style - Initial style.
    • Method Detail

      • getGraph

        public com.mxgraph.view.mxGraph getGraph()
        Returns the graph.
        Returns:
        The graph.
      • getBpmnElement

        public MIdElement getBpmnElement()
        Gets the BPMN element.
        Returns:
        The BPMN element.
      • setBpmnElement

        public void setBpmnElement​(MIdElement bpmnelement)
        Sets the BPMN element.
        Parameters:
        bpmnelement - The BPMN element.
      • setVisualParent

        public void setVisualParent​(com.mxgraph.model.mxICell parent)
        Sets the visual parent without side effects.