edu.uci.ics.jung.samples
Class PluggableRendererDemo.GradientPickedEdgePaintFunction<V,E>
java.lang.Object
edu.uci.ics.jung.visualization.decorators.GradientEdgePaintTransformer<V,E>
edu.uci.ics.jung.samples.PluggableRendererDemo.GradientPickedEdgePaintFunction<V,E>
- All Implemented Interfaces:
- org.apache.commons.collections15.Transformer<E,Paint>
- Enclosing class:
- PluggableRendererDemo
public class PluggableRendererDemo.GradientPickedEdgePaintFunction<V,E>
- extends GradientEdgePaintTransformer<V,E>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fill_edge
protected boolean fill_edge
PluggableRendererDemo.GradientPickedEdgePaintFunction
public PluggableRendererDemo.GradientPickedEdgePaintFunction(org.apache.commons.collections15.Transformer<E,Paint> defaultEdgePaintFunction,
VisualizationViewer<V,E> vv)
useFill
public void useFill(boolean b)
transform
public Paint transform(E e)
- Specified by:
transform
in interface org.apache.commons.collections15.Transformer<E,Paint>
- Overrides:
transform
in class GradientEdgePaintTransformer<V,E>
getColor2
protected Color getColor2(E e)
- Description copied from class:
GradientEdgePaintTransformer
- Returns
c2
. Subclasses may override
this method to enable more complex behavior (e.g., for
picked edges).
- Overrides:
getColor2
in class GradientEdgePaintTransformer<V,E>
Copyright © 2009. All Rights Reserved.