public class mxGraphMlNode
extends java.lang.Object
Constructor and Description |
---|
mxGraphMlNode(org.w3c.dom.Element nodeElement)
Construct a Node from a xml Node Element.
|
mxGraphMlNode(java.lang.String nodeId,
mxGraphMlData nodeData)
Construct a node with Id and one data element
|
Modifier and Type | Method and Description |
---|---|
org.w3c.dom.Element |
generateElement(org.w3c.dom.Document document)
Generates a Key Element from this class.
|
mxGraphMlData |
getNodeData() |
java.util.HashMap<java.lang.String,mxGraphMlData> |
getNodeDataMap() |
java.util.List<mxGraphMlGraph> |
getNodeGraph() |
java.lang.String |
getNodeId() |
java.util.HashMap<java.lang.String,mxGraphMlPort> |
getNodePort() |
void |
setNodeData(mxGraphMlData nodeData) |
void |
setNodeDataMap(java.util.HashMap<java.lang.String,mxGraphMlData> nodeDataMap) |
void |
setNodeGraph(java.util.List<mxGraphMlGraph> nodeGraph) |
void |
setNodeId(java.lang.String nodeId) |
void |
setNodePort(java.util.HashMap<java.lang.String,mxGraphMlPort> nodePort) |
public mxGraphMlNode(java.lang.String nodeId, mxGraphMlData nodeData)
nodeId
- Node`s IDnodeData
- Gml Data.public mxGraphMlNode(org.w3c.dom.Element nodeElement)
nodeElement
- Xml Node Element.public java.lang.String getNodeId()
public void setNodeId(java.lang.String nodeId)
public java.util.HashMap<java.lang.String,mxGraphMlData> getNodeDataMap()
public void setNodeDataMap(java.util.HashMap<java.lang.String,mxGraphMlData> nodeDataMap)
public java.util.List<mxGraphMlGraph> getNodeGraph()
public void setNodeGraph(java.util.List<mxGraphMlGraph> nodeGraph)
public java.util.HashMap<java.lang.String,mxGraphMlPort> getNodePort()
public void setNodePort(java.util.HashMap<java.lang.String,mxGraphMlPort> nodePort)
public org.w3c.dom.Element generateElement(org.w3c.dom.Document document)
document
- Document where the key Element will be inserted.public mxGraphMlData getNodeData()
public void setNodeData(mxGraphMlData nodeData)
Copyright (c) 2010 Gaudenz Alder, David Benson. All rights reserved.