Documentation of 'edu.uci.ics.jung.visualization.decorators.PickableVertexPaintTransformer' Java class
PickableVertexPaintTransformer
edu.uci.ics.jung.visualization.decorators

Class PickableVertexPaintTransformer<V>

  • All Implemented Interfaces:
    com.google.common.base.Function<V,java.awt.Paint>


    public class PickableVertexPaintTransformer<V>
    extends java.lang.Object
    implements com.google.common.base.Function<V,java.awt.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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.awt.Paint apply(V v) 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.google.common.base.Function

        equals
    • Constructor Detail

      • PickableVertexPaintTransformer

        public PickableVertexPaintTransformer(PickedInfo<V> pi,
                                              java.awt.Paint fill_paint,
                                              java.awt.Paint picked_paint)
        Parameters:
        pi - specifies which vertices report as "picked"
        fill_paint - Paint used to fill vertex shapes
        picked_paint - Paint used to fill picked vertex shapes
    • Method Detail

      • apply

        public java.awt.Paint apply(V v)
        Specified by:
        apply in interface com.google.common.base.Function<V,java.awt.Paint>

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.