|
mxGraph 2.2.0.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.mxgraph.io.graphml.mxGraphMlData
public class mxGraphMlData
Represents a Data element in the GML Structure.
Constructor Summary | |
---|---|
mxGraphMlData()
Construct an empty data. |
|
mxGraphMlData(Element dataElement)
Construct a data from one xml data element. |
|
mxGraphMlData(String dataId,
String dataKey,
String dataValue,
mxGraphMlShapeEdge dataShapeEdge,
mxGraphMlShapeNode dataShapeNode)
Construct a data with the params values. |
Method Summary | |
---|---|
Element |
generateEdgeElement(Document document)
Generates an Edge Data Element from this class. |
Element |
generateNodeElement(Document document)
Generates an Node Data Element from this class. |
String |
getDataId()
|
String |
getDataKey()
|
mxGraphMlShapeEdge |
getDataShapeEdge()
|
mxGraphMlShapeNode |
getDataShapeNode()
|
String |
getDataValue()
|
void |
setDataId(String dataId)
|
void |
setDataKey(String dataKey)
|
void |
setDataShapeEdge(mxGraphMlShapeEdge dataShapeEdge)
|
void |
setDataShapeNode(mxGraphMlShapeNode dataShapeNode)
|
void |
setDataValue(String dataValue)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public mxGraphMlData(String dataId, String dataKey, String dataValue, mxGraphMlShapeEdge dataShapeEdge, mxGraphMlShapeNode dataShapeNode)
dataId
- Data's IDdataKey
- Reference to a Key Element IDdataValue
- Value of the data ElementdataShapeEdge
- JGraph specific edge properties.dataShapeNode
- JGraph specific node properties.public mxGraphMlData(Element dataElement)
dataElement
- Xml Data Element.public mxGraphMlData()
Method Detail |
---|
public String getDataId()
public void setDataId(String dataId)
public String getDataKey()
public void setDataKey(String dataKey)
public String getDataValue()
public void setDataValue(String dataValue)
public mxGraphMlShapeNode getDataShapeNode()
public void setDataShapeNode(mxGraphMlShapeNode dataShapeNode)
public mxGraphMlShapeEdge getDataShapeEdge()
public void setDataShapeEdge(mxGraphMlShapeEdge dataShapeEdge)
public Element generateNodeElement(Document document)
document
- Document where the key Element will be inserted.
public Element generateEdgeElement(Document document)
document
- Document where the key Element will be inserted.
|
mxGraph 2.2.0.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |