Class JGraphPortView
- java.lang.Object
-
- org.jgraph.graph.AbstractCellView
-
- org.jgraph.graph.PortView
-
- org.processmining.models.jgraph.views.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
-
-
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 voidcleanUp()java.awt.geom.Point2DgetLocation(org.jgraph.graph.EdgeView edge, java.awt.geom.Point2D nearest)Returns the point that the port represents with respect toedgeandpoint, which is the nearest point to this port view on the edge.ProMPortRenderergetRenderer()Returns a renderer for the class.org.processmining.models.graphbased.ViewSpecificAttributeMapgetViewSpecificAttributeMap()booleanisPIP()-
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
-
-
-
-
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.PortViewReturns a renderer for the class.- Overrides:
getRendererin classorg.jgraph.graph.PortView- Returns:
- the renderer instance for this view
-
getViewSpecificAttributeMap
public org.processmining.models.graphbased.ViewSpecificAttributeMap getViewSpecificAttributeMap()
-
cleanUp
public void cleanUp()
- Specified by:
cleanUpin interfaceorg.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.PortViewReturns the point that the port represents with respect toedgeandpoint, which is the nearest point to this port view on the edge.edgeandpointmay benull.- Overrides:
getLocationin classorg.jgraph.graph.PortView
-
-