com.mxgraph.io.gml
public class mxGmlNode extends Object
Constructor and Description |
---|
mxGmlNode(Element nodeElement)
Construct a Node from a xml Node Element.
|
mxGmlNode(String nodeId,
mxGmlData 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.
|
mxGmlData |
getNodeData() |
HashMap<String,mxGmlData> |
getNodeDataMap() |
List<mxGmlGraph> |
getNodeGraph() |
String |
getNodeId() |
HashMap<String,mxGmlPort> |
getNodePort() |
void |
setNodeData(mxGmlData nodeData) |
void |
setNodeDataMap(HashMap<String,mxGmlData> nodeDataMap) |
void |
setNodeGraph(List<mxGmlGraph> nodeGraph) |
void |
setNodeId(String nodeId) |
void |
setNodePort(HashMap<String,mxGmlPort> nodePort) |
public mxGmlNode(String nodeId, mxGmlData nodeData)
nodeId
- Node`s IDnodeData
- Gml Data.public mxGmlNode(Element nodeElement)
nodeElement
- Xml Node Element.public String getNodeId()
public void setNodeId(String nodeId)
public List<mxGmlGraph> getNodeGraph()
public void setNodeGraph(List<mxGmlGraph> nodeGraph)
public Element generateElement(Document document)
document
- Document where the key Element will be inserted.public mxGmlData getNodeData()
public void setNodeData(mxGmlData nodeData)
Copyright (c) 2010 Gaudenz Alder. All rights reserved.