JGraph X 1.4.1.0


com.mxgraph.io.gml
Class mxGmlPort

java.lang.Object
  extended by com.mxgraph.io.gml.mxGmlPort

public class mxGmlPort
extends Object

Represents a Port element in the GML Structure.


Constructor Summary
mxGmlPort(Element portElement)
          Construct a Port from a xml port Element.
mxGmlPort(String name)
          Construct a Port with name.
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

mxGmlPort

public mxGmlPort(String name)
Construct a Port with name.

Parameters:
name - Port Name

mxGmlPort

public mxGmlPort(Element portElement)
Construct a Port from a xml port Element.

Parameters:
portElement - Xml port Element.
Method Detail

getName

public String getName()

setName

public void setName(String name)

getPortDataMap

public HashMap<String,mxGmlData> getPortDataMap()

setPortDataMap

public void setPortDataMap(HashMap<String,mxGmlData> nodeDataMap)

generateElement

public Element generateElement(Document document)
Generates a Key Element from this class.

Parameters:
document - Document where the key Element will be inserted.
Returns:
Returns the generated Elements.

JGraph X 1.4.1.0


Copyright (c) 2010 Gaudenz Alder. All rights reserved.