public class ParticipantView
extends org.jgraph.graph.VertexView
| 限定符和类型 | 字段和说明 |
|---|---|
static ParticipantRenderer |
renderer
Renderer for the class.
|
| 构造器和说明 |
|---|
ParticipantView(Object cell,
org.jgraph.JGraph graph,
org.jgraph.graph.CellMapper cm)
Constructs a participant view for the specified model object.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addChildView(org.jgraph.graph.CellView childView)
Adds participants child view to it.
|
Rectangle2D |
getBounds()
Returns the bounding rectangle for this view.
|
org.jgraph.graph.CellViewRenderer |
getRenderer()
Returns a renderer for the class.
|
boolean |
intersects(Graphics g,
Rectangle rect)
Returns true if name portion of ParticipantView intersects the given
rectangle.
|
void |
refreshChildViews()
Clears childView's and then refreshes it.
|
childUpdated, getCachedBounds, getCenterPoint, getHandle, getPerimeterPoint, setCachedBounds, update, updateGroupBoundsgetAllAttributes, getAttributes, getBounds, getCell, getChildViews, getDescendantViews, getEditor, getGraph, getMapper, getModel, getParentView, getRendererComponent, intersects, isLeaf, refresh, removeFromParent, scale, setAttributes, setBounds, translate, updateAllAttributespublic static ParticipantRenderer renderer
public ParticipantView(Object cell, org.jgraph.JGraph graph, org.jgraph.graph.CellMapper cm)
cell - reference to the model objectpublic org.jgraph.graph.CellViewRenderer getRenderer()
getRenderer 在类中 org.jgraph.graph.VertexViewpublic boolean intersects(Graphics g, Rectangle rect)
public void refreshChildViews()
public Rectangle2D getBounds()
getBounds 在接口中 org.jgraph.graph.CellViewgetBounds 在类中 org.jgraph.graph.VertexViewpublic void addChildView(org.jgraph.graph.CellView childView)
Copyright © 2023 onecode. All rights reserved.