Uses of Class
org.jgraph.graph.GraphLayoutCache
-
Packages that use GraphLayoutCache 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.graph
package.org.jgraph.plaf.basic Contains the BasicGraphUI, which is GraphUI's default implementation.org.jgraph.util -
-
Uses of GraphLayoutCache in org.jgraph
Fields in org.jgraph declared as GraphLayoutCache Modifier and Type Field Description protected GraphLayoutCache
JGraph. graphLayoutCache
The view that defines the display properties of the model.Methods in org.jgraph that return GraphLayoutCache Modifier and Type Method Description GraphLayoutCache
JGraph. getGraphLayoutCache()
Returns theGraphLayoutCache
that is providing the view-data.Methods in org.jgraph with parameters of type GraphLayoutCache Modifier and Type Method Description void
JGraph. setGraphLayoutCache(GraphLayoutCache newLayoutCache)
Sets theGraphLayoutCache
that will provide the view-data.Constructors in org.jgraph with parameters of type GraphLayoutCache Constructor Description JGraph(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 GraphLayoutCache Modifier and Type Method Description CellView[]
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 GraphLayoutCache Modifier and Type Field Description protected GraphLayoutCache
GraphContext. graphLayoutCache
Reference to the graphs GraphLayoutCache.Methods in org.jgraph.graph with parameters of type GraphLayoutCache Modifier and Type Method Description java.util.Map
AbstractCellView. changeAttributes(GraphLayoutCache cache, java.util.Map change)
Applieschange
to the attributes of the view and calls update.java.util.Map
CellView. changeAttributes(GraphLayoutCache cache, java.util.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.java.util.List
DefaultEdge.LoopRouting. route(GraphLayoutCache cache, EdgeView edge)
java.util.List
Edge.Routing. route(GraphLayoutCache cache, EdgeView edge)
Returns the points to be used for the edge.protected java.util.List
DefaultEdge.DefaultRouting. routeEdge(GraphLayoutCache cache, EdgeView edge)
protected java.util.List
DefaultEdge.LoopRouting. routeEdge(GraphLayoutCache cache, EdgeView edge)
protected java.util.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 GraphLayoutCache Modifier and Type Field Description protected GraphLayoutCache
BasicGraphUI. graphLayoutCache
Reference to the graph's view (geometric pattern).Methods in org.jgraph.plaf.basic with parameters of type GraphLayoutCache Modifier and Type Method Description protected 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 GraphLayoutCache 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 edgesjava.util.List
ParallelEdgeRouter. routeEdge(GraphLayoutCache cache, EdgeView edge)
Calc of intermediates points
-