public class CollectionDsActionsNotifier extends java.lang.Object implements Datasource.ItemChangeListener, Datasource.ItemPropertyChangeListener, Datasource.StateChangeListener, CollectionDatasource.CollectionChangeListener
| Constructor and Description |
|---|
CollectionDsActionsNotifier(Component.ActionsHolder actionsHolder) |
| Modifier and Type | Method and Description |
|---|---|
void |
bind(CollectionDatasource ds) |
void |
collectionChanged(CollectionDatasource.CollectionChangeEvent e)
Enclosed collection changed.
|
void |
itemChanged(Datasource.ItemChangeEvent e)
Current item changed, that is now
Datasource.getItem() returns a different
instance. |
void |
itemPropertyChanged(Datasource.ItemPropertyChangeEvent e)
Property value of some datasource item changed.
|
void |
stateChanged(Datasource.StateChangeEvent e)
Datasource state changed.
|
public CollectionDsActionsNotifier(Component.ActionsHolder actionsHolder)
public void collectionChanged(CollectionDatasource.CollectionChangeEvent e)
CollectionDatasource.CollectionChangeListenercollectionChanged in interface CollectionDatasource.CollectionChangeListenerpublic void itemChanged(Datasource.ItemChangeEvent e)
Datasource.ItemChangeListenerDatasource.getItem() returns a different
instance.itemChanged in interface Datasource.ItemChangeListenerpublic void itemPropertyChanged(Datasource.ItemPropertyChangeEvent e)
Datasource.ItemPropertyChangeListenerCollectionDatasource this method may be
called for any item of collection if its property value changed.itemPropertyChanged in interface Datasource.ItemPropertyChangeListenerpublic void stateChanged(Datasource.StateChangeEvent e)
Datasource.StateChangeListenerstateChanged in interface Datasource.StateChangeListenerpublic void bind(CollectionDatasource ds)