com.mxgraph.io.gml
public class mxGmlPort extends Object
Constructor and Description |
---|
mxGmlPort(Element portElement)
Construct a Port from a xml port Element.
|
mxGmlPort(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,mxGmlData> |
getPortDataMap() |
void |
setName(String name) |
void |
setPortDataMap(HashMap<String,mxGmlData> nodeDataMap) |
public mxGmlPort(String name)
name
- Port Namepublic mxGmlPort(Element portElement)
portElement
- Xml port Element.Copyright (c) 2010 Gaudenz Alder. All rights reserved.