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