Package com.mxgraph.io.graphml
Class mxGraphMlShapeNode
java.lang.Object
com.mxgraph.io.graphml.mxGraphMlShapeNode
-
Constructor Summary
ConstructorsConstructorDescriptionConstruct an empty shape NodemxGraphMlShapeNode
(String dataHeight, String dataWidth, String dataX, String dataY, String dataStyle) Construct a shape Node with the given parametersmxGraphMlShapeNode
(Element shapeNodeElement) Construct a Shape Node from a xml Shape Node Element. -
Method Summary
Modifier and TypeMethodDescriptiongenerateElement
(Document document) Generates a Shape Node Element from this class.getDataX()
getDataY()
void
setDataHeight
(String dataHeight) void
setDataLabel
(String dataLabel) void
setDataStyle
(String dataStyle) void
setDataWidth
(String dataWidth) void
void
-
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 HeightdataWidth
- Node's WidthdataX
- Node's X coordinate.dataY
- Node's Y coordinate.dataStyle
- Node's style.
-
mxGraphMlShapeNode
public mxGraphMlShapeNode()Construct an empty shape Node -
mxGraphMlShapeNode
Construct a Shape Node from a xml Shape Node Element.- Parameters:
shapeNodeElement
- Xml Shape Node Element.
-
-
Method Details
-
generateElement
Generates a Shape Node Element from this class.- Parameters:
document
- Document where the key Element will be inserted.- Returns:
- Returns the generated Elements.
-
getDataHeight
-
setDataHeight
-
getDataWidth
-
setDataWidth
-
getDataX
-
setDataX
-
getDataY
-
setDataY
-
getDataLabel
-
setDataLabel
-
getDataStyle
-
setDataStyle
-