Class JGraphPortView

  • All Implemented Interfaces:
    java.io.Serializable, org.jgraph.graph.CellView, org.processmining.framework.util.Cleanable

    public class JGraphPortView
    extends org.jgraph.graph.PortView
    implements org.processmining.framework.util.Cleanable
    See Also:
    Serialized Form
    • Field Summary

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

        allowPortMagic, lastParent, SIZE
      • Fields inherited from class org.jgraph.graph.AbstractCellView

        allAttributes, attributes, cellEditor, childViews, groupBounds, parent
    • Constructor Summary

      Constructors 
      Constructor Description
      JGraphPortView​(ProMGraphPort cell, boolean isPIP, org.processmining.models.graphbased.ViewSpecificAttributeMap viewSpecificAttributes)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void cleanUp()  
      java.awt.geom.Point2D getLocation​(org.jgraph.graph.EdgeView edge, java.awt.geom.Point2D nearest)
      Returns the point that the port represents with respect to edge and point, which is the nearest point to this port view on the edge.
      ProMPortRenderer getRenderer()
      Returns a renderer for the class.
      org.processmining.models.graphbased.ViewSpecificAttributeMap getViewSpecificAttributeMap()  
      boolean isPIP()  
      • Methods inherited from class org.jgraph.graph.PortView

        getBounds, getHandle, getLocation, getLocation, getParentView, getPortSize, setPortSize, shouldInvokePortMagic
      • Methods inherited from class org.jgraph.graph.AbstractCellView

        changeAttributes, childUpdated, createAttributeMap, getAllAttributes, getAttributes, getBounds, getCell, getCellAttributes, getCenterPoint, getChildViews, getDescendantViews, getEditor, getPerimeterPoint, getRendererComponent, includeInGroupBounds, intersects, isLeaf, mergeAttributes, refresh, removeFromParent, scale, setAttributes, setBounds, setCell, translate, update, updateGroupBounds
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JGraphPortView

        public JGraphPortView​(ProMGraphPort cell,
                              boolean isPIP,
                              org.processmining.models.graphbased.ViewSpecificAttributeMap viewSpecificAttributes)
    • Method Detail

      • getRenderer

        public ProMPortRenderer getRenderer()
        Description copied from class: org.jgraph.graph.PortView
        Returns a renderer for the class.
        Overrides:
        getRenderer in class org.jgraph.graph.PortView
        Returns:
        the renderer instance for this view
      • getViewSpecificAttributeMap

        public org.processmining.models.graphbased.ViewSpecificAttributeMap getViewSpecificAttributeMap()
      • cleanUp

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

        public boolean isPIP()
      • getLocation

        public java.awt.geom.Point2D getLocation​(org.jgraph.graph.EdgeView edge,
                                                 java.awt.geom.Point2D nearest)
        Description copied from class: org.jgraph.graph.PortView
        Returns the point that the port represents with respect to edge and point, which is the nearest point to this port view on the edge. edge and point may be null.
        Overrides:
        getLocation in class org.jgraph.graph.PortView