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

Class GradientEdgePaintTransformer<V,E>

  • All Implemented Interfaces:
    com.google.common.base.Function<E,java.awt.Paint>
    Direct Known Subclasses:
    PluggableRendererDemo.GradientPickedEdgePaintFunction


    public class GradientEdgePaintTransformer<V,E>
    extends java.lang.Object
    implements com.google.common.base.Function<E,java.awt.Paint>
    Creates GradientPaint instances which can be used to paint an Edge. For DirectedEdges, the color will blend from c1 (source) to c2 (destination); for UndirectedEdges, the color will be c1 at each end and c2 in the middle.
    • 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

      • GradientEdgePaintTransformer

        public GradientEdgePaintTransformer(java.awt.Color c1,
                                            java.awt.Color c2,
                                            VisualizationViewer<V,E> vv)
    • 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.