|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use CellView | |
com.jgraph | JGraph's topmost package which contains the JGraph class. |
com.jgraph.event | Contains event classes and listener interfaces that are used to react to events fired by JGraph. |
com.jgraph.graph | Graphs are made up of a number of classes and interfaces defined in their own
package - the jgraph.graph package. |
com.jgraph.plaf | Contains the GraphUI class which extends the Swing ComponentUI class. |
com.jgraph.plaf.basic | Contains the BasicGraphUI, which is GraphUI's default implementation. |
Uses of CellView in com.jgraph |
Methods in com.jgraph that return CellView | |
CellView |
JGraph.getNextViewAt(CellView current,
int x,
int y)
Returns the next view at the specified location wrt. |
CellView |
JGraph.getNextViewAt(CellView[] cells,
CellView c,
int x,
int y)
Returns the next view at the specified location wrt. |
CellView |
JGraph.createView(java.lang.Object cell,
CellMapper map)
Constructs a view for the specified cell and associates it with the specified object using the specified CellMapper. |
Methods in com.jgraph with parameters of type CellView | |
CellView |
JGraph.getNextViewAt(CellView current,
int x,
int y)
Returns the next view at the specified location wrt. |
CellView |
JGraph.getNextViewAt(CellView[] cells,
CellView c,
int x,
int y)
Returns the next view at the specified location wrt. |
void |
JGraph.updateAutoSize(CellView view)
Computes and updates the size for view . |
Uses of CellView in com.jgraph.event |
Methods in com.jgraph.event that return CellView | |
CellView[] |
GraphModelEvent.GraphModelChange.getViews(GraphView view)
Allows a GraphView to retrieve an array of
CellViews that was previously stored with
putViews(GraphView, CellView[]) . |
Methods in com.jgraph.event with parameters of type CellView | |
void |
GraphModelEvent.GraphModelChange.putViews(GraphView view,
CellView[] cellViews)
Allows a GraphView to store an array of
CellViews (used for command history). |
Uses of CellView in com.jgraph.graph |
Classes in com.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 com.jgraph.graph declared as CellView | |
protected CellView[] |
GraphView.GraphViewEdit.context
|
protected CellView |
AbstractCellView.parent
Cached parent view |
protected CellView[] |
VertexView.SizeHandle.contextViews
|
protected CellView |
PortView.lastParent
Cache of the last valid parent. |
Methods in com.jgraph.graph that return CellView | |
CellView |
CellView.getParentView()
Returns the parent of view of this view. |
CellView[] |
CellView.getChildViews()
Returns the child views of this view. |
CellView |
CellMapper.getMapping(java.lang.Object cell,
boolean create)
Returns the view that is associated with cell . |
CellView |
CellViewFactory.createView(java.lang.Object cell,
CellMapper map)
Constructs a view for the specified cell and associates it with the specified object using the specified CellMapper. |
CellView[] |
GraphView.getRoots()
Returns the roots of the view. |
CellView[] |
GraphView.getRoots(java.awt.Rectangle clip)
Return all cells that intersect the given rectangle. |
CellView[] |
GraphView.removeRoots(java.lang.Object[] cells)
Removes the specified model root cells from the view by removing the mapping between the cell and its view. |
CellView |
GraphView.getMapping(java.lang.Object cell,
boolean create)
Returns the view for the specified cell. |
CellView[] |
GraphView.getMapping(java.lang.Object[] cells)
Returns the views for the specified array of cells. |
CellView[] |
GraphView.getMapping(java.lang.Object[] cells,
boolean create)
Returns the views for the specified array of cells. |
CellView |
GraphView.removeMapping(java.lang.Object cell)
Removes the associaten for the specified model cell and returns the view that was previously associated with the cell. |
CellView[] |
GraphView.getAllDescendants(CellView[] views)
Returns all views, including descendants that have a parent in views , especially the PortViews. |
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.createTemporaryContextViews()
Returns an new consistent array of views for the edges that are connected to and not contained in cells . |
CellView[] |
GraphContext.createTemporaryContextViews(java.util.Set cellSet)
Returns an new consistent array of views for the edges that are connected to and not contained in cellSet . |
CellView |
GraphContext.getMapping(java.lang.Object cell,
boolean create)
Returns the CellView that is mapped to cell
in the graph context. |
CellView |
PortView.getParentView()
This method ensures a non-null value. |
CellView[] |
DefaultGraphModel.GraphModelEdit.getViews(GraphView view)
|
CellView[] |
DefaultGraphModel.GraphModelLayerEdit.getViews(GraphView view)
Returns the views that have not changed explicitly, but implicitly because one of their dependent cells has changed. |
Methods in com.jgraph.graph with parameters of type CellView | |
java.awt.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(java.awt.Graphics g,
CellView value,
java.awt.Rectangle r)
Returns true if the edge shape intersects the given rectangle. |
java.awt.Rectangle |
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(java.lang.Object cell,
CellView view)
Inserts the association between cell and view . |
void |
CellViewFactory.updateAutoSize(CellView view)
Sets the preferred size for view . |
java.awt.Component |
CellViewRenderer.getRendererComponent(JGraph graph,
CellView view,
boolean sel,
boolean focus,
boolean preview)
Configure and return the renderer based on the passed in components. |
protected void |
GraphView.refreshAndUpdate(CellView view,
boolean create,
boolean recurse)
Refresh and then update view . |
void |
GraphView.insertRoots(CellView[] views)
Adds the specified model root cells to the view. |
void |
GraphView.putMapping(java.lang.Object cell,
CellView view)
Associates the specified model cell with the specified view. |
void |
GraphView.toBack(CellView[] views)
Sends the specified views to back. |
void |
GraphView.toFront(CellView[] views)
Brings the specified views to front. |
java.lang.Object[] |
GraphView.getCells(CellView[] views)
Takes an array of views and returns the array of the corresponding cells by using getCell for each view. |
static void |
GraphView.translateViews(CellView[] views,
int dx,
int dy)
Translates the specified views by the given amount. |
CellView[] |
GraphView.getAllDescendants(CellView[] views)
Returns all views, including descendants that have a parent in views , especially the PortViews. |
java.awt.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 |
ConnectionSet.addConnections(CellView[] views)
Adds the connections in views to the connection set. |
java.awt.Component |
PortRenderer.getRendererComponent(JGraph graph,
CellView view,
boolean sel,
boolean focus,
boolean preview)
Configure and return the renderer based on the passed in components. |
static CellView[] |
AbstractCellView.getDescendantViews(CellView[] views)
Returns all views, including descendants that have a parent in views without the PortViews. |
static java.awt.Rectangle |
AbstractCellView.getBounds(CellView[] views)
Returns the bounding box for the specified views. |
static java.util.Map |
GraphConstants.createAttributeMap(CellView[] views,
CellMapper cm)
Returns a new map, from CellViews to maps, which in turn
map from keys to values. |
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(java.lang.Object cell,
CellView view)
Associates cell with view
in the graph context. |
void |
DefaultGraphModel.GraphModelEdit.putViews(GraphView view,
CellView[] views)
|
void |
DefaultGraphModel.GraphModelLayerEdit.putViews(GraphView view,
CellView[] cellViews)
Returns the views that have not changed explicitly, but implicitly because one of their dependent cells has changed. |
Uses of CellView in com.jgraph.plaf |
Methods in com.jgraph.plaf with parameters of type CellView | |
abstract void |
GraphUI.paintCell(java.awt.Graphics g,
CellView view,
java.awt.Rectangle bounds,
boolean preview)
Paints the renderer of view to g
at bounds . |
abstract java.awt.Dimension |
GraphUI.getPreferredSize(JGraph graph,
CellView view)
Returns the preferred size for view . |
Uses of CellView in com.jgraph.plaf.basic |
Fields in com.jgraph.plaf.basic declared as CellView | |
protected CellView |
BasicGraphUI.focus
|
protected CellView |
BasicGraphUI.MouseHandler.cell
|
protected CellView[] |
BasicGraphUI.RootHandle.views
|
protected CellView[] |
BasicGraphUI.RootHandle.contextViews
|
Methods in com.jgraph.plaf.basic with parameters of type CellView | |
java.awt.Dimension |
BasicGraphUI.getPreferredSize(JGraph graph,
CellView view)
Get the preferred Size for a cell view. |
void |
BasicGraphUI.paintCell(java.awt.Graphics g,
CellView view,
java.awt.Rectangle bounds,
boolean preview)
Paints the renderer of view to g
at bounds . |
protected boolean |
BasicGraphUI.MouseHandler.isDescendant(CellView parentView,
CellView childView)
|
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |