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, setAttributes
add, 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, setUserObject
finalize, getClass, notify, notifyAll, wait, wait, wait
getAttributes
public 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 ProMGraphElement
public java.util.List<java.awt.geom.Point2D> getInternalPoints()
public java.lang.String toString()
toString
in class javax.swing.tree.DefaultMutableTreeNode
public org.processmining.models.graphbased.directed.DirectedGraphEdge<?,?> getEdge()
public java.lang.String getUserObject()
getUserObject
in class javax.swing.tree.DefaultMutableTreeNode
public ProMGraphPort getSource()
org.jgraph.graph.DefaultEdge
getSource
in interface org.jgraph.graph.Edge
getSource
in class org.jgraph.graph.DefaultEdge
public ProMGraphPort getTarget()
org.jgraph.graph.DefaultEdge
getTarget
in interface org.jgraph.graph.Edge
getTarget
in class org.jgraph.graph.DefaultEdge
public void setView(JGraphEdgeView view)
public JGraphEdgeView getView()
getView
in interface ProMGraphElement
public void cleanUp()
cleanUp
in interface org.processmining.framework.util.Cleanable
public java.lang.String getLabel()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public ProMGraphModel getModel()
getModel
in interface ModelOwner