|
TWE 2.3-2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jgraph.graph.AbstractCellView
org.jgraph.graph.VertexView
org.enhydra.jawe.components.graph.DefaultGraphParticipantView
Represents a view for a model's Participant object.
Nested Class Summary |
Nested classes inherited from class org.jgraph.graph.VertexView |
org.jgraph.graph.VertexView.SizeHandle |
Field Summary | |
protected static java.util.Map |
renderers
|
Fields inherited from class org.jgraph.graph.VertexView |
bounds, defaultBounds, defaultCursors, renderer, xCursors, yCursors |
Fields inherited from class org.jgraph.graph.AbstractCellView |
allAttributes, attributes, cell, cellEditor, childViews, groupBounds, parent |
Constructor Summary | |
DefaultGraphParticipantView(java.lang.Object cell)
Constructs a participant view for the specified model object. |
Method Summary | |
void |
addChildView(org.jgraph.graph.CellView childView)
Adds participants child view to it. |
protected GraphParticipantRendererInterface |
createRenderer(org.enhydra.shark.xpdl.elements.Participant par)
|
java.awt.geom.Rectangle2D |
getBounds()
Returns the bounding rectangle for this view. |
org.jgraph.graph.CellViewRenderer |
getRenderer()
Returns a renderer for the class. |
boolean |
intersects(org.jgraph.JGraph graph,
java.awt.geom.Rectangle2D rect)
Returns true if name portion of ParticipantView intersects the given rectangle. |
void |
refreshChildViews(org.jgraph.graph.GraphModel model,
org.jgraph.graph.CellMapper mapper)
Clears childView's and then refreshes it. |
Methods inherited from class org.jgraph.graph.VertexView |
getCachedBounds, getCenterPoint, getHandle, getPerimeterPoint, getPerimeterPoint, setCachedBounds, update |
Methods inherited from class org.jgraph.graph.AbstractCellView |
changeAttributes, childUpdated, createAttributeMap, getAllAttributes, getAttributes, getBounds, getCell, getCellAttributes, getCenterPoint, getChildViews, getDescendantViews, getEditor, getParentView, getRendererComponent, includeInGroupBounds, isLeaf, mergeAttributes, refresh, removeFromParent, scale, setAttributes, setBounds, setCell, translate, updateGroupBounds |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jgraph.graph.CellView |
changeAttributes, childUpdated, getAllAttributes, getAttributes, getCell, getChildViews, getEditor, getHandle, getParentView, getPerimeterPoint, getRendererComponent, isLeaf, refresh, removeFromParent, update |
Field Detail |
protected static java.util.Map renderers
Constructor Detail |
public DefaultGraphParticipantView(java.lang.Object cell)
cell
- reference to the model objectMethod Detail |
public org.jgraph.graph.CellViewRenderer getRenderer()
public boolean intersects(org.jgraph.JGraph graph, java.awt.geom.Rectangle2D rect)
intersects
in interface org.jgraph.graph.CellView
public void refreshChildViews(org.jgraph.graph.GraphModel model, org.jgraph.graph.CellMapper mapper)
refreshChildViews
in interface GraphParticipantViewInterface
public java.awt.geom.Rectangle2D getBounds()
getBounds
in interface org.jgraph.graph.CellView
public void addChildView(org.jgraph.graph.CellView childView)
protected GraphParticipantRendererInterface createRenderer(org.enhydra.shark.xpdl.elements.Participant par)
|
TWE 2.3-2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |