org.salespointframework.desktop
Class JListView.ListSelectionDisptacher

java.lang.Object
  extended by org.salespointframework.desktop.JListView.ListSelectionDisptacher
All Implemented Interfaces:
java.util.EventListener, javax.swing.event.ListSelectionListener
Enclosing class:
JListView

private static class JListView.ListSelectionDisptacher
extends java.lang.Object
implements javax.swing.event.ListSelectionListener

dispatches selection changed events to selection observers

Since:
4.0
Author:
Thomas Kissinger

Field Summary
(package private)  javax.swing.JList host
           
(package private)  java.util.List<int[]> listeners
           
 
Constructor Summary
JListView.ListSelectionDisptacher(javax.swing.JList host)
           
 
Method Summary
 boolean addSelectionObserver(int[] observer)
           
 void removeSelectionObserver(int[] observer)
           
 void valueChanged(javax.swing.event.ListSelectionEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

listeners

java.util.List<int[]> listeners

host

javax.swing.JList host
Constructor Detail

JListView.ListSelectionDisptacher

public JListView.ListSelectionDisptacher(javax.swing.JList host)
Method Detail

addSelectionObserver

public boolean addSelectionObserver(int[] observer)

removeSelectionObserver

public void removeSelectionObserver(int[] observer)

valueChanged

public void valueChanged(javax.swing.event.ListSelectionEvent e)
Specified by:
valueChanged in interface javax.swing.event.ListSelectionListener