public class JGraphShapeView
extends org.jgraph.graph.VertexView
implements org.processmining.framework.util.Cleanable
| Modifier and Type | Field and Description |
|---|---|
static org.processmining.models.shapes.Shape |
RECTANGLE |
| Constructor and Description |
|---|
JGraphShapeView(ProMGraphCell cell,
boolean isPIP,
org.processmining.models.graphbased.ViewSpecificAttributeMap viewSpecificAttributes) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanUp() |
java.awt.geom.Rectangle2D |
getBounds()
Returns the cached bounds for the vertex.
|
org.processmining.models.graphbased.directed.DirectedGraphNode |
getNode() |
java.awt.geom.Point2D |
getPerimeterPoint(org.jgraph.graph.EdgeView edge,
java.awt.geom.Point2D source,
java.awt.geom.Point2D p)
Returns the intersection of the bounding rectangle and the straight line
between the source and the specified point p.
|
ProMShapeRenderer |
getRenderer()
Returns a renderer for the class.
|
org.processmining.models.graphbased.ViewSpecificAttributeMap |
getViewSpecificAttributeMap() |
boolean |
isPIP() |
void |
setBounds(java.awt.geom.Rectangle2D bounds)
Sets the bounds of this
view. |
getCachedBounds, getCenterPoint, getHandle, getPerimeterPoint, setCachedBounds, updatechangeAttributes, childUpdated, createAttributeMap, getAllAttributes, getAttributes, getBounds, getCell, getCellAttributes, getCenterPoint, getChildViews, getDescendantViews, getEditor, getParentView, getRendererComponent, includeInGroupBounds, intersects, isLeaf, mergeAttributes, refresh, removeFromParent, scale, setAttributes, setCell, translate, updateGroupBoundspublic JGraphShapeView(ProMGraphCell cell, boolean isPIP, org.processmining.models.graphbased.ViewSpecificAttributeMap viewSpecificAttributes)
public ProMShapeRenderer getRenderer()
org.jgraph.graph.VertexViewgetRenderer in class org.jgraph.graph.VertexViewpublic java.awt.geom.Point2D getPerimeterPoint(org.jgraph.graph.EdgeView edge,
java.awt.geom.Point2D source,
java.awt.geom.Point2D p)
org.jgraph.graph.VertexViewgetPerimeterPoint in interface org.jgraph.graph.CellViewgetPerimeterPoint in class org.jgraph.graph.VertexViewpublic org.processmining.models.graphbased.directed.DirectedGraphNode getNode()
public org.processmining.models.graphbased.ViewSpecificAttributeMap getViewSpecificAttributeMap()
public void cleanUp()
cleanUp in interface org.processmining.framework.util.Cleanablepublic boolean isPIP()
public java.awt.geom.Rectangle2D getBounds()
org.jgraph.graph.VertexViewgetBounds in interface org.jgraph.graph.CellViewgetBounds in class org.jgraph.graph.VertexViewpublic void setBounds(java.awt.geom.Rectangle2D bounds)
view. Calls translateView and
scaleView.setBounds in class org.jgraph.graph.AbstractCellViewbounds - the new bounds for this cell view