Class PluggableRendererDemo.VertexStrokeHighlight<V,E>

java.lang.Object
edu.uci.ics.jung.samples.PluggableRendererDemo.VertexStrokeHighlight<V,E>
All Implemented Interfaces:
com.google.common.base.Function<V,Stroke>, Function<V,Stroke>
Enclosing class:
PluggableRendererDemo

private static final class PluggableRendererDemo.VertexStrokeHighlight<V,E> extends Object implements com.google.common.base.Function<V,Stroke>
  • Field Details

    • highlight

      protected boolean highlight
    • heavy

      protected Stroke heavy
    • medium

      protected Stroke medium
    • light

      protected Stroke light
    • pi

      protected PickedInfo<V> pi
    • graph

      protected Graph<V,E> graph
  • Constructor Details

    • VertexStrokeHighlight

      public VertexStrokeHighlight(Graph<V,E> graph, PickedInfo<V> pi)
  • Method Details

    • setHighlight

      public void setHighlight(boolean highlight)
    • apply

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