|
mxGraph 2.5.0.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.mxgraph.io.graphml.mxGraphMlNode
public class mxGraphMlNode
Represents a Data element in the GML Structure.
Constructor Summary | |
---|---|
mxGraphMlNode(Element nodeElement)
Construct a Node from a xml Node Element. |
|
mxGraphMlNode(String nodeId,
mxGraphMlData nodeData)
Construct a node with Id and one data element |
Method Summary | |
---|---|
Element |
generateElement(Document document)
Generates a Key Element from this class. |
mxGraphMlData |
getNodeData()
|
HashMap<String,mxGraphMlData> |
getNodeDataMap()
|
List<mxGraphMlGraph> |
getNodeGraph()
|
String |
getNodeId()
|
HashMap<String,mxGraphMlPort> |
getNodePort()
|
void |
setNodeData(mxGraphMlData nodeData)
|
void |
setNodeDataMap(HashMap<String,mxGraphMlData> nodeDataMap)
|
void |
setNodeGraph(List<mxGraphMlGraph> nodeGraph)
|
void |
setNodeId(String nodeId)
|
void |
setNodePort(HashMap<String,mxGraphMlPort> nodePort)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public mxGraphMlNode(String nodeId, mxGraphMlData nodeData)
nodeId
- Node`s IDnodeData
- Gml Data.public mxGraphMlNode(Element nodeElement)
nodeElement
- Xml Node Element.Method Detail |
---|
public String getNodeId()
public void setNodeId(String nodeId)
public HashMap<String,mxGraphMlData> getNodeDataMap()
public void setNodeDataMap(HashMap<String,mxGraphMlData> nodeDataMap)
public List<mxGraphMlGraph> getNodeGraph()
public void setNodeGraph(List<mxGraphMlGraph> nodeGraph)
public HashMap<String,mxGraphMlPort> getNodePort()
public void setNodePort(HashMap<String,mxGraphMlPort> nodePort)
public Element generateElement(Document document)
document
- Document where the key Element will be inserted.
public mxGraphMlData getNodeData()
public void setNodeData(mxGraphMlData nodeData)
|
mxGraph 2.5.0.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |