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

Class PickableEdgePaintTransformer<E>

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


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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.awt.Paint apply(E e) 
      • 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

      • PickableEdgePaintTransformer

        public PickableEdgePaintTransformer(PickedInfo<E> pi,
                                            java.awt.Paint draw_paint,
                                            java.awt.Paint picked_paint)
        Parameters:
        pi - specifies which vertices report as "picked"
        draw_paint - Paint used to draw edge shapes
        picked_paint - Paint used to draw picked edge shapes
    • Method Detail

      • apply

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

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.