Uses of Interface org.jgraph.graph.CellView

Uses in package org.jgraph

Methods with parameter type org.jgraph.graph.CellView

CellView
JGraph.getNextSelectableViewAt(CellView current, double x, double y)
Note: Arguments are not expected to be scaled (they are scaled in here).
CellView
JGraph.getNextViewAt(CellView current, double x, double y)
Returns the next view at the specified location wrt.
CellView
JGraph.getNextViewAt(CellView current, double x, double y, boolean leafsOnly)
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, boolean leafsOnly)
Returns the next view at the specified location wrt.
void
Computes and updates the size for view.

Methods with return type org.jgraph.graph.CellView

CellView
JGraph.getLeafViewAt(double x, double y)
Returns the next view at the specified location wrt.
CellView
JGraph.getNextSelectableViewAt(CellView current, double x, double y)
Note: Arguments are not expected to be scaled (they are scaled in here).
CellView
JGraph.getNextViewAt(CellView current, double x, double y)
Returns the next view at the specified location wrt.
CellView
JGraph.getNextViewAt(CellView current, double x, double y, boolean leafsOnly)
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, boolean leafsOnly)
Returns the next view at the specified location wrt.
CellView
JGraph.getTopmostViewAt(double x, double y, boolean reverse, boolean leafsOnly)
Returns the topmost cell view at the specified location using the view's bounds on non-leafs to check for containment.

Uses in package org.jgraph.event

Methods with parameter type org.jgraph.graph.CellView

void
Allows a GraphLayoutCache to store cell views for cells that have been removed.

Methods with return type org.jgraph.graph.CellView

CellView[]
Allows a GraphLayoutCache to retrieve an array of CellViews that was previously stored with putViews(GraphLayoutCache, CellView[]).

Uses in package org.jgraph.plaf

Methods with parameter type org.jgraph.graph.CellView

Dimension2D
Returns the preferred size for view.
void
GraphUI.paintCell(Graphics g, CellView view, Rectangle2D bounds, boolean preview)
Paints the renderer of view to g at bounds.
void
GraphUI.paintPorts(Graphics g, CellView[] portViews)
Paints the renderers of portViews to g.

Uses in package org.jgraph.plaf.basic

Fields of type org.jgraph.graph.CellView

CellView
CellView[]
CellView
The focused cell under the mousepointer and the last focused cell.
CellView
CellView
The focused cell under the mousepointer and the last focused cell.
CellView[]
CellView
CellView[]

Methods with parameter type org.jgraph.graph.CellView

Dimension2D
Get the preferred Size for a cell view.
boolean
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.

Methods with return type org.jgraph.graph.CellView

CellView
Used for move into group to find the target group.
CellView
Hook for subclassers to return a different view for a mouse click at pt.

Uses in package org.jgraph.util

Methods with parameter type org.jgraph.graph.CellView

Object[]
Getter to obtain the list of parallel edges

Uses in package org.jgraph.graph

Classes implementing org.jgraph.graph.CellView

class
The abstract base class for all cell views.
class
The default implementation of an edge view.
class
The default implementation of a port view.
class
The default implementation of a vertex view.

Constructors with parameter type org.jgraph.graph.CellView

GraphLayoutCache.GraphLayoutCache(GraphModel model, CellViewFactory factory, CellView[] cellViews, CellView[] hiddenCellViews, boolean partial)
Constructs a view for the specified model that uses factory to create its views.

Fields of type org.jgraph.graph.CellView

CellView[]
CellView[]
CellView[]
CellView
Cache of the last valid parent.
CellView
Cached parent view
CellView[]
CellView
Cached source and target portview of the edge.
CellView
CellView
Cached source and target portview of the edge.
CellView

Methods with parameter type org.jgraph.graph.CellView

void
Adds the connections in views to the connection set.
void
Invoke this method after you've changed how the cells are to be represented in the graph.
ConnectionSet
Disconnects the edges in cells from the sources and targets that are not in this context and returns a ConnectionSet that defines the disconnection.
CellView[]
Returns all views, including descendants that have a parent in views, especially the PortViews.
Rectangle2D
Returns the bounds of the edge shape.
Rectangle2D
Returns the bounding box for the specified views.
Rectangle2D
Returns the bounding box for the specified cell views.
Object[]
Takes an array of views and returns the array of the corresponding cells by using getCell for each view.
Point2D
CellView[]
Returns all views, including descendants that have a parent in views without the PortViews.
double
Component
CellViewRenderer.getRendererComponent(JGraph graph, CellView view, boolean sel, boolean focus, boolean preview)
Configure and return the renderer based on the passed in components.
Component
EdgeRenderer.getRendererComponent(JGraph graph, CellView view, boolean sel, boolean focus, boolean preview)
Configure and return the renderer based on the passed in components.
Component
PortRenderer.getRendererComponent(JGraph graph, CellView view, boolean sel, boolean focus, boolean preview)
Configure and return the renderer based on the passed in components.
Component
VertexRenderer.getRendererComponent(JGraph graph, CellView view, boolean sel, boolean focus, boolean preview)
Configure and return the renderer component based on the passed in cell.
boolean
This is used to exclude certain cell views from the group bounds computation.
void
Adds the specified model root cells to the view.
void
Installs the attributes of specified cell in this renderer instance.
void
Install the attributes of specified cell in this renderer instance.
boolean
EdgeRenderer.intersects(JGraph graph, CellView value, Rectangle rect)
Returns true if the edge shape intersects the given rectangle.
void
void
CellMapper.putMapping(Object cell, CellView view)
Inserts the association between cell and view.
void
GraphContext.putMapping(Object cell, CellView view)
Associates cell with view in the graph context.
void
GraphLayoutCache.putMapping(Object cell, CellView view)
Associates the specified model cell with the specified view.
void
void
Returns the views that have not changed explicitly, but implicitly because one of their dependent cells has changed.
void
GraphLayoutCache.refresh(CellView view, boolean create)
void
GraphLayoutCache.refresh(CellView[] views, boolean create)
void
Sets the sourceView of the edge.
void
Sets the targetView of the edge.
void
GraphLayoutCache.translateViews(CellView[] views, double dx, double dy)
Translates the specified views by the given amount.
void
void

Methods with return type org.jgraph.graph.CellView

CellView
CellView[]
Returns an new consistent array of views for cells.
CellView[]
Returns an new consistent array of views for the edges that are connected to and not contained in cells.
CellView[]
Returns an new consistent array of views for the edges that are connected to and not contained in cellSet.
CellView[]
Returns an new consistent array of views for the ports.
CellView
CellViewFactory.createView(GraphModel model, Object cell)
Constructs a view for the specified cell and associates it with the specified object using the specified CellMapper.
CellView
Constructs a view for the specified cell and associates it with the specified object using the specified CellMapper.
CellView[]
Returns all views, including descendants that have a parent in views, especially the PortViews.
CellView[]
Returns all views, shortcut to getAllDescendants(getRoots())
CellView[]
CellView[]
Returns the child views of this view.
CellView[]
Returns the child views of this view.
CellView[]
Returns all views, including descendants that have a parent in views without the PortViews.
CellView[]
CellView
CellMapper.getMapping(Object cell, boolean create)
Returns the view that is associated with cell.
CellView
GraphContext.getMapping(Object cell, boolean create)
Returns the CellView that is mapped to cell in the graph context.
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
Returns the parent view for this view.
CellView
Returns the parent of view of this view.
CellView
This method ensures a non-null value.
CellView[]
Returns the roots of the view.
CellView[]
GraphLayoutCache.getRoots(Rectangle2D clip)
Return all root cells that intersect the given rectangle.
CellView
Returns the CellView that represents the source of the edge.
CellView
CellView
Returns the CellView that represents the target of the edge.
CellView
CellView[]
CellView[]
Returns the views that have not changed explicitly, but implicitly because one of their dependent cells has changed.
CellView
EdgeView.getVisibleParent(GraphModel model, CellMapper mapper, Object port)
CellView[]
GraphLayoutCache.removeCells(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
Removes the associaten for the specified model cell and returns the view that was previously associated with the cell.

Copyright (C) 2001-2006 Gaudenz Alder. All rights reserved.