Uses of Interface
edu.uci.ics.jung.algorithms.layout.Layout
-
Packages that use Layout Package Description edu.uci.ics.jung.algorithms.layout Algorithms for assigning 2D coordinates (typically used for graph visualizations) to vertices.edu.uci.ics.jung.visualization Frameworks and mechanisms for visualizing JUNG graphs using Swing/AWT.edu.uci.ics.jung.visualization.layout Visualization mechanisms related to graph layout: caching, persistence, event-emitting, etc.edu.uci.ics.jung.visualization.picking Visualization mechanisms for supporting the selection of graph elements.edu.uci.ics.jung.visualization.renderers Visualization mechanisms relating to rendering.edu.uci.ics.jung.visualization.spatial edu.uci.ics.jung.visualization.subLayout Visualization mechanisms relating to grouping or hiding specified element sets. -
-
Uses of Layout in edu.uci.ics.jung.algorithms.layout
Classes in edu.uci.ics.jung.algorithms.layout that implement Layout Modifier and Type Class Description class
AbstractLayout<V,E>
Abstract class for implementations ofLayout
.class
AggregateLayout<V,E>
ALayout
implementation that combines multiple other layouts so that they may be manipulated as one layout.class
BalloonLayout<V,E>
ALayout
implementation that assigns positions toTree
orForest
vertices using associations with nested circles ("balloons").class
CircleLayout<V,E>
ALayout
implementation that positions vertices equally spaced on a regular circle.class
DAGLayout<V,E>
An implementation ofLayout
suitable for tree-like directed acyclic graphs.class
FRLayout<V,E>
Implements the Fruchterman-Reingold force-directed algorithm for node layout.class
FRLayout2<V,E>
Implements the Fruchterman-Reingold force-directed algorithm for node layout.class
ISOMLayout<V,E>
Implements a self-organizing map layout algorithm, based on Meyer's self-organizing graph methods.class
KKLayout<V,E>
Implements the Kamada-Kawai algorithm for node layout.class
LayoutDecorator<V,E>
a pure decorator for the Layout interface.class
RadialTreeLayout<V,E>
A radial layout for Tree or Forest graphs.class
SpringLayout<V,E>
The SpringLayout package represents a visualization of a set of nodes.class
SpringLayout2<V,E>
The SpringLayout package represents a visualization of a set of nodes.class
StaticLayout<V,E>
StaticLayout places the vertices in the locations specified by its initializer, and has no other behavior.class
TreeLayout<V,E>
Fields in edu.uci.ics.jung.algorithms.layout declared as Layout Modifier and Type Field Description protected Layout<V,E>
AggregateLayout. delegate
protected Layout<V,E>
LayoutDecorator. delegate
Fields in edu.uci.ics.jung.algorithms.layout with type parameters of type Layout Modifier and Type Field Description protected java.util.Map<Layout<V,E>,java.awt.geom.Point2D>
AggregateLayout. layouts
Methods in edu.uci.ics.jung.algorithms.layout that return Layout Modifier and Type Method Description Layout<V,E>
AggregateLayout. getDelegate()
Layout<V,E>
LayoutDecorator. getDelegate()
Methods in edu.uci.ics.jung.algorithms.layout that return types with arguments of type Layout Modifier and Type Method Description java.util.Map<Layout<V,E>,java.awt.geom.Point2D>
AggregateLayout. getLayouts()
Methods in edu.uci.ics.jung.algorithms.layout with parameters of type Layout Modifier and Type Method Description java.awt.geom.Point2D
AggregateLayout. get(Layout<V,E> layout)
E
GraphElementAccessor. getEdge(Layout<V,E> layout, double x, double y)
E
RadiusGraphElementAccessor. getEdge(Layout<V,E> layout, double x, double y)
E
RadiusGraphElementAccessor. getEdge(Layout<V,E> layout, double x, double y, double maxDistance)
Gets the vertex nearest to the location of the (x,y) location selected, whose endpoints are <maxDistance
.V
GraphElementAccessor. getVertex(Layout<V,E> layout, double x, double y)
Returns the vertex, if any, associated with (x, y).V
RadiusGraphElementAccessor. getVertex(Layout<V,E> layout, double x, double y)
Gets the vertex nearest to the location of the (x,y) location selected, within a distance of maxDistance.V
RadiusGraphElementAccessor. getVertex(Layout<V,E> layout, double x, double y, double maxDistance)
Gets the vertex nearest to the location of the (x,y) location selected, within a distance ofmaxDistance
.java.util.Collection<V>
GraphElementAccessor. getVertices(Layout<V,E> layout, java.awt.Shape rectangle)
java.util.Collection<V>
RadiusGraphElementAccessor. getVertices(Layout<V,E> layout, java.awt.Shape rectangle)
void
AggregateLayout. put(Layout<V,E> layout, java.awt.geom.Point2D center)
Adds the passed layout as a sublayout, and specifies the center of where this sublayout should appear.void
AggregateLayout. remove(Layout<V,E> layout)
Removeslayout
from this instance.void
AggregateLayout. setDelegate(Layout<V,E> delegate)
void
LayoutDecorator. setDelegate(Layout<V,E> delegate)
Constructors in edu.uci.ics.jung.algorithms.layout with parameters of type Layout Constructor Description AggregateLayout(Layout<V,E> delegate)
Creates an instance backed by the specifieddelegate
.LayoutDecorator(Layout<V,E> delegate)
Creates an instance backed by the specifieddelegate
. -
Uses of Layout in edu.uci.ics.jung.visualization
Fields in edu.uci.ics.jung.visualization declared as Layout Modifier and Type Field Description protected Layout<V,E>
DefaultVisualizationModel. layout
the layout algorithm currently in useMethods in edu.uci.ics.jung.visualization that return Layout Modifier and Type Method Description Layout<V,E>
BasicVisualizationServer. getGraphLayout()
Layout<V,E>
DefaultVisualizationModel. getGraphLayout()
Returns the current graph layout.Layout<V,E>
VisualizationModel. getGraphLayout()
Layout<V,E>
VisualizationServer. getGraphLayout()
Methods in edu.uci.ics.jung.visualization with parameters of type Layout Modifier and Type Method Description void
BasicVisualizationServer. setGraphLayout(Layout<V,E> layout)
void
DefaultVisualizationModel. setGraphLayout(Layout<V,E> layout)
set the graph Layout and if it is not already initialized, initialize it to the default VisualizationViewer preferred size of 600x600void
DefaultVisualizationModel. setGraphLayout(Layout<V,E> layout, java.awt.Dimension viewSize)
Removes the current graph layout, and adds a new one.void
VisualizationModel. setGraphLayout(Layout<V,E> layout)
set the graph Layoutvoid
VisualizationModel. setGraphLayout(Layout<V,E> layout, java.awt.Dimension d)
Sets the graph Layout and initialize the Layout size to the passed dimensions.void
VisualizationServer. setGraphLayout(Layout<V,E> layout)
Replaces the current graph layout withlayout
.Constructors in edu.uci.ics.jung.visualization with parameters of type Layout Constructor Description BasicVisualizationServer(Layout<V,E> layout)
Create an instance with the specified Layout.BasicVisualizationServer(Layout<V,E> layout, java.awt.Dimension preferredSize)
Create an instance with the specified Layout and view dimension.DefaultVisualizationModel(Layout<V,E> layout)
DefaultVisualizationModel(Layout<V,E> layout, java.awt.Dimension d)
Create an instance with the specified layout and dimension.VisualizationImageServer(Layout<V,E> layout, java.awt.Dimension preferredSize)
Creates a new instance with the specified layout and preferred size.VisualizationViewer(Layout<V,E> layout)
VisualizationViewer(Layout<V,E> layout, java.awt.Dimension preferredSize)
-
Uses of Layout in edu.uci.ics.jung.visualization.layout
Subinterfaces of Layout in edu.uci.ics.jung.visualization.layout Modifier and Type Interface Description interface
PersistentLayout<V,E>
interface for PersistentLayout Also holds a nested class Point to serialize the Vertex locationsClasses in edu.uci.ics.jung.visualization.layout that implement Layout Modifier and Type Class Description class
CachingLayout<V,E>
A LayoutDecorator that caches locations in a clearable Map.class
ObservableCachingLayout<V,E>
A LayoutDecorator that fires ChangeEvents when certain methods are called.class
PersistentLayoutImpl<V,E>
Implementation of PersistentLayout.Fields in edu.uci.ics.jung.visualization.layout declared as Layout Modifier and Type Field Description protected Layout<V,E>
LayoutTransition. endLayout
protected Layout<V,E>
BoundingRectangleCollector. layout
protected Layout<V,E>
BoundingRectanglePaintable. layout
protected Layout<V,E>
LayoutTransition. startLayout
protected Layout<V,E>
LayoutTransition. transitionLayout
Constructors in edu.uci.ics.jung.visualization.layout with parameters of type Layout Constructor Description BoundingRectangleCollector(RenderContext<V,E> rc, Layout<V,E> layout)
BoundingRectanglePaintable(RenderContext<V,E> rc, Layout<V,E> layout)
CachingLayout(Layout<V,E> delegate)
LayoutTransition(VisualizationViewer<V,E> vv, Layout<V,E> startLayout, Layout<V,E> endLayout)
ObservableCachingLayout(Layout<V,E> delegate)
PersistentLayoutImpl(Layout<V,E> layout)
create an instance with a passed layout create containers for graph components -
Uses of Layout in edu.uci.ics.jung.visualization.picking
Methods in edu.uci.ics.jung.visualization.picking with parameters of type Layout Modifier and Type Method Description E
ClosestShapePickSupport. getEdge(Layout<V,E> layout, double x, double y)
E
LayoutLensShapePickSupport. getEdge(Layout<V,E> layout, double x, double y)
E
RadiusPickSupport. getEdge(Layout<V,E> layout, double x, double y)
Gets the edge nearest to the location of the (x,y) location selected.E
RadiusPickSupport. getEdge(Layout<V,E> layout, double x, double y, double maxDistance)
Gets the edge nearest to the location of the (x,y) location selected, within a distance of maxDistance, Iterates through all visible edges and checks their distance from the click.E
ShapePickSupport. getEdge(Layout<V,E> layout, double x, double y)
Returns an edge whose shape intersects the 'pickArea' footprint of the passed x,y, coordinates.E
ViewLensShapePickSupport. getEdge(Layout<V,E> layout, double x, double y)
protected java.util.Collection<E>
ShapePickSupport. getFilteredEdges(Layout<V,E> layout)
protected java.util.Collection<V>
ShapePickSupport. getFilteredVertices(Layout<V,E> layout)
V
ClosestShapePickSupport. getVertex(Layout<V,E> layout, double x, double y)
V
LayoutLensShapePickSupport. getVertex(Layout<V,E> layout, double x, double y)
V
RadiusPickSupport. getVertex(Layout<V,E> layout, double x, double y)
Gets the vertex nearest to the location of the (x,y) location selected, within a distance of maxDistance.V
RadiusPickSupport. getVertex(Layout<V,E> layout, double x, double y, double maxDistance)
Gets the vertex nearest to the location of the (x,y) location selected, within a distance of maxDistance.V
ShapePickSupport. getVertex(Layout<V,E> layout, double x, double y)
Returns the vertex, if any, whose shape contains (x, y).V
ViewLensShapePickSupport. getVertex(Layout<V,E> layout, double x, double y)
java.util.Collection<V>
ClosestShapePickSupport. getVertices(Layout<V,E> layout, java.awt.Shape rectangle)
java.util.Collection<V>
LayoutLensShapePickSupport. getVertices(Layout<V,E> layout, java.awt.Shape rectangle)
java.util.Collection<V>
ShapePickSupport. getVertices(Layout<V,E> layout, java.awt.Shape shape)
Returns the vertices whose layout coordinates are contained inShape
.java.util.Collection<V>
ViewLensShapePickSupport. getVertices(Layout<V,E> layout, java.awt.Shape rectangle)
-
Uses of Layout in edu.uci.ics.jung.visualization.renderers
Methods in edu.uci.ics.jung.visualization.renderers with parameters of type Layout Modifier and Type Method Description protected void
BasicEdgeRenderer. drawSimpleEdge(RenderContext<V,E> rc, Layout<V,E> layout, E e)
Draws the edgee
, whose endpoints are at(x1,y1)
and(x2,y2)
, on the graphics contextg
.protected void
CachingEdgeRenderer. drawSimpleEdge(RenderContext<V,E> rc, Layout<V,E> layout, E e)
Draws the edgee
, whose endpoints are at(x1,y1)
and(x2,y2)
, on the graphics contextg
.protected void
ReshapingEdgeRenderer. drawSimpleEdge(RenderContext<V,E> rc, Layout<V,E> layout, E e)
Draws the edgee
, whose endpoints are at(x1,y1)
and(x2,y2)
, on the graphics contextg
.void
BasicEdgeLabelRenderer. labelEdge(RenderContext<V,E> rc, Layout<V,E> layout, E e, java.lang.String label)
void
Renderer.EdgeLabel. labelEdge(RenderContext<V,E> rc, Layout<V,E> layout, E e, java.lang.String label)
void
Renderer.EdgeLabel.NOOP. labelEdge(RenderContext rc, Layout layout, java.lang.Object e, java.lang.String label)
void
BasicVertexLabelRenderer. labelVertex(RenderContext<V,E> rc, Layout<V,E> layout, V v, java.lang.String label)
Labels the specified vertex with the specified label.void
Renderer.VertexLabel. labelVertex(RenderContext<V,E> rc, Layout<V,E> layout, V v, java.lang.String label)
void
Renderer.VertexLabel.NOOP. labelVertex(RenderContext rc, Layout layout, java.lang.Object v, java.lang.String label)
void
VertexLabelAsShapeRenderer. labelVertex(RenderContext<V,E> rc, Layout<V,E> layout, V v, java.lang.String label)
Labels the specified vertex with the specified label.void
BasicEdgeRenderer. paintEdge(RenderContext<V,E> rc, Layout<V,E> layout, E e)
void
Renderer.Edge.NOOP. paintEdge(RenderContext rc, Layout layout, java.lang.Object e)
void
Renderer.Edge. paintEdge(RenderContext<V,E> rc, Layout<V,E> layout, E e)
protected void
BasicVertexRenderer. paintIconForVertex(RenderContext<V,E> rc, V v, Layout<V,E> layout)
Paintv
's icon ong
at(x,y)
.protected void
CachingVertexRenderer. paintIconForVertex(RenderContext<V,E> rc, V v, Layout<V,E> layout)
Paintv
's icon ong
at(x,y)
.void
BasicVertexRenderer. paintVertex(RenderContext<V,E> rc, Layout<V,E> layout, V v)
void
GradientVertexRenderer. paintVertex(RenderContext<V,E> rc, Layout<V,E> layout, V v)
void
Renderer.Vertex.NOOP. paintVertex(RenderContext rc, Layout layout, java.lang.Object v)
void
Renderer.Vertex. paintVertex(RenderContext<V,E> rc, Layout<V,E> layout, V v)
protected java.awt.Shape
BasicEdgeRenderer. prepareFinalEdgeShape(RenderContext<V,E> rc, Layout<V,E> layout, E e, int[] coords, boolean[] loop)
protected java.awt.Shape
BasicVertexRenderer. prepareFinalVertexShape(RenderContext<V,E> rc, V v, Layout<V,E> layout, int[] coords)
Returns the vertex shape in view coordinates.void
BasicRenderer. render(RenderContext<V,E> renderContext, Layout<V,E> layout)
void
Renderer. render(RenderContext<V,E> rc, Layout<V,E> layout)
void
BasicRenderer. renderEdge(RenderContext<V,E> rc, Layout<V,E> layout, E e)
void
Renderer. renderEdge(RenderContext<V,E> rc, Layout<V,E> layout, E e)
void
BasicRenderer. renderEdgeLabel(RenderContext<V,E> rc, Layout<V,E> layout, E e)
void
Renderer. renderEdgeLabel(RenderContext<V,E> rc, Layout<V,E> layout, E e)
void
BasicRenderer. renderVertex(RenderContext<V,E> rc, Layout<V,E> layout, V v)
void
Renderer. renderVertex(RenderContext<V,E> rc, Layout<V,E> layout, V v)
void
BasicRenderer. renderVertexLabel(RenderContext<V,E> rc, Layout<V,E> layout, V v)
void
Renderer. renderVertexLabel(RenderContext<V,E> rc, Layout<V,E> layout, V v)
-
Uses of Layout in edu.uci.ics.jung.visualization.spatial
Classes in edu.uci.ics.jung.visualization.spatial that implement Layout Modifier and Type Class Description class
FastRenderingLayout<V,E>
break into several rectangular areas, each of which will have a reference GraphFields in edu.uci.ics.jung.visualization.spatial declared as Layout Modifier and Type Field Description protected Layout<V,E>
FastRenderingGraph. layout
protected Layout<V,E>
FastRenderingLayout. layout
Constructors in edu.uci.ics.jung.visualization.spatial with parameters of type Layout Constructor Description FastRenderingLayout(Layout<V,E> layout)
-
Uses of Layout in edu.uci.ics.jung.visualization.subLayout
Methods in edu.uci.ics.jung.visualization.subLayout with parameters of type Layout Modifier and Type Method Description void
TreeCollapser. collapse(Layout layout, Forest tree, java.lang.Object subRoot)
-