Uses of Interface
org.jgraph.graph.CellView
-
Packages that use CellView Package Description 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 - thejgraph.graphpackage.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.org.jgraph.util -
-
Uses of CellView in org.jgraph
Methods in org.jgraph that return CellView Modifier and Type Method Description CellViewJGraph. getLeafViewAt(double x, double y)Returns the next view at the specified location wrt.CellViewJGraph. getNextSelectableViewAt(CellView current, double x, double y)Note: Arguments are not expected to be scaled (they are scaled in here).CellViewJGraph. getNextViewAt(CellView[] cells, CellView c, double x, double y)Returns the next view at the specified location wrt.CellViewJGraph. getNextViewAt(CellView[] cells, CellView c, double x, double y, boolean leafsOnly)Returns the next view at the specified location wrt.CellViewJGraph. getNextViewAt(CellView current, double x, double y)Returns the next view at the specified location wrt.CellViewJGraph. getNextViewAt(CellView current, double x, double y, boolean leafsOnly)Returns the next view at the specified location wrt.CellViewJGraph. 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.Methods in org.jgraph with parameters of type CellView Modifier and Type Method Description CellViewJGraph. getNextSelectableViewAt(CellView current, double x, double y)Note: Arguments are not expected to be scaled (they are scaled in here).CellViewJGraph. getNextViewAt(CellView[] cells, CellView c, double x, double y)Returns the next view at the specified location wrt.CellViewJGraph. getNextViewAt(CellView[] cells, CellView c, double x, double y, boolean leafsOnly)Returns the next view at the specified location wrt.CellViewJGraph. getNextViewAt(CellView current, double x, double y)Returns the next view at the specified location wrt.CellViewJGraph. getNextViewAt(CellView current, double x, double y, boolean leafsOnly)Returns the next view at the specified location wrt.voidJGraph. updateAutoSize(CellView view)Computes and updates the size forview. -
Uses of CellView in org.jgraph.event
Methods in org.jgraph.event that return CellView Modifier and Type Method Description CellView[]GraphModelEvent.GraphModelChange. getViews(GraphLayoutCache view)Allows aGraphLayoutCacheto retrieve an array ofCellViewsthat was previously stored withputViews(GraphLayoutCache, CellView[]).Methods in org.jgraph.event with parameters of type CellView Modifier and Type Method Description voidGraphModelEvent.GraphModelChange. putViews(GraphLayoutCache view, CellView[] cellViews)Allows aGraphLayoutCacheto store cell views for cells that have been removed. -
Uses of CellView in org.jgraph.graph
Classes in org.jgraph.graph that implement CellView Modifier and Type Class Description classAbstractCellViewThe abstract base class for all cell views.classEdgeViewThe default implementation of an edge view.classPortViewThe default implementation of a port view.classVertexViewThe default implementation of a vertex view.Fields in org.jgraph.graph declared as CellView Modifier and Type Field Description protected CellView[]GraphLayoutCache.GraphLayoutCacheEdit. contextprotected CellView[]VertexView.SizeHandle. contextViewsprotected CellView[]GraphLayoutCache.GraphLayoutCacheEdit. hiddenprotected CellViewPortView. lastParentCache of the last valid parent.protected CellViewAbstractCellView. parentCached parent viewprotected CellView[]VertexView.SizeHandle. portViewsprotected CellViewEdgeView. sourceCached source and target portview of the edge.protected CellViewEdgeView. sourceParentViewprotected CellViewEdgeView. targetCached source and target portview of the edge.protected CellViewEdgeView. targetParentViewMethods in org.jgraph.graph that return CellView Modifier and Type Method Description CellViewGraphContext. createMapping(java.lang.Object cell)CellView[]GraphContext. createTemporaryCellViews()Returns an new consistent array of views forcells.CellView[]GraphContext. createTemporaryContextViews()Returns an new consistent array of views for the edges that are connected to and not contained incells.CellView[]GraphContext. createTemporaryContextViews(java.util.Set cellSet)Returns an new consistent array of views for the edges that are connected to and not contained incellSet.CellView[]GraphContext. createTemporaryPortViews()Returns an new consistent array of views for the ports.CellViewCellViewFactory. createView(GraphModel model, java.lang.Object cell)Constructs a view for the specified cell and associates it with the specified object using the specified CellMapper.CellViewDefaultCellViewFactory. createView(GraphModel model, java.lang.Object cell)Constructs a view for the specified cell and associates it with the specified object using the specified CellMapper.CellView[]GraphLayoutCache. getAllDescendants(CellView[] views)Returns all views, including descendants that have a parent inviews, especially the PortViews.CellView[]GraphLayoutCache. getAllViews()Returns all views, shortcut to getAllDescendants(getRoots())CellView[]GraphLayoutCache. getCellViews()CellView[]AbstractCellView. getChildViews()Returns the child views of this view.CellView[]CellView. getChildViews()Returns the child views of this view.static CellView[]AbstractCellView. getDescendantViews(CellView[] views)Returns all views, including descendants that have a parent inviewswithout the PortViews.CellView[]GraphLayoutCache. getHiddenCellViews()CellViewCellMapper. getMapping(java.lang.Object cell, boolean create)Returns the view that is associated withcell.CellViewGraphContext. getMapping(java.lang.Object cell, boolean create)Returns theCellViewthat is mapped tocellin the graph context.CellView[]GraphLayoutCache. getMapping(java.lang.Object[] cells)Returns the views for the specified array of cells without creating these views on the fly.CellView[]GraphLayoutCache. getMapping(java.lang.Object[] cells, boolean create)Returns the views for the specified array of cells.CellViewGraphLayoutCache. getMapping(java.lang.Object cell, boolean create)Returns the view for the specified cell.CellViewAbstractCellView. getParentView()Returns the parent view for this view.CellViewCellView. getParentView()Returns the parent of view of this view.CellViewPortView. getParentView()This method ensures a non-null value.CellView[]GraphLayoutCache. getRoots()Returns the roots of the view.CellView[]GraphLayoutCache. getRoots(java.awt.geom.Rectangle2D clip)Return all root cells that intersect the given rectangle.CellViewEdgeView. getSource()Returns the CellView that represents the source of the edge.CellViewEdgeView. getSourceParentView()CellViewEdgeView. getTarget()Returns the CellView that represents the target of the edge.CellViewEdgeView. getTargetParentView()CellView[]DefaultGraphModel.GraphModelEdit. getViews(GraphLayoutCache view)CellView[]DefaultGraphModel.GraphModelLayerEdit. getViews(GraphLayoutCache view)Returns the views that have not changed explicitly, but implicitly because one of their dependent cells has changed.protected CellViewEdgeView. getVisibleParent(GraphModel model, CellMapper mapper, java.lang.Object port)CellView[]GraphLayoutCache. removeCells(java.lang.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.CellViewGraphLayoutCache. removeMapping(java.lang.Object cell)Removes the association for the specified model cell and returns the view that was previously associated with the cell.Methods in org.jgraph.graph with parameters of type CellView Modifier and Type Method Description voidConnectionSet. addConnections(CellView[] views)Adds the connections inviewsto the connection set.voidGraphLayoutCache. cellViewsChanged(CellView[] cellViews)Invoke this method after you've changed how the cells are to be represented in the graph.ConnectionSetGraphContext. disconnect(CellView[] cells)Disconnects the edges incellsfrom the sources and targets that are not in this context and returns a ConnectionSet that defines the disconnection.CellView[]GraphLayoutCache. getAllDescendants(CellView[] views)Returns all views, including descendants that have a parent inviews, especially the PortViews.static java.awt.geom.Rectangle2DAbstractCellView. getBounds(CellView[] views)Returns the bounding box for the specified views.java.awt.geom.Rectangle2DEdgeRenderer. getBounds(CellView value)Returns the bounds of the edge shape.static java.awt.geom.Rectangle2DGraphLayoutCache. getBounds(CellView[] views)Returns the bounding box for the specified cell views.java.lang.Object[]GraphLayoutCache. getCells(CellView[] views)Takes an array of views and returns the array of the corresponding cells by usinggetCellfor each view.static java.awt.geom.Point2DAbstractCellView. getCenterPoint(CellView vertex)static CellView[]AbstractCellView. getDescendantViews(CellView[] views)Returns all views, including descendants that have a parent inviewswithout the PortViews.protected java.awt.RectangleEdgeView.EdgeHandle. getHighlightBounds(JGraph graph, CellView cellView)Returns the bounds to be used to highlight the given cell view.static doubleEdgeView. getLength(CellView view)java.awt.ComponentCellViewRenderer. getRendererComponent(JGraph graph, CellView view, boolean sel, boolean focus, boolean preview)Configure and return the renderer based on the passed in components.java.awt.ComponentEdgeRenderer. getRendererComponent(JGraph graph, CellView view, boolean sel, boolean focus, boolean preview)Configure and return the renderer based on the passed in components.java.awt.ComponentPortRenderer. getRendererComponent(JGraph graph, CellView view, boolean sel, boolean focus, boolean preview)Configure and return the renderer based on the passed in components.java.awt.ComponentVertexRenderer. getRendererComponent(JGraph graph, CellView view, boolean sel, boolean focus, boolean preview)Configure and return the renderer component based on the passed in cell.protected voidEdgeView.EdgeHandle. highlight(JGraph graph, CellView cellView)Highlights the given cell view or removes the highlight if no cell view is specified.protected booleanAbstractCellView. includeInGroupBounds(CellView view)This is used to exclude certain cell views from the group bounds computation.voidGraphLayoutCache. insertViews(CellView[] views)Adds the specified model root cells to the view.protected voidEdgeRenderer. installAttributes(CellView view)Installs the attributes of specified cell in this renderer instance.protected voidVertexRenderer. installAttributes(CellView view)Install the attributes of specified cell in this renderer instance.booleanEdgeRenderer. intersects(JGraph graph, CellView value, java.awt.Rectangle rect)Returns true if the edge shape intersects the given rectangle.protected voidEdgeView.EdgeHandle. paintPort(java.awt.Graphics g, CellView p)voidCellMapper. putMapping(java.lang.Object cell, CellView view)Inserts the association betweencellandview.voidGraphContext. putMapping(java.lang.Object cell, CellView view)Associatescellwithviewin the graph context.voidGraphLayoutCache. putMapping(java.lang.Object cell, CellView view)Associates the specified model cell with the specified view.voidDefaultGraphModel.GraphModelEdit. putViews(GraphLayoutCache view, CellView[] views)voidDefaultGraphModel.GraphModelLayerEdit. putViews(GraphLayoutCache view, CellView[] cellViews)Returns the views that have not changed explicitly, but implicitly because one of their dependent cells has changed.voidGraphLayoutCache. refresh(CellView[] views, boolean create)voidGraphLayoutCache. refresh(CellView view, boolean create)voidEdgeView. setSource(CellView sourceView)Sets thesourceViewof the edge.voidEdgeView. setTarget(CellView targetView)Sets thetargetViewof the edge.static voidGraphLayoutCache. translateViews(CellView[] views, double dx, double dy)Translates the specified views by the given amount.voidGraphLayoutCache. update(CellView view)voidGraphLayoutCache. update(CellView[] views)Constructors in org.jgraph.graph with parameters of type CellView Constructor Description GraphLayoutCache(GraphModel model, CellViewFactory factory, CellView[] cellViews, CellView[] hiddenCellViews, boolean partial)Constructs a view for the specified model that usesfactoryto create its views. -
Uses of CellView in org.jgraph.plaf
Methods in org.jgraph.plaf with parameters of type CellView Modifier and Type Method Description abstract java.awt.geom.Dimension2DGraphUI. getPreferredSize(JGraph graph, CellView view)Returns the preferred size forview.abstract voidGraphUI. paintCell(java.awt.Graphics g, CellView view, java.awt.geom.Rectangle2D bounds, boolean preview)Paints the renderer ofviewtogatbounds.abstract voidGraphUI. paintPorts(java.awt.Graphics g, CellView[] portViews)Paints the renderers ofportViewstog. -
Uses of CellView in org.jgraph.plaf.basic
Fields in org.jgraph.plaf.basic declared as CellView Modifier and Type Field Description protected CellViewBasicGraphUI.MouseHandler. cellprotected CellView[]BasicGraphUI.RootHandle. contextViewsprotected CellViewBasicGraphUI. focusThe focused cell under the mousepointer and the last focused cell.protected CellViewBasicGraphUI.RootHandle. ignoreTargetGroupprotected CellViewBasicGraphUI. lastFocusThe focused cell under the mousepointer and the last focused cell.protected CellView[]BasicGraphUI.RootHandle. portViewsprotected CellViewBasicGraphUI.RootHandle. targetGroupprotected CellView[]BasicGraphUI.RootHandle. viewsMethods in org.jgraph.plaf.basic that return CellView Modifier and Type Method Description protected CellViewBasicGraphUI.RootHandle. findUnselectedInnermostGroup(double x, double y)Used for move into group to find the target group.protected CellViewBasicGraphUI.RootHandle. findViewForPoint(java.awt.geom.Point2D pt)Hook for subclassers to return a different view for a mouse click atpt.Methods in org.jgraph.plaf.basic with parameters of type CellView Modifier and Type Method Description java.awt.geom.Dimension2DBasicGraphUI. getPreferredSize(JGraph graph, CellView view)Get the preferred Size for a cell view.protected booleanBasicGraphUI.MouseHandler. isDescendant(CellView parentView, CellView childView)voidBasicGraphUI. paintCell(java.awt.Graphics g, CellView view, java.awt.geom.Rectangle2D bounds, boolean preview)Paints the renderer ofviewtogatbounds.voidBasicGraphUI. paintPorts(java.awt.Graphics g, CellView[] ports)Paintports. -
Uses of CellView in org.jgraph.util
Methods in org.jgraph.util with parameters of type CellView Modifier and Type Method Description protected java.lang.Object[]ParallelEdgeRouter. getParallelEdges(GraphLayoutCache cache, EdgeView edge, CellView cellView1, CellView cellView2)Getter to obtain the list of parallel edges
-