com.guigarage.jgrid.eventproxies
Class ListSelectionProxy

java.lang.Object
  extended by com.guigarage.jgrid.eventproxies.ListSelectionProxy
All Implemented Interfaces:
EventListener, ListSelectionListener

public class ListSelectionProxy
extends Object
implements ListSelectionListener

Proxyclass for ListSelectionListeners. All ListSelectionEvents posted to an instance will transmited to the ListSelectionListeners registered at the proxy.

Author:
hendrikebbers

Constructor Summary
ListSelectionProxy()
           
 
Method Summary
 void addListSelectionListener(ListSelectionListener l)
          Registers a ListSelectionListener to the proxy
 void removeListSelectionListener(ListSelectionListener l)
          Deregisters a ListSelectionListener to the proxy
 void valueChanged(ListSelectionEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListSelectionProxy

public ListSelectionProxy()
Method Detail

addListSelectionListener

public void addListSelectionListener(ListSelectionListener l)
Registers a ListSelectionListener to the proxy

Parameters:
l - the ListSelectionListener to register

removeListSelectionListener

public void removeListSelectionListener(ListSelectionListener l)
Deregisters a ListSelectionListener to the proxy

Parameters:
l - the ListSelectionListener to deregister

valueChanged

public void valueChanged(ListSelectionEvent e)
Specified by:
valueChanged in interface ListSelectionListener


Copyright © 2012. All Rights Reserved.