public class ProMGraphEdge extends org.jgraph.graph.DefaultEdge implements org.processmining.framework.util.Cleanable, ModelOwner, ProMGraphElement
| Modifier and Type | Field and Description |
|---|---|
static int |
ARROW_CROSS |
static int |
ARROW_TECHNICAL_CIRCLE |
static java.lang.String |
LINEMIDDLE |
static java.lang.String |
LINEWIDTH |
static java.lang.String |
MIDDLEFILL |
static java.lang.String |
NUMBERLINES |
| Constructor and Description |
|---|
ProMGraphEdge(org.processmining.models.graphbased.directed.DirectedGraphEdge<?,?> edge,
ProMGraphModel model,
org.processmining.models.connections.GraphLayoutConnection layoutConnection) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanUp() |
boolean |
equals(java.lang.Object o)
This implementation of equals seems to be required by JGraph.
|
protected int |
extractArrowType(org.processmining.models.graphbased.AttributeMap.ArrowType type) |
org.processmining.models.graphbased.directed.DirectedGraphEdge<?,?> |
getEdge() |
java.util.List<java.awt.geom.Point2D> |
getInternalPoints() |
java.lang.String |
getLabel() |
ProMGraphModel |
getModel() |
ProMGraphPort |
getSource()
Returns the source of the edge.
|
ProMGraphPort |
getTarget()
Returns the target of the edge.
|
java.lang.String |
getUserObject() |
JGraphEdgeView |
getView() |
int |
hashCode() |
void |
setView(JGraphEdgeView view) |
java.lang.String |
toString() |
void |
updateViewsFromMap() |
addPort, addPort, addPort, changeAttributes, getAttributes, getChildren, setAttributesadd, breadthFirstEnumeration, children, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObjectfinalize, getClass, notify, notifyAll, wait, wait, waitgetAttributespublic static final int ARROW_TECHNICAL_CIRCLE
public static final int ARROW_CROSS
public static final java.lang.String LINEMIDDLE
public static final java.lang.String MIDDLEFILL
public static final java.lang.String NUMBERLINES
public static final java.lang.String LINEWIDTH
public ProMGraphEdge(org.processmining.models.graphbased.directed.DirectedGraphEdge<?,?> edge,
ProMGraphModel model,
org.processmining.models.connections.GraphLayoutConnection layoutConnection)
protected int extractArrowType(org.processmining.models.graphbased.AttributeMap.ArrowType type)
public void updateViewsFromMap()
updateViewsFromMap in interface ProMGraphElementpublic java.util.List<java.awt.geom.Point2D> getInternalPoints()
public java.lang.String toString()
toString in class javax.swing.tree.DefaultMutableTreeNodepublic org.processmining.models.graphbased.directed.DirectedGraphEdge<?,?> getEdge()
public java.lang.String getUserObject()
getUserObject in class javax.swing.tree.DefaultMutableTreeNodepublic ProMGraphPort getSource()
org.jgraph.graph.DefaultEdgegetSource in interface org.jgraph.graph.EdgegetSource in class org.jgraph.graph.DefaultEdgepublic ProMGraphPort getTarget()
org.jgraph.graph.DefaultEdgegetTarget in interface org.jgraph.graph.EdgegetTarget in class org.jgraph.graph.DefaultEdgepublic void setView(JGraphEdgeView view)
public JGraphEdgeView getView()
getView in interface ProMGraphElementpublic void cleanUp()
cleanUp in interface org.processmining.framework.util.Cleanablepublic java.lang.String getLabel()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic ProMGraphModel getModel()
getModel in interface ModelOwner