nz.ac.waikato.modeljunit.gui.visualisaton
Class VertexGradientRenderer<V,E>
java.lang.Object
nz.ac.waikato.modeljunit.gui.visualisaton.VertexGradientRenderer<V,E>
- All Implemented Interfaces:
- edu.uci.ics.jung.visualization.renderers.Renderer.Vertex<V,E>
public class VertexGradientRenderer<V,E>
- extends java.lang.Object
- implements edu.uci.ics.jung.visualization.renderers.Renderer.Vertex<V,E>
- Author:
- Jerramy Winchester
Nested classes/interfaces inherited from interface edu.uci.ics.jung.visualization.renderers.Renderer.Vertex |
edu.uci.ics.jung.visualization.renderers.Renderer.Vertex.NOOP |
Constructor Summary |
VertexGradientRenderer(java.awt.Color backFillColor,
edu.uci.ics.jung.visualization.picking.PickedState<V> pickedState,
boolean cyclic)
|
Method Summary |
protected void |
paintShapeForVertex(edu.uci.ics.jung.visualization.RenderContext<V,E> rc,
V v,
java.awt.Shape shape)
|
void |
paintVertex(edu.uci.ics.jung.visualization.RenderContext<V,E> rc,
edu.uci.ics.jung.algorithms.layout.Layout<V,E> layout,
V v)
|
protected boolean |
vertexHit(edu.uci.ics.jung.visualization.RenderContext<V,E> rc,
java.awt.Shape s)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VertexGradientRenderer
public VertexGradientRenderer(java.awt.Color backFillColor,
edu.uci.ics.jung.visualization.picking.PickedState<V> pickedState,
boolean cyclic)
paintVertex
public void paintVertex(edu.uci.ics.jung.visualization.RenderContext<V,E> rc,
edu.uci.ics.jung.algorithms.layout.Layout<V,E> layout,
V v)
- Specified by:
paintVertex
in interface edu.uci.ics.jung.visualization.renderers.Renderer.Vertex<V,E>
vertexHit
protected boolean vertexHit(edu.uci.ics.jung.visualization.RenderContext<V,E> rc,
java.awt.Shape s)
paintShapeForVertex
protected void paintShapeForVertex(edu.uci.ics.jung.visualization.RenderContext<V,E> rc,
V v,
java.awt.Shape shape)
Copyright © 2009 ModelJUnit Project. All Rights Reserved.