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

Class PickableVertexIconTransformer<V>

  • All Implemented Interfaces:
    com.google.common.base.Function<V,javax.swing.Icon>


    public class PickableVertexIconTransformer<V>
    extends java.lang.Object
    implements com.google.common.base.Function<V,javax.swing.Icon>
    Supplies an Icon for each vertex according to the Icon 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
      javax.swing.Icon apply(V v)
      Returns the appropriate Icon, depending on picked state.
      • 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

      • PickableVertexIconTransformer

        public PickableVertexIconTransformer(PickedInfo<V> pi,
                                             javax.swing.Icon icon,
                                             javax.swing.Icon picked_icon)
        Parameters:
        pi - specifies which vertices report as "picked"
        icon - Icon used to represent vertices
        picked_icon - Icon used to represent picked vertices
    • Method Detail

      • apply

        public javax.swing.Icon apply(V v)
        Returns the appropriate Icon, depending on picked state.
        Specified by:
        apply in interface com.google.common.base.Function<V,javax.swing.Icon>

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.