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, 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, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
getAttributes
public ProMGraphCell(org.processmining.models.graphbased.directed.DirectedGraphNode node, ProMGraphModel model, org.processmining.models.connections.GraphLayoutConnection layoutConnection)
public void updateViewsFromMap()
updateViewsFromMap
in interface ProMGraphElement
public org.processmining.models.graphbased.directed.DirectedGraphNode getNode()
public java.lang.String getUserObject()
getUserObject
in class javax.swing.tree.DefaultMutableTreeNode
public void setView(JGraphShapeView view)
public void cleanUp()
cleanUp
in interface org.processmining.framework.util.Cleanable
public ProMGraphPort addPort(java.awt.geom.Point2D offset, java.lang.Object userObject)
org.jgraph.graph.DefaultGraphCell
addPort
in class org.jgraph.graph.DefaultGraphCell
offset
- 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.Object
public ProMGraphModel getModel()
getModel
in interface ModelOwner
public JGraphShapeView getView()
getView
in interface ProMGraphElement
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object