com.mxgraph.io.gml
public class mxGmlShapeEdge extends Object
Constructor and Description |
---|
mxGmlShapeEdge()
Construct an empty Shape Edge Element.
|
mxGmlShapeEdge(Element shapeEdgeElement)
Constructs a ShapeEdge from a xml shapeEdgeElement.
|
mxGmlShapeEdge(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 mxGmlShapeEdge(String text, String style)
text
- style
- public mxGmlShapeEdge(Element shapeEdgeElement)
shapeEdgeElement
- public mxGmlShapeEdge()
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. All rights reserved.