public class mxGraphMlPort
extends java.lang.Object
Constructor and Description |
---|
mxGraphMlPort(org.w3c.dom.Element portElement)
Construct a Port from a xml port Element.
|
mxGraphMlPort(java.lang.String name)
Construct a Port with name.
|
Modifier and Type | Method and Description |
---|---|
org.w3c.dom.Element |
generateElement(org.w3c.dom.Document document)
Generates a Key Element from this class.
|
java.lang.String |
getName() |
java.util.HashMap<java.lang.String,mxGraphMlData> |
getPortDataMap() |
void |
setName(java.lang.String name) |
void |
setPortDataMap(java.util.HashMap<java.lang.String,mxGraphMlData> nodeDataMap) |
public mxGraphMlPort(java.lang.String name)
name
- Port Namepublic mxGraphMlPort(org.w3c.dom.Element portElement)
portElement
- Xml port Element.public java.lang.String getName()
public void setName(java.lang.String name)
public java.util.HashMap<java.lang.String,mxGraphMlData> getPortDataMap()
public void setPortDataMap(java.util.HashMap<java.lang.String,mxGraphMlData> nodeDataMap)
public org.w3c.dom.Element generateElement(org.w3c.dom.Document document)
document
- Document where the key Element will be inserted.Copyright (c) 2010 Gaudenz Alder, David Benson. All rights reserved.