edu.uci.ics.jung.visualization.decorators
Class PickableEdgePaintTransformer<E>
java.lang.Object
edu.uci.ics.jung.visualization.decorators.PickableEdgePaintTransformer<E>
- All Implemented Interfaces:
- org.apache.commons.collections15.Transformer<E,Paint>
public class PickableEdgePaintTransformer<E>
- extends Object
- implements org.apache.commons.collections15.Transformer<E,Paint>
Paints each edge according to the Paint
parameters given in the constructor, so that picked and
non-picked edges can be made to look different.
- Author:
- Tom Nelson, Joshua O'Madadhain
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pi
protected PickedInfo<E> pi
draw_paint
protected Paint draw_paint
picked_paint
protected Paint picked_paint
PickableEdgePaintTransformer
public PickableEdgePaintTransformer(PickedInfo<E> pi,
Paint draw_paint,
Paint picked_paint)
- Parameters:
pi
- specifies which vertices report as "picked"draw_paint
- Paint
used to draw edge shapespicked_paint
- Paint
used to draw picked edge shapes
transform
public Paint transform(E e)
- Specified by:
transform
in interface org.apache.commons.collections15.Transformer<E,Paint>
Copyright © 2009. All Rights Reserved.