public class JGraphPortView
extends org.jgraph.graph.PortView
implements org.processmining.framework.util.Cleanable
Constructor and Description |
---|
JGraphPortView(ProMGraphPort cell,
boolean isPIP,
org.processmining.models.graphbased.ViewSpecificAttributeMap viewSpecificAttributes) |
Modifier and Type | Method and 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() |
getBounds, getHandle, getLocation, getLocation, getParentView, getPortSize, setPortSize, shouldInvokePortMagic
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
public JGraphPortView(ProMGraphPort cell, boolean isPIP, org.processmining.models.graphbased.ViewSpecificAttributeMap viewSpecificAttributes)
public ProMPortRenderer getRenderer()
org.jgraph.graph.PortView
getRenderer
in class org.jgraph.graph.PortView
public org.processmining.models.graphbased.ViewSpecificAttributeMap getViewSpecificAttributeMap()
public void cleanUp()
cleanUp
in interface org.processmining.framework.util.Cleanable
public boolean isPIP()
public java.awt.geom.Point2D getLocation(org.jgraph.graph.EdgeView edge, java.awt.geom.Point2D nearest)
org.jgraph.graph.PortView
edge
and point
, which is the nearest point
to this port view on the edge. edge
and point
may be null
.getLocation
in class org.jgraph.graph.PortView