Package org.jungrapht.samples
Class VertexImageShaperDemo.PickWithIconListener<V>
- java.lang.Object
-
- org.jungrapht.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 selected, add a checkmark icon to the imager. Remove the icon when a Vertex is unpicked- Author:
- Tom Nelson
-
-
Constructor Summary
Constructors Constructor Description PickWithIconListener(Function<V,Icon> imager)
-
-
-
Method Detail
-
itemStateChanged
public void itemStateChanged(ItemEvent e)
- Specified by:
itemStateChanged
in interfaceItemListener
-
-