Class mxGraphMlShapeNode

java.lang.Object
com.mxgraph.io.graphml.mxGraphMlShapeNode

public class mxGraphMlShapeNode extends Object
  • Constructor Details

    • mxGraphMlShapeNode

      public mxGraphMlShapeNode(String dataHeight, String dataWidth, String dataX, String dataY, String dataStyle)
      Construct a shape Node with the given parameters
      Parameters:
      dataHeight - Node's Height
      dataWidth - Node's Width
      dataX - Node's X coordinate.
      dataY - Node's Y coordinate.
      dataStyle - Node's style.
    • mxGraphMlShapeNode

      public mxGraphMlShapeNode()
      Construct an empty shape Node
    • mxGraphMlShapeNode

      public mxGraphMlShapeNode(Element shapeNodeElement)
      Construct a Shape Node from a xml Shape Node Element.
      Parameters:
      shapeNodeElement - Xml Shape Node Element.
  • Method Details

    • generateElement

      public Element generateElement(Document document)
      Generates a Shape Node Element from this class.
      Parameters:
      document - Document where the key Element will be inserted.
      Returns:
      Returns the generated Elements.
    • getDataHeight

      public String getDataHeight()
    • setDataHeight

      public void setDataHeight(String dataHeight)
    • getDataWidth

      public String getDataWidth()
    • setDataWidth

      public void setDataWidth(String dataWidth)
    • getDataX

      public String getDataX()
    • setDataX

      public void setDataX(String dataX)
    • getDataY

      public String getDataY()
    • setDataY

      public void setDataY(String dataY)
    • getDataLabel

      public String getDataLabel()
    • setDataLabel

      public void setDataLabel(String dataLabel)
    • getDataStyle

      public String getDataStyle()
    • setDataStyle

      public void setDataStyle(String dataStyle)