public class WeakDsListenerAdapter extends java.lang.Object implements Datasource.ItemPropertyChangeListener, Datasource.StateChangeListener, CollectionDatasource.CollectionChangeListener
Constructor and Description |
---|
WeakDsListenerAdapter(CollectionDatasource datasource,
Datasource.ItemPropertyChangeListener itemPropertyChangeListener,
Datasource.StateChangeListener stateChangeListener,
CollectionDatasource.CollectionChangeListener collectionChangeListener) |
Modifier and Type | Method and Description |
---|---|
void |
collectionChanged(CollectionDatasource.CollectionChangeEvent e)
Enclosed collection changed.
|
void |
itemPropertyChanged(Datasource.ItemPropertyChangeEvent e)
Property value of some datasource item changed.
|
void |
stateChanged(Datasource.StateChangeEvent e)
Datasource state changed.
|
public WeakDsListenerAdapter(CollectionDatasource datasource, Datasource.ItemPropertyChangeListener itemPropertyChangeListener, Datasource.StateChangeListener stateChangeListener, CollectionDatasource.CollectionChangeListener collectionChangeListener)
public void collectionChanged(CollectionDatasource.CollectionChangeEvent e)
CollectionDatasource.CollectionChangeListener
collectionChanged
in interface CollectionDatasource.CollectionChangeListener
public void itemPropertyChanged(Datasource.ItemPropertyChangeEvent e)
Datasource.ItemPropertyChangeListener
CollectionDatasource
this method may be
called for any item of collection if its property value changed.itemPropertyChanged
in interface Datasource.ItemPropertyChangeListener
public void stateChanged(Datasource.StateChangeEvent e)
Datasource.StateChangeListener
stateChanged
in interface Datasource.StateChangeListener