samples.graph
Class VertexImageShaperDemo.PickWithIconListener

java.lang.Object
  extended by samples.graph.VertexImageShaperDemo.PickWithIconListener
All Implemented Interfaces:
ItemListener, EventListener
Enclosing class:
VertexImageShaperDemo

public static class VertexImageShaperDemo.PickWithIconListener
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 - RABA Technologies

Constructor Summary
VertexImageShaperDemo.PickWithIconListener(DefaultVertexIconFunction 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(DefaultVertexIconFunction imager)
Method Detail

itemStateChanged

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