|
mxGraph 2.5.0.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.mxgraph.io.graphml.mxGraphMlEdge
public class mxGraphMlEdge
Represents a Data element in the GML Structure.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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.Method Detail |
---|
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()
|
mxGraph 2.5.0.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |