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

## Uses of Class
org.jgraph.JGraph

Packages that use JGraph
org.jgraph | JGraph's topmost package which contains the JGraph class.
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 JGraph in org.jgraph

Methods in org.jgraph with parameters of type JGraph
`protected static GraphLayoutCache` | `JGraph.createDefaultGraphView(JGraph graph)` Creates and returns a default `GraphLayoutCache`.
`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.
`void` | `JGraph.updateAutoSize(JGraph graph, CellView view)` Computes and updates the size for `view`.
`protected EdgeView` | `JGraph.createEdgeView(JGraph graph, CellMapper mapper, Object cell)` Constructs an EdgeView view for the specified object.
`protected PortView` | `JGraph.createPortView(JGraph graph, CellMapper mapper, Object cell)` Constructs a PortView view for the specified object.
`protected EdgeView` | `JGraph.createEdgeView(JGraph graph, CellMapper mapper, Edge cell)` Deprecated. replaced by `#createEdgeView(Object,CellMapper)`since JGraph no longer exposes dependecies on GraphCell subclasses (Port, Edge)
`protected PortView` | `JGraph.createPortView(JGraph graph, CellMapper mapper, Port cell)` Deprecated. replaced by `#createPortView(Object,CellMapper)`since JGraph no longer exposes dependecies on GraphCell subclasses (Port, Edge)
`protected VertexView` | `JGraph.createVertexView(JGraph graph, CellMapper mapper, Object cell)` Constructs a VertexView view for the specified object.

Uses of JGraph in org.jgraph.graph

Fields in org.jgraph.graph declared as JGraph
`protected JGraph` | `AbstractCellView.graph` Reference to the graph
`protected JGraph` | `GraphContext.graph` Reference to the parent graph.
`protected JGraph` | `GraphLayoutCache.graph` Factory to create the views.
`protected JGraph` | `EdgeView.EdgeHandle.graph`
`protected JGraph` | `DefaultGraphSelectionModel.graph` Reference to the parent graph.
`protected JGraph` | `VertexRenderer.graph` Cache the current graph for drawing.
`protected JGraph` | `VertexView.SizeHandle.graph`
`protected JGraph` | `PortRenderer.graph` Cache the current graph for drawing
`protected JGraph` | `DefaultGraphCellEditor.graph` JTree instance listening too.
`protected JGraph` | `EdgeRenderer.graph` Cache the current graph for drawing

Methods in org.jgraph.graph that return JGraph
`JGraph` | `AbstractCellView.getGraph()` Returns the graph associated with the view.
`JGraph` | `GraphContext.getGraph()` Returns the graph that was passed to the constructor.
`JGraph` | `GraphLayoutCache.getGraph()` Returns the factory that was passed to the constructor.

Methods in org.jgraph.graph with parameters of type JGraph
`Component` | `AbstractCellView.getRendererComponent(JGraph graph, boolean selected, boolean focus, boolean preview)` Returns a renderer component, configured for the view.
`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` | `DefaultRealEditor.getGraphCellEditorComponent(JGraph graph, Object value, boolean isSelected)`
`Component` | `VertexRenderer.getRendererComponent(JGraph graph, CellView view, boolean sel, boolean focus, boolean preview)` Configure and return the renderer based on the passed in components.
`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.
`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.
`Component` | `DefaultGraphCellEditor.getGraphCellEditorComponent(JGraph graph, Object cell, boolean isSelected)` Configures the editor.
`protected void` | `DefaultGraphCellEditor.setGraph(JGraph newGraph)` Sets the tree currently editing for.
`protected void` | `DefaultGraphCellEditor.determineOffset(JGraph graph, Object value, boolean isSelected)`
`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` | `CellView.getRendererComponent(JGraph graph, boolean selected, boolean focus, boolean preview)` Returns a renderer component, configured for the view.
`Component` | `GraphCellEditor.getGraphCellEditorComponent(JGraph graph, Object value, boolean isSelected)` Sets an initial value for the editor.

Constructors in org.jgraph.graph with parameters of type JGraph
`PortView(Object cell, JGraph graph, CellMapper mapper)` Constructs a view that holds a reference to the specified cell, anchor and parent vertex.
`AbstractCellView(Object cell, JGraph graph, CellMapper mapper)` Constructs a view for the specified model object, and invokes update on the new instance.
`GraphContext(JGraph graph, Object[] cells)` Constructs a graph context for `cells` with respect to the connections defined in the model, and the views in the view of `graph`.
`GraphLayoutCache(JGraph graph)` Constructs a view for the specified model that uses `factory` to create its views.
`GraphLayoutCache(JGraph graph, Set localAttributes)` Constructs a view for the specified model that uses `factory` to create its views.
`GraphLayoutCache(JGraph graph, GraphModel model, CellViewFactory factory, boolean ordered, boolean partial)` Constructs a view for the specified model that uses `factory` to create its views.
`GraphLayoutCache(JGraph graph, GraphModel model, CellViewFactory factory, boolean ordered, boolean partial, boolean rememberCellViews, boolean showAllEdgesForVisibleVertices, boolean showEdgesOnShow, boolean hideEdgesOnHide, boolean hideEdgesOnBecomeInvisible)` Constructs a view for the specified model that uses `factory` to create its views.
`EdgeView(Object cell, JGraph graph, CellMapper mapper)` Constructs an edge view for the specified model object.
`DefaultGraphSelectionModel(JGraph graph)` Constructs a DefaultGraphSelectionModel for the specified graph.
`VertexView(Object cell, JGraph graph, CellMapper mapper)` Constructs a vertex view for the specified model object and the specified child views.

Uses of JGraph in org.jgraph.plaf

Methods in org.jgraph.plaf with parameters of type JGraph
`abstract void` | `GraphUI.selectCellsForEvent(JGraph graph, Object[] cells, MouseEvent event)` Messaged to update the selection based on a MouseEvent for a group of cells.
`abstract Dimension2D` | `GraphUI.getPreferredSize(JGraph graph, CellView view)` Returns the preferred size for `view`.
`abstract CellHandle` | `GraphUI.getHandle(JGraph graph)` Returns the `CellHandle` that is currently active, or `null` if no handle is active.
`abstract boolean` | `GraphUI.isEditing(JGraph graph)` Returns true if the graph is being edited.
`abstract boolean` | `GraphUI.stopEditing(JGraph graph)` Stops the current editing session.
`abstract void` | `GraphUI.cancelEditing(JGraph graph)` Cancels the current editing session.
`abstract void` | `GraphUI.startEditingAtCell(JGraph graph, Object cell)` Selects the cell and tries to edit it.
`abstract Object` | `GraphUI.getEditingCell(JGraph graph)` Returns the cell that is being edited.

Uses of JGraph in org.jgraph.plaf.basic

Fields in org.jgraph.plaf.basic declared as JGraph
`protected JGraph` | `BasicGraphUI.graph` Component that we're going to be drawing into.

Methods in org.jgraph.plaf.basic with parameters of type JGraph
`CellHandle` | `BasicGraphUI.getHandle(JGraph graph)` Returns the handle that is currently active, or null, if no handle is currently active.
`Dimension2D` | `BasicGraphUI.getPreferredSize(JGraph graph, CellView view)` Get the preferred Size for a cell view.
`void` | `BasicGraphUI.selectCellsForEvent(JGraph graph, Object[] cells, MouseEvent event)` From GraphUI interface.
`boolean` | `BasicGraphUI.isEditing(JGraph graph)` Returns true if the graph is being edited.
`boolean` | `BasicGraphUI.stopEditing(JGraph graph)` Stops the current editing session.
`void` | `BasicGraphUI.cancelEditing(JGraph graph)` Cancels all current editing sessions.
`void` | `BasicGraphUI.startEditingAtCell(JGraph graph, Object cell)` Selects the cell and tries to edit it.
`Object` | `BasicGraphUI.getEditingCell(JGraph graph)` Returns the element that is being edited.
`protected GraphContext` | `BasicGraphUI.createContext(JGraph graph, Object[] cells)`
`static void` | `BasicGraphUI.autoscroll(JGraph graph, Point p)` Scroll the graph for an event at `p`.
`protected GraphTransferable` | `BasicGraphUI.GraphTransferHandler.create(JGraph graph, Object[] cells, Map viewAttributes, Rectangle2D bounds, ConnectionSet cs, ParentMap pm)`

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.