public class mxGraphMlShapeEdge extends Object
Constructor and Description |
---|
mxGraphMlShapeEdge()
Construct an empty Shape Edge Element.
|
mxGraphMlShapeEdge(Element shapeEdgeElement)
Constructs a ShapeEdge from a xml shapeEdgeElement.
|
mxGraphMlShapeEdge(String text,
String style)
Construct a Shape Edge with text and style.
|
Modifier and Type | Method and Description |
---|---|
Element |
generateElement(Document document)
Generates a ShapeEdge Element from this class.
|
String |
getEdgeSource() |
String |
getEdgeTarget() |
String |
getStyle() |
String |
getText() |
void |
setEdgeSource(String edgeSource) |
void |
setEdgeTarget(String edgeTarget) |
void |
setStyle(String style) |
void |
setText(String text) |
public mxGraphMlShapeEdge(String text, String style)
text
- style
- public mxGraphMlShapeEdge(Element shapeEdgeElement)
shapeEdgeElement
- public mxGraphMlShapeEdge()
public Element generateElement(Document document)
document
- Document where the key Element will be inserted.public String getText()
public void setText(String text)
public String getStyle()
public void setStyle(String style)
public String getEdgeSource()
public void setEdgeSource(String edgeSource)
public String getEdgeTarget()
public void setEdgeTarget(String edgeTarget)
Copyright (c) 2010 Gaudenz Alder, David Benson. All rights reserved.