public class mxGraphMlShapeNode extends Object
Constructor and Description |
---|
mxGraphMlShapeNode()
Construct an empty shape Node
|
mxGraphMlShapeNode(Element shapeNodeElement)
Construct a Shape Node from a xml Shape Node Element.
|
mxGraphMlShapeNode(String dataHeight,
String dataWidth,
String dataX,
String dataY,
String dataStyle)
Construct a shape Node with the given parameters
|
Modifier and Type | Method and Description |
---|---|
Element |
generateElement(Document document)
Generates a Shape Node Element from this class.
|
String |
getDataHeight() |
String |
getDataLabel() |
String |
getDataStyle() |
String |
getDataWidth() |
String |
getDataX() |
String |
getDataY() |
void |
setDataHeight(String dataHeight) |
void |
setDataLabel(String dataLabel) |
void |
setDataStyle(String dataStyle) |
void |
setDataWidth(String dataWidth) |
void |
setDataX(String dataX) |
void |
setDataY(String dataY) |
public mxGraphMlShapeNode(String dataHeight, String dataWidth, String dataX, String dataY, String dataStyle)
dataHeight
- Node's HeightdataWidth
- Node's WidthdataX
- Node's X coordinate.dataY
- Node's Y coordinate.dataStyle
- Node's style.public mxGraphMlShapeNode()
public mxGraphMlShapeNode(Element shapeNodeElement)
shapeNodeElement
- Xml Shape Node Element.public Element generateElement(Document document)
document
- Document where the key Element will be inserted.public String getDataHeight()
public void setDataHeight(String dataHeight)
public String getDataWidth()
public void setDataWidth(String dataWidth)
public String getDataX()
public void setDataX(String dataX)
public String getDataY()
public void setDataY(String dataY)
public String getDataLabel()
public void setDataLabel(String dataLabel)
public String getDataStyle()
public void setDataStyle(String dataStyle)
Copyright (c) 2010 Gaudenz Alder, David Benson. All rights reserved.