Class GradientVertexRenderer<V,E>
java.lang.Object
edu.uci.ics.jung.visualization.renderers.GradientVertexRenderer<V,E>
- Type Parameters:
V- the vertex typeV- the edge type
- All Implemented Interfaces:
Renderer.Vertex<V,E>
A renderer that will fill vertex shapes with a GradientPaint
-
Nested Class Summary
Nested classes/interfaces inherited from interface Renderer.Vertex
Renderer.Vertex.NOOP -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGradientVertexRenderer(Color colorOne, Color colorTwo, boolean cyclic) GradientVertexRenderer(Color colorOne, Color colorTwo, Color pickedColorOne, Color pickedColorTwo, PickedState<V> pickedState, boolean cyclic) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidpaintShapeForVertex(RenderContext<V, E> rc, V v, Shape shape) voidpaintVertex(RenderContext<V, E> rc, Layout<V, E> layout, V v) protected booleanvertexHit(RenderContext<V, E> rc, Shape s)
-
Field Details
-
Constructor Details
-
GradientVertexRenderer
-
GradientVertexRenderer
-
-
Method Details
-
paintVertex
- Specified by:
paintVertexin interfaceRenderer.Vertex<V,E>
-
vertexHit
-
paintShapeForVertex
-