JGraph | |
Frames | No Frames |
Methods with parameter type org.jgraph.graph.CellView | |
Object[] | ParallelEdgeRouter.getParallelEdges(GraphLayoutCache cache, EdgeView edge, CellView cellView1, CellView cellView2) Getter to obtain the list of parallel edges
|
Methods with parameter type org.jgraph.graph.CellView | |
Dimension2D | Returns the preferred size for view . |
void | Paints the renderer of view to g
at bounds . |
void | Paints the renderers of portViews to g . |
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 | Paints the renderer of view to g at
bounds . |
void | Paint ports . |
Methods with return type org.jgraph.graph.CellView | |
CellView | BasicGraphUI.RootHandle.findUnselectedInnermostGroup(double x, double y) Used for move into group to find the target group. |
CellView | BasicGraphUI.RootHandle.findViewForPoint(Point2D pt) Hook for subclassers to return a different view for a mouse click at
pt . |
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[]) . |
Methods with parameter type org.jgraph.graph.CellView | |
CellView | Note: Arguments are not expected to be scaled (they are scaled in here). |
CellView | Returns the next view at the specified location wrt. |
CellView | Returns the next view at the specified location wrt. |
CellView | Returns the next view at the specified location wrt. |
CellView | 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 | Note: Arguments are not expected to be scaled (they are scaled in here). |
CellView | Returns the next view at the specified location wrt. |
CellView | Returns the next view at the specified location wrt. |
CellView | Returns the next view at the specified location wrt. |
CellView | 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. |
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 | Returns true if the edge shape intersects the given rectangle. |
void | |
void | Inserts the association between cell and view . |
void | Associates cell with view in the graph
context. |
void | 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 | |
void | |
void | Sets the sourceView of the edge. |
void | Sets the targetView of the edge. |
void | Translates the specified views by the given amount. |
void | |
void |
Methods with return type org.jgraph.graph.CellView | |
CellView | GraphContext.createMapping(Object cell) |
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[] | GraphContext.createTemporaryContextViews(Set cellSet) 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 | 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 | |
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 | GraphLayoutCache.removeMapping(Object cell) Removes the associaten for the specified model cell and returns the view
that was previously associated with the cell. |