Class VEdge

    • 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
      VEdge​(VElement source, VElement target, IEdge iedge)
      Creates a new visual representation of a node.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      IEdge getEdge()
      Get the business model edge.
      IElement getElement()
      Returns the business model element.
      java.lang.String getStyle()
      Returns the style.
      java.lang.Object getValue()
      Gets the value.
      void setSource​(com.mxgraph.model.mxICell source)  
      void setSourceValue​(com.mxgraph.model.mxICell source)  
      void setTarget​(com.mxgraph.model.mxICell target)  
      void setTargetValue​(com.mxgraph.model.mxICell target)  
      void setValue​(java.lang.Object value)
      Sets the value.
      • Methods inherited from class com.mxgraph.model.mxCell

        clone, cloneValue, getAttribute, getAttribute, getChildAt, getChildCount, getEdgeAt, getEdgeCount, getEdgeIndex, getGeometry, getId, getIndex, getParent, getSource, 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

      • VEdge

        public VEdge​(VElement source,
                     VElement target,
                     IEdge iedge)
        Creates a new visual representation of a node.
        Parameters:
        iedge - The underlying node this visual represents.
        style - The style.
    • Method Detail

      • getElement

        public IElement getElement()
        Returns the business model element.
        Specified by:
        getElement in class VElement
        Returns:
        The business model element.
      • getStyle

        public java.lang.String getStyle()
        Returns the style.
        Specified by:
        getStyle in interface com.mxgraph.model.mxICell
        Overrides:
        getStyle in class com.mxgraph.model.mxCell
      • getEdge

        public IEdge getEdge()
        Get the business model edge.
        Returns:
        The edge.
      • setSource

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

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

        public void setValue​(java.lang.Object value)
        Sets the value.
        Specified by:
        setValue in interface com.mxgraph.model.mxICell
        Overrides:
        setValue in class com.mxgraph.model.mxCell
        Parameters:
        value - The value.
      • getValue

        public java.lang.Object getValue()
        Gets the value.
        Specified by:
        getValue in interface com.mxgraph.model.mxICell
        Overrides:
        getValue in class com.mxgraph.model.mxCell
        Returns:
        The value.
      • setSourceValue

        public void setSourceValue​(com.mxgraph.model.mxICell source)
      • setTargetValue

        public void setTargetValue​(com.mxgraph.model.mxICell target)