Class PickableVertexPaintTransformer<V>
java.lang.Object
edu.uci.ics.jung.visualization.decorators.PickableVertexPaintTransformer<V>
public class PickableVertexPaintTransformer<V>
extends Object
implements com.google.common.base.Function<V,Paint>
Paints each vertex according to the
Paint
parameters given in the constructor, so that picked and
non-picked vertices can be made to look different.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPickableVertexPaintTransformer
(PickedInfo<V> pi, Paint fill_paint, Paint picked_paint) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.common.base.Function
equals
-
Field Details
-
fill_paint
-
picked_paint
-
pi
-
-
Constructor Details
-
PickableVertexPaintTransformer
- Parameters:
pi
- specifies which vertices report as "picked"fill_paint
-Paint
used to fill vertex shapespicked_paint
-Paint
used to fill picked vertex shapes
-
-
Method Details