Class mxGraphMlShapeEdge


  • public class mxGraphMlShapeEdge
    extends java.lang.Object
    This class represents the properties of a JGraph edge.
    • Constructor Summary

      Constructors 
      Constructor Description
      mxGraphMlShapeEdge()
      Construct an empty Shape Edge Element.
      mxGraphMlShapeEdge​(java.lang.String text, java.lang.String style)
      Construct a Shape Edge with text and style.
      mxGraphMlShapeEdge​(org.w3c.dom.Element shapeEdgeElement)
      Constructs a ShapeEdge from a xml shapeEdgeElement.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.w3c.dom.Element generateElement​(org.w3c.dom.Document document)
      Generates a ShapeEdge Element from this class.
      java.lang.String getEdgeSource()  
      java.lang.String getEdgeTarget()  
      java.lang.String getStyle()  
      java.lang.String getText()  
      void setEdgeSource​(java.lang.String edgeSource)  
      void setEdgeTarget​(java.lang.String edgeTarget)  
      void setStyle​(java.lang.String style)  
      void setText​(java.lang.String text)  
      • Methods inherited from class java.lang.Object

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

      • mxGraphMlShapeEdge

        public mxGraphMlShapeEdge​(java.lang.String text,
                                  java.lang.String style)
        Construct a Shape Edge with text and style.
        Parameters:
        text -
        style -
      • mxGraphMlShapeEdge

        public mxGraphMlShapeEdge​(org.w3c.dom.Element shapeEdgeElement)
        Constructs a ShapeEdge from a xml shapeEdgeElement.
        Parameters:
        shapeEdgeElement -
      • mxGraphMlShapeEdge

        public mxGraphMlShapeEdge()
        Construct an empty Shape Edge Element.
    • Method Detail

      • generateElement

        public org.w3c.dom.Element generateElement​(org.w3c.dom.Document document)
        Generates a ShapeEdge Element from this class.
        Parameters:
        document - Document where the key Element will be inserted.
        Returns:
        Returns the generated Elements.
      • getText

        public java.lang.String getText()
      • setText

        public void setText​(java.lang.String text)
      • getStyle

        public java.lang.String getStyle()
      • setStyle

        public void setStyle​(java.lang.String style)
      • getEdgeSource

        public java.lang.String getEdgeSource()
      • setEdgeSource

        public void setEdgeSource​(java.lang.String edgeSource)
      • getEdgeTarget

        public java.lang.String getEdgeTarget()
      • setEdgeTarget

        public void setEdgeTarget​(java.lang.String edgeTarget)