Class VertexImageShaperDemo.PickWithIconListener<V>

  • All Implemented Interfaces:
    java.awt.event.ItemListener, java.util.EventListener
    Enclosing class:
    VertexImageShaperDemo

    public static class VertexImageShaperDemo.PickWithIconListener<V>
    extends java.lang.Object
    implements java.awt.event.ItemListener
    When Vertices are picked, add a checkmark icon to the imager. Remove the icon when a Vertex is unpicked
    • Constructor Summary

      Constructors 
      Constructor Description
      PickWithIconListener​(edu.uci.ics.jung.visualization.decorators.DefaultVertexIconTransformer<V> imager)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void itemStateChanged​(java.awt.event.ItemEvent e)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PickWithIconListener

        public PickWithIconListener​(edu.uci.ics.jung.visualization.decorators.DefaultVertexIconTransformer<V> imager)
    • Method Detail

      • itemStateChanged

        public void itemStateChanged​(java.awt.event.ItemEvent e)
        Specified by:
        itemStateChanged in interface java.awt.event.ItemListener