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