Inheritance diagram for org.jgraph.graph.CellView:
Public Member Functions | |
Object | getCell () |
void | refresh (GraphModel model, CellMapper mapper, boolean createDependentViews) |
void | update () |
void | childUpdated () |
CellView | getParentView () |
CellView[] | getChildViews () |
void | removeFromParent () |
boolean | isLeaf () |
Rectangle2D | getBounds () |
boolean | intersects (JGraph g, Rectangle2D rect) |
Point2D | getPerimeterPoint (EdgeView edge, Point2D source, Point2D p) |
Map | changeAttributes (Map map) |
AttributeMap | getAttributes () |
AttributeMap | getAllAttributes () |
Component | getRendererComponent (JGraph graph, boolean selected, boolean focus, boolean preview) |
CellHandle | getHandle (GraphContext context) |
GraphCellEditor | getEditor () |
|
Apply the specified map of attributes on the view. Implemented in org.jgraph.graph.AbstractCellView. |
|
Implemented in org.jgraph.graph.AbstractCellView. |
|
Implemented in org.jgraph.graph.AbstractCellView. |
|
Returns all attributes of the view as a map. Implemented in org.jgraph.graph.AbstractCellView. |
|
Returns the bounds for the view. Implemented in org.jgraph.graph.AbstractCellView, org.jgraph.graph.EdgeView, org.jgraph.graph.PortView, and org.jgraph.graph.VertexView. |
|
Returns the model object that this view represents. Implemented in org.jgraph.graph.AbstractCellView. |
|
Returns the child views of this view. Implemented in org.jgraph.graph.AbstractCellView. |
|
Returns a cell editor for the view. Implemented in org.jgraph.graph.AbstractCellView. |
|
Returns a cell handle for the view. Implemented in manas.GGates.MyView, org.jgraph.graph.AbstractCellView, org.jgraph.graph.EdgeView, org.jgraph.graph.PortView, and org.jgraph.graph.VertexView. |
|
Returns the parent of view of this view. Implemented in org.jgraph.graph.AbstractCellView, and org.jgraph.graph.PortView. |
|
Returns the intersection of the bounding rectangle and the straight line between the source and the specified point p. The specified point is expected not to intersect the bounds. Note: You must override this method if you use a different renderer. This is because this method relies on the VertexRenderer interface, which can not be safely assumed for subclassers. Implemented in manas.GGates.MyView, org.jgraph.graph.AbstractCellView, org.jgraph.graph.EdgeView, and org.jgraph.graph.VertexView. |
|
Returns a renderer component, configured for the view. Implemented in org.jgraph.graph.AbstractCellView. |
|
Returns true if the view intersects the given rectangle. Implemented in org.jgraph.graph.AbstractCellView, and org.jgraph.graph.EdgeView. |
|
Returns true if the view is a leaf. Implemented in org.jgraph.graph.AbstractCellView. |
|
Refresh this view based on the model cell. This is messaged when the model cell has changed. Implemented in org.jgraph.graph.AbstractCellView, and org.jgraph.graph.EdgeView. |
|
Removes this view from the list of childs of the parent. Implemented in org.jgraph.graph.AbstractCellView. |
|
Update this view's attributes. This is messaged whenever refresh is messaged, and additionally when the context of the cell has changed, and during live-preview changes to the view. Implemented in org.jgraph.graph.AbstractCellView, org.jgraph.graph.EdgeView, and org.jgraph.graph.VertexView. |