edu.uci.ics.jung.samples
Class VertexImageShaperDemo.PickWithIconListener<V>

java.lang.Object
  extended by edu.uci.ics.jung.samples.VertexImageShaperDemo.PickWithIconListener<V>
All Implemented Interfaces:
ItemListener, EventListener
Enclosing class:
VertexImageShaperDemo

public static class VertexImageShaperDemo.PickWithIconListener<V>
extends Object
implements ItemListener

When Vertices are picked, add a checkmark icon to the imager. Remove the icon when a Vertex is unpicked

Author:
Tom Nelson

Constructor Summary
VertexImageShaperDemo.PickWithIconListener(DefaultVertexIconTransformer<V> imager)
           
 
Method Summary
 void itemStateChanged(ItemEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VertexImageShaperDemo.PickWithIconListener

public VertexImageShaperDemo.PickWithIconListener(DefaultVertexIconTransformer<V> imager)
Method Detail

itemStateChanged

public void itemStateChanged(ItemEvent e)
Specified by:
itemStateChanged in interface ItemListener


Copyright © 2009. All Rights Reserved.