|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.commons.iloader.node.DataChangeNotifier
public class DataChangeNotifier
A notifier object that is responsible for notifying listeners when the DataNode changes.
Constructor Summary | |
---|---|
DataChangeNotifier()
|
Method Summary | |
---|---|
void |
addDataChangeListener(DataChangeListener listener)
Adds a client as a listener. |
void |
notifyItemInserted(java.lang.Object object,
IMember member,
int position,
DataChangeListener exclude)
Notifies all listeners that an item was added to the collection (com.ibm.commons.iloader.node.DataChangeListener.ITEM_INSERTED). |
void |
notifyItemRemoved(java.lang.Object object,
IMember member,
int position,
DataChangeListener exclude)
Notifies all listeners that an item was removed from the collection (com.ibm.commons.iloader.node.DataChangeListener.ITEM_REMOVED). |
void |
notifyValueChanged(java.lang.Object object,
IMember member,
int position,
DataChangeListener exclude)
Notifies all listeners of a value changed event (com.ibm.commons.iloader.node.DataChangeListener.VALUE_CHANGED). |
void |
removeDataChangeListener(DataChangeListener listener)
Removes a client as a listener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataChangeNotifier()
Method Detail |
---|
public void notifyValueChanged(java.lang.Object object, IMember member, int position, DataChangeListener exclude)
object
- the element that changedmember
- the property that changedposition
- the position of the property that changedexclude
- a DataChangeListener that is not to be notified of the changepublic void notifyItemInserted(java.lang.Object object, IMember member, int position, DataChangeListener exclude)
object
- the element that changedmember
- the property that changedposition
- the position of the property that changedexclude
- a DataChangeListener that is not to be notified of the changepublic void notifyItemRemoved(java.lang.Object object, IMember member, int position, DataChangeListener exclude)
object
- the element that changedmember
- the property that changedposition
- the position of the property that changedexclude
- a DataChangeListener that is not to be notified of the changepublic void addDataChangeListener(DataChangeListener listener)
listener
- public void removeDataChangeListener(DataChangeListener listener)
listener
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |