Uses of Class
org.jgraph.graph.GraphLayoutCache
Packages that use GraphLayoutCache
Package
Description
JGraph's topmost package which contains the JGraph class.
Contains event classes and listener interfaces that are used to react to events fired by JGraph.
Graphs are made up of a number of classes and interfaces defined in their own
package - the
jgraph.graph
package.Contains the BasicGraphUI, which is GraphUI's default implementation.
-
Uses of GraphLayoutCache in org.jgraph
Fields in org.jgraph declared as GraphLayoutCacheModifier and TypeFieldDescriptionprotected GraphLayoutCache
JGraph.graphLayoutCache
The view that defines the display properties of the model.Methods in org.jgraph that return GraphLayoutCacheModifier and TypeMethodDescriptionJGraph.getGraphLayoutCache()
Returns theGraphLayoutCache
that is providing the view-data.Methods in org.jgraph with parameters of type GraphLayoutCacheModifier and TypeMethodDescriptionvoid
JGraph.setGraphLayoutCache
(GraphLayoutCache newLayoutCache) Sets theGraphLayoutCache
that will provide the view-data.Constructors in org.jgraph with parameters of type GraphLayoutCacheModifierConstructorDescriptionJGraph
(GraphLayoutCache cache) Returns an instance ofJGraph
which displays the data model using the specified view.JGraph
(GraphModel model, GraphLayoutCache cache) Returns an instance ofJGraph
which displays the specified data model using the specified view.JGraph
(GraphModel model, GraphLayoutCache layoutCache, BasicMarqueeHandler mh) Returns an instance ofJGraph
which displays the specified data model using the specified view and assigns the specified marquee handler -
Uses of GraphLayoutCache in org.jgraph.event
Methods in org.jgraph.event with parameters of type GraphLayoutCacheModifier and TypeMethodDescriptionCellView[]
GraphModelEvent.GraphModelChange.getViews
(GraphLayoutCache view) Allows aGraphLayoutCache
to retrieve an array ofCellViews
that was previously stored withputViews(GraphLayoutCache, CellView[])
.void
GraphModelEvent.GraphModelChange.putViews
(GraphLayoutCache view, CellView[] cellViews) Allows aGraphLayoutCache
to store cell views for cells that have been removed. -
Uses of GraphLayoutCache in org.jgraph.graph
Fields in org.jgraph.graph declared as GraphLayoutCacheModifier and TypeFieldDescriptionprotected GraphLayoutCache
GraphContext.graphLayoutCache
Reference to the graphs GraphLayoutCache.Methods in org.jgraph.graph with parameters of type GraphLayoutCacheModifier and TypeMethodDescriptionAbstractCellView.changeAttributes
(GraphLayoutCache cache, Map change) Applieschange
to the attributes of the view and calls update.CellView.changeAttributes
(GraphLayoutCache cache, Map map) Apply the specified map of attributes on the view.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.void
DefaultGraphModel.GraphModelEdit.putViews
(GraphLayoutCache view, CellView[] views) void
DefaultGraphModel.GraphModelLayerEdit.putViews
(GraphLayoutCache view, CellView[] cellViews) Returns the views that have not changed explicitly, but implicitly because one of their dependent cells has changed.void
AbstractCellView.refresh
(GraphLayoutCache cache, CellMapper mapper, boolean createDependentViews) Create child views and reload properties for this view.void
CellView.refresh
(GraphLayoutCache cache, CellMapper mapper, boolean createDependentViews) Refresh this view based on the model cell.void
EdgeView.refresh
(GraphLayoutCache cache, CellMapper mapper, boolean createDependentViews) Overrides the parent method to udpate the cached points, source and target port.DefaultEdge.LoopRouting.route
(GraphLayoutCache cache, EdgeView edge) Edge.Routing.route
(GraphLayoutCache cache, EdgeView edge) Returns the points to be used for the edge.protected List
DefaultEdge.DefaultRouting.routeEdge
(GraphLayoutCache cache, EdgeView edge) protected List
DefaultEdge.LoopRouting.routeEdge
(GraphLayoutCache cache, EdgeView edge) protected List
DefaultEdge.LoopRouting.routeLoop
(GraphLayoutCache cache, EdgeView edge) void
AbstractCellView.update
(GraphLayoutCache cache) Update attributes for this view and indicate to the parent this child has been updatedvoid
CellView.update
(GraphLayoutCache cache) Update this view's attributes.void
EdgeView.update
(GraphLayoutCache cache) Update attributes and recurse children.void
VertexView.update
(GraphLayoutCache cache) Overrides the parent method to udpate the cached points. -
Uses of GraphLayoutCache in org.jgraph.plaf.basic
Fields in org.jgraph.plaf.basic declared as GraphLayoutCacheModifier and TypeFieldDescriptionprotected GraphLayoutCache
BasicGraphUI.graphLayoutCache
Reference to the graph's view (geometric pattern).Methods in org.jgraph.plaf.basic with parameters of type GraphLayoutCacheModifier and TypeMethodDescriptionprotected void
BasicGraphUI.setGraphLayoutCache
(GraphLayoutCache cache) Sets the GraphLayoutCache (geometric pattern). -
Uses of GraphLayoutCache in org.jgraph.util
Methods in org.jgraph.util with parameters of type GraphLayoutCacheModifier and TypeMethodDescriptionprotected Object[]
ParallelEdgeRouter.getParallelEdges
(GraphLayoutCache cache, EdgeView edge, CellView cellView1, CellView cellView2) Getter to obtain the list of parallel edgesParallelEdgeRouter.routeEdge
(GraphLayoutCache cache, EdgeView edge) Calc of intermediates points