Class ProMGraphPort

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode, org.jgraph.graph.GraphCell, org.jgraph.graph.Port, org.processmining.framework.util.Cleanable, ProMGraphElement, ModelOwner

    public class ProMGraphPort
    extends org.jgraph.graph.DefaultPort
    implements org.processmining.framework.util.Cleanable, ModelOwner, ProMGraphElement
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class org.jgraph.graph.DefaultPort

        anchor, edges
      • Fields inherited from class org.jgraph.graph.DefaultGraphCell

        attributes
      • Fields inherited from class javax.swing.tree.DefaultMutableTreeNode

        allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
    • Constructor Summary

      Constructors 
      Constructor Description
      ProMGraphPort​(java.lang.Object userObject, ProMGraphModel model, org.processmining.models.connections.GraphLayoutConnection layoutConnection)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void cleanUp()  
      boolean equals​(java.lang.Object o)
      This implementation of equals seems to be required by JGraph.
      org.processmining.models.graphbased.directed.BoundaryDirectedGraphNode getBoundingNode()  
      ProMGraphModel getModel()  
      JGraphPortView getView()  
      boolean isBoundaryNode()  
      void setView​(JGraphPortView view)  
      void updateViewsFromMap()  
      • Methods inherited from class org.jgraph.graph.DefaultPort

        addEdge, clone, edges, getAnchor, getEdges, removeEdge, setAnchor, setEdges
      • Methods inherited from class org.jgraph.graph.DefaultGraphCell

        addPort, addPort, addPort, changeAttributes, getAttributes, getChildren, setAttributes
      • Methods inherited from class javax.swing.tree.DefaultMutableTreeNode

        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, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject, toString
      • Methods inherited from class java.lang.Object

        finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.jgraph.graph.GraphCell

        changeAttributes, getAttributes, setAttributes
    • Constructor Detail

      • ProMGraphPort

        public ProMGraphPort​(java.lang.Object userObject,
                             ProMGraphModel model,
                             org.processmining.models.connections.GraphLayoutConnection layoutConnection)
    • Method Detail

      • cleanUp

        public void cleanUp()
        Specified by:
        cleanUp in interface org.processmining.framework.util.Cleanable
      • equals

        public boolean equals​(java.lang.Object o)
        This implementation of equals seems to be required by JGraph. Changing it to anything more meaningful will introduce very strange results.
        Overrides:
        equals in class java.lang.Object
      • isBoundaryNode

        public boolean isBoundaryNode()
      • getBoundingNode

        public org.processmining.models.graphbased.directed.BoundaryDirectedGraphNode getBoundingNode()