public class mxGraphMlEdge
extends java.lang.Object
Constructor and Description |
---|
mxGraphMlEdge(org.w3c.dom.Element edgeElement)
Construct an edge from a xml edge element.
|
mxGraphMlEdge(java.lang.String edgeSource,
java.lang.String edgeTarget,
java.lang.String edgeSourcePort,
java.lang.String edgeTargetPort)
Construct an edge with source and target.
|
Modifier and Type | Method and Description |
---|---|
org.w3c.dom.Element |
generateElement(org.w3c.dom.Document document)
Generates a Edge Element from this class.
|
mxGraphMlData |
getEdgeData() |
java.util.HashMap<java.lang.String,mxGraphMlData> |
getEdgeDataMap() |
java.lang.String |
getEdgeDirected() |
java.lang.String |
getEdgeId() |
java.lang.String |
getEdgeSource() |
java.lang.String |
getEdgeSourcePort() |
java.lang.String |
getEdgeStyle()
Returns if the edge has end arrow.
|
java.lang.String |
getEdgeTarget() |
java.lang.String |
getEdgeTargetPort() |
void |
setEdgeData(mxGraphMlData egdeData) |
void |
setEdgeDataMap(java.util.HashMap<java.lang.String,mxGraphMlData> nodeEdgeMap) |
void |
setEdgeDirected(java.lang.String edgeDirected) |
void |
setEdgeId(java.lang.String edgeId) |
void |
setEdgeSource(java.lang.String edgeSource) |
void |
setEdgeSourcePort(java.lang.String edgeSourcePort) |
void |
setEdgeTarget(java.lang.String edgeTarget) |
void |
setEdgeTargetPort(java.lang.String edgeTargetPort) |
public mxGraphMlEdge(java.lang.String edgeSource, java.lang.String edgeTarget, java.lang.String edgeSourcePort, java.lang.String edgeTargetPort)
edgeSource
- Source Node's ID.edgeTarget
- Target Node's ID.public mxGraphMlEdge(org.w3c.dom.Element edgeElement)
edgeElement
- Xml edge element.public java.lang.String getEdgeDirected()
public void setEdgeDirected(java.lang.String edgeDirected)
public java.lang.String getEdgeId()
public void setEdgeId(java.lang.String edgeId)
public java.lang.String getEdgeSource()
public void setEdgeSource(java.lang.String edgeSource)
public java.lang.String getEdgeSourcePort()
public void setEdgeSourcePort(java.lang.String edgeSourcePort)
public java.lang.String getEdgeTarget()
public void setEdgeTarget(java.lang.String edgeTarget)
public java.lang.String getEdgeTargetPort()
public void setEdgeTargetPort(java.lang.String edgeTargetPort)
public java.util.HashMap<java.lang.String,mxGraphMlData> getEdgeDataMap()
public void setEdgeDataMap(java.util.HashMap<java.lang.String,mxGraphMlData> nodeEdgeMap)
public mxGraphMlData getEdgeData()
public void setEdgeData(mxGraphMlData egdeData)
public org.w3c.dom.Element generateElement(org.w3c.dom.Document document)
document
- Document where the key Element will be inserted.public java.lang.String getEdgeStyle()
Copyright (c) 2010 Gaudenz Alder, David Benson. All rights reserved.