public class ProMGraphCell extends org.jgraph.graph.DefaultGraphCell implements org.processmining.framework.util.Cleanable, ModelOwner, ProMGraphElement
| Constructor and Description |
|---|
ProMGraphCell(org.processmining.models.graphbased.directed.DirectedGraphNode node,
ProMGraphModel model,
org.processmining.models.connections.GraphLayoutConnection layoutConnection) |
| Modifier and Type | Method and Description |
|---|---|
ProMGraphPort |
addPort(java.awt.geom.Point2D offset,
java.lang.Object userObject)
Utility method to create a port for this cell.
|
void |
cleanUp() |
boolean |
equals(java.lang.Object o)
This implementation of equals seems to be required by JGraph.
|
java.lang.String |
getLabel() |
ProMGraphModel |
getModel() |
org.processmining.models.graphbased.directed.DirectedGraphNode |
getNode() |
java.lang.String |
getUserObject() |
JGraphShapeView |
getView() |
int |
hashCode() |
void |
setView(JGraphShapeView view) |
void |
updateViewsFromMap() |
addPort, addPort, changeAttributes, clone, 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, setUserObject, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitgetAttributespublic ProMGraphCell(org.processmining.models.graphbased.directed.DirectedGraphNode node,
ProMGraphModel model,
org.processmining.models.connections.GraphLayoutConnection layoutConnection)
public void updateViewsFromMap()
updateViewsFromMap in interface ProMGraphElementpublic org.processmining.models.graphbased.directed.DirectedGraphNode getNode()
public java.lang.String getUserObject()
getUserObject in class javax.swing.tree.DefaultMutableTreeNodepublic void setView(JGraphShapeView view)
public void cleanUp()
cleanUp in interface org.processmining.framework.util.Cleanablepublic ProMGraphPort addPort(java.awt.geom.Point2D offset, java.lang.Object userObject)
org.jgraph.graph.DefaultGraphCelladdPort in class org.jgraph.graph.DefaultGraphCelloffset - the offset of the port within the celluserObject - the user object of the port cellpublic java.lang.String getLabel()
public int hashCode()
hashCode in class java.lang.Objectpublic ProMGraphModel getModel()
getModel in interface ModelOwnerpublic JGraphShapeView getView()
getView in interface ProMGraphElementpublic boolean equals(java.lang.Object o)
equals in class java.lang.Object