com.guigarage.jgrid.eventproxies
Class ListDataProxy

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

public class ListDataProxy
extends Object
implements ListDataListener

Proxyclass for ListDataListeners. All ListDataEvent posted to an instance will transmited to the ListDataListeners registered at the proxy.

Author:
hendrikebbers

Constructor Summary
ListDataProxy()
           
 
Method Summary
 void addListDataListener(ListDataListener l)
          Registers a ListDataListener to the proxy
 void contentsChanged(ListDataEvent e)
           
 void intervalAdded(ListDataEvent e)
           
 void intervalRemoved(ListDataEvent e)
           
 void removeListDataListener(ListDataListener l)
          Deregisters a ListDataListener to the proxy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListDataProxy

public ListDataProxy()
Method Detail

addListDataListener

public void addListDataListener(ListDataListener l)
Registers a ListDataListener to the proxy

Parameters:
l - the ListDataListener to register

removeListDataListener

public void removeListDataListener(ListDataListener l)
Deregisters a ListDataListener to the proxy

Parameters:
l - the ListDataListener to deregister

intervalAdded

public void intervalAdded(ListDataEvent e)
Specified by:
intervalAdded in interface ListDataListener

intervalRemoved

public void intervalRemoved(ListDataEvent e)
Specified by:
intervalRemoved in interface ListDataListener

contentsChanged

public void contentsChanged(ListDataEvent e)
Specified by:
contentsChanged in interface ListDataListener


Copyright © 2012. All Rights Reserved.