Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JGraph v5.0
PREV NEXT | FRAMES NO FRAMES

## Uses of Interface
org.jgraph.graph.CellView

Packages that use CellView
org.jgraph | JGraph's topmost package which contains the JGraph class.
org.jgraph.event | Contains event classes and listener interfaces that are used to react to events fired by JGraph.
org.jgraph.graph | Graphs are made up of a number of classes and interfaces defined in their own package - the `jgraph.graph` package.
org.jgraph.plaf | Contains the GraphUI class which extends the Swing ComponentUI class.
org.jgraph.plaf.basic | Contains the BasicGraphUI, which is GraphUI's default implementation.

Uses of CellView in org.jgraph

Methods in org.jgraph that return CellView
`CellView` | `JGraph.getNextViewAt(CellView current, double x, double y)` Returns the next view at the specified location wrt.
`CellView` | `JGraph.getNextViewAt(CellView[] cells, CellView c, double x, double y)` Returns the next view at the specified location wrt.
`CellView` | `JGraph.createView(JGraph graph, CellMapper mapper, Object cell)` Constructs a view for the specified cell and associates it with the specified object using the specified CellMapper.

Methods in org.jgraph with parameters of type CellView
`CellView` | `JGraph.getNextViewAt(CellView current, double x, double y)` Returns the next view at the specified location wrt.
`CellView` | `JGraph.getNextViewAt(CellView[] cells, CellView c, double x, double y)` Returns the next view at the specified location wrt.
`CellView` | `JGraph.getNextViewAt(CellView[] cells, CellView c, double x, double y)` Returns the next view at the specified location wrt.
`void` | `JGraph.updateAutoSize(JGraph graph, CellView view)` Computes and updates the size for `view`.

Uses of CellView in org.jgraph.event

Methods in org.jgraph.event that return CellView
`CellView[]` | `GraphModelEvent.GraphModelChange.getViews(GraphLayoutCache view)` Allows a `GraphLayoutCache` to retrieve an array of `CellViews` that was previously stored with `putViews(GraphLayoutCache, CellView[])`.

Methods in org.jgraph.event with parameters of type CellView
`void` | `GraphModelEvent.GraphModelChange.putViews(GraphLayoutCache view, CellView[] cellViews)` Allows a `GraphLayoutCache` to store cell views for cells that have been removed.

Uses of CellView in org.jgraph.graph

Classes in org.jgraph.graph that implement CellView
`class` | `AbstractCellView` The abstract base class for all cell views.
`class` | `EdgeView` The default implementation of an edge view.
`class` | `PortView` The default implementation of a port view.
`class` | `VertexView` The default implementation of a vertex view.

Fields in org.jgraph.graph declared as CellView
`protected CellView` | `PortView.lastParent` Cache of the last valid parent.
`protected CellView` | `AbstractCellView.parent` Cached parent view
`protected CellView[]` | `GraphLayoutCache.GraphViewEdit.context`
`protected CellView[]` | `GraphLayoutCache.GraphViewEdit.hidden`
`protected CellView` | `EdgeView.source` Cached source and target portview of the edge.
`protected CellView` | `EdgeView.target` Cached source and target portview of the edge.
`protected CellView[]` | `VertexView.SizeHandle.portViews`
`protected CellView[]` | `VertexView.SizeHandle.contextViews`

Methods in org.jgraph.graph that return CellView
`CellView[]` | `DefaultGraphModel.GraphModelLayerEdit.getViews(GraphLayoutCache view)` Returns the views that have not changed explicitly, but implicitly because one of their dependent cells has changed.
`CellView` | `PortView.getParentView()` This method ensures a non-null value.
`CellView` | `AbstractCellView.getParentView()` Returns the parent view for this view.
`CellView[]` | `AbstractCellView.getChildViews()` Returns the child views of this view.
`static CellView[]` | `AbstractCellView.getDescendantViews(CellView[] views)` Returns all views, including descendants that have a parent in `views` without the PortViews.
`CellView[]` | `GraphContext.createTemporaryCellViews()` Returns an new consistent array of views for `cells`.
`CellView[]` | `GraphContext.createTemporaryPortViews()` Returns an new consistent array of views for the ports.
`CellView[]` | `GraphContext.createTemporaryContextViews()` Returns an new consistent array of views for the edges that are connected to and not contained in `cells`.
`CellView[]` | `GraphContext.createTemporaryContextViews(Set cellSet)` Returns an new consistent array of views for the edges that are connected to and not contained in `cellSet`.
`CellView` | `GraphContext.getMapping(Object cell, boolean create)` Returns the `CellView` that is mapped to `cell` in the graph context.
`CellView` | `GraphContext.createMapping(Object cell)`
`CellView[]` | `GraphLayoutCache.getRoots()` Returns the roots of the view.
`CellView[]` | `GraphLayoutCache.getRoots(Rectangle2D clip)` Return all cells that intersect the given rectangle.
`CellView[]` | `GraphLayoutCache.removeRoots(Object[] cells)` Removes the specified model root cells from the view by removing the mapping between the cell and its view and makes the cells invisible.
`CellView` | `GraphLayoutCache.getMapping(Object cell, boolean create)` Returns the view for the specified cell.
`CellView[]` | `GraphLayoutCache.getMapping(Object[] cells)` Returns the views for the specified array of cells without creating these views on the fly.
`CellView[]` | `GraphLayoutCache.getMapping(Object[] cells, boolean create)` Returns the views for the specified array of cells.
`CellView` | `GraphLayoutCache.removeMapping(Object cell)` Removes the associaten for the specified model cell and returns the view that was previously associated with the cell.
`CellView[]` | `GraphLayoutCache.getAllDescendants(CellView[] views)` Returns all views, including descendants that have a parent in `views`, especially the PortViews.
`CellView` | `EdgeView.getSource()` Returns the CellView that represents the source of the edge.
`CellView` | `EdgeView.getTarget()` Returns the CellView that represents the target of the edge.
`CellView[]` | `DefaultGraphModel.GraphModelEdit.getViews(GraphLayoutCache view)`
`CellView` | `CellViewFactory.createView(JGraph graph, CellMapper mapper, Object cell)` Constructs a view for the specified cell and associates it with the specified object using the specified CellMapper.
`CellView` | `CellView.getParentView()` Returns the parent of view of this view.
`CellView[]` | `CellView.getChildViews()` Returns the child views of this view.
`CellView` | `CellMapper.getMapping(Object cell, boolean create)` Returns the view that is associated with `cell`.

Methods in org.jgraph.graph with parameters of type CellView
`void` | `DefaultGraphModel.GraphModelLayerEdit.putViews(GraphLayoutCache view, CellView[] cellViews)` Returns the views that have not changed explicitly, but implicitly because one of their dependent cells has changed.
`static CellView[]` | `AbstractCellView.getDescendantViews(CellView[] views)` Returns all views, including descendants that have a parent in `views` without the PortViews.
`static Rectangle2D` | `AbstractCellView.getBounds(CellView[] views)` Returns the bounding box for the specified views.
`ConnectionSet` | `GraphContext.disconnect(CellView[] cells)` Disconnects the edges in `cells` from the sources and targets that are not in this context and returns a ConnectionSet that defines the disconnection.
`void` | `GraphContext.putMapping(Object cell, CellView view)` Associates `cell` with `view` in the graph context.
`void` | `GraphLayoutCache.refresh(CellView[] views, boolean create)`
`void` | `GraphLayoutCache.refresh(CellView view, boolean create)`
`void` | `GraphLayoutCache.update(CellView[] views)`
`void` | `GraphLayoutCache.update(CellView view)`
`void` | `GraphLayoutCache.insertRoots(CellView[] views)` Adds the specified model root cells to the view.
`Object[]` | `GraphLayoutCache.getCells(CellView[] views)` Takes an array of views and returns the array of the corresponding cells by using `getCell` for each view.
`void` | `GraphLayoutCache.putMapping(Object cell, CellView view)` Associates the specified model cell with the specified view.
`static void` | `GraphLayoutCache.translateViews(CellView[] views, double dx, double dy)` Translates the specified views by the given amount.
`CellView[]` | `GraphLayoutCache.getAllDescendants(CellView[] views)` Returns all views, including descendants that have a parent in `views`, especially the PortViews.
`void` | `EdgeView.setSource(CellView sourceView)` Sets the `sourceView` of the edge.
`void` | `EdgeView.setTarget(CellView targetView)` Sets the `targetView` of the edge.
`static double` | `EdgeView.getLength(CellView view)`
`protected void` | `EdgeView.EdgeHandle.paintPort(Graphics g, CellView p)`
`Component` | `CellViewRenderer.getRendererComponent(JGraph graph, CellView view, boolean sel, boolean focus, boolean preview)` Configure and return the renderer based on the passed in components.
`void` | `DefaultGraphModel.GraphModelEdit.putViews(GraphLayoutCache view, CellView[] views)`
`Component` | `VertexRenderer.getRendererComponent(JGraph graph, CellView view, boolean sel, boolean focus, boolean preview)` Configure and return the renderer based on the passed in components.
`protected void` | `VertexRenderer.installAttributes(CellView view)` Install the attributes of specified cell in this renderer instance.
`void` | `CellViewFactory.updateAutoSize(JGraph graph, CellView view)` Sets the preferred size for `view`.
`Component` | `PortRenderer.getRendererComponent(JGraph graph, CellView view, boolean sel, boolean focus, boolean preview)` Configure and return the renderer based on the passed in components.
`void` | `ConnectionSet.addConnections(CellView[] views)` Adds the connections in `views` to the connection set.
`Component` | `EdgeRenderer.getRendererComponent(JGraph graph, CellView view, boolean sel, boolean focus, boolean preview)` Configure and return the renderer based on the passed in components.
`boolean` | `EdgeRenderer.intersects(Graphics g, CellView value, Rectangle r)` Returns true if the edge shape intersects the given rectangle.
`Rectangle2D` | `EdgeRenderer.getBounds(CellView value)` Returns the bounds of the edge shape.
`protected void` | `EdgeRenderer.installAttributes(CellView view)` Installs the attributes of specified cell in this renderer instance.
`void` | `CellMapper.putMapping(Object cell, CellView view)` Inserts the association between `cell` and `view`.

Uses of CellView in org.jgraph.plaf

Methods in org.jgraph.plaf with parameters of type CellView
`abstract void` | `GraphUI.paintCell(Graphics g, CellView view, Rectangle2D bounds, boolean preview)` Paints the renderer of `view` to `g` at `bounds`.
`abstract void` | `GraphUI.paintPorts(Graphics g, CellView[] portViews)` Paints the renderers of `portViews` to `g`.
`abstract Dimension2D` | `GraphUI.getPreferredSize(JGraph graph, CellView view)` Returns the preferred size for `view`.

Uses of CellView in org.jgraph.plaf.basic

Fields in org.jgraph.plaf.basic declared as CellView
`protected CellView[]` | `BasicGraphUI.RootHandle.views`
`protected CellView[]` | `BasicGraphUI.RootHandle.contextViews`
`protected CellView[]` | `BasicGraphUI.RootHandle.portViews`
`protected CellView` | `BasicGraphUI.focus` The focused cell under the mousepointer.
`protected CellView` | `BasicGraphUI.MouseHandler.cell`

Methods in org.jgraph.plaf.basic that return CellView
`protected CellView` | `BasicGraphUI.RootHandle.findViewForPoint(Point2D pt)` Hook for subclassers to return a different view for a mouse click at `pt`.

Methods in org.jgraph.plaf.basic with parameters of type CellView
`Dimension2D` | `BasicGraphUI.getPreferredSize(JGraph graph, CellView view)` Get the preferred Size for a cell view.
`void` | `BasicGraphUI.paintCell(Graphics g, CellView view, Rectangle2D bounds, boolean preview)` Paints the renderer of `view` to `g` at `bounds`.
`void` | `BasicGraphUI.paintPorts(Graphics g, CellView[] ports)` Paint `ports`.
`protected boolean` | `BasicGraphUI.MouseHandler.isDescendant(CellView parentView, CellView childView)`
`protected boolean` | `BasicGraphUI.MouseHandler.isDescendant(CellView parentView, CellView childView)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JGraph v5.0
PREV NEXT | FRAMES NO FRAMES

Copyright (C) 2003-2004 Gaudenz Alder. All rights reserved.