public class mxGraphMlNode extends Object
Constructor and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
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) |
public mxGraphMlNode(String nodeId, mxGraphMlData nodeData)
nodeId
- Node`s IDnodeData
- Gml Data.public mxGraphMlNode(Element nodeElement)
nodeElement
- Xml Node Element.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)
Copyright (c) 2010 Gaudenz Alder, David Benson. All rights reserved.