Package com.mxgraph.io.graphml
Class mxGraphMlShapeEdge
java.lang.Object
com.mxgraph.io.graphml.mxGraphMlShapeEdge
This class represents the properties of a JGraph edge.
-
Constructor Summary
ConstructorsConstructorDescriptionConstruct an empty Shape Edge Element.mxGraphMlShapeEdge(String text, String style) Construct a Shape Edge with text and style.mxGraphMlShapeEdge(Element shapeEdgeElement) Constructs a ShapeEdge from a xml shapeEdgeElement. -
Method Summary
Modifier and TypeMethodDescriptiongenerateElement(Document document) Generates a ShapeEdge Element from this class.getStyle()getText()voidsetEdgeSource(String edgeSource) voidsetEdgeTarget(String edgeTarget) voidvoid
-
Constructor Details
-
mxGraphMlShapeEdge
Construct a Shape Edge with text and style.- Parameters:
text-style-
-
mxGraphMlShapeEdge
Constructs a ShapeEdge from a xml shapeEdgeElement.- Parameters:
shapeEdgeElement-
-
mxGraphMlShapeEdge
public mxGraphMlShapeEdge()Construct an empty Shape Edge Element.
-
-
Method Details
-
generateElement
Generates a ShapeEdge Element from this class.- Parameters:
document- Document where the key Element will be inserted.- Returns:
- Returns the generated Elements.
-
getText
-
setText
-
getStyle
-
setStyle
-
getEdgeSource
-
setEdgeSource
-
getEdgeTarget
-
setEdgeTarget
-