|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DataNodeListener
Interface that may be used in order to get all the data node events. It handles the following events :
| Method Summary | |
|---|---|
void |
onCurrentChanged(DataNode source)
Notify the view that the node current data have changed. |
void |
onInvalidate(DataNode source)
Notify the view that the node data have completly changed. |
void |
onItemInserted(DataNode source,
int position)
Notify the view that one object have been inserted into the node. |
void |
onItemRemoved(DataNode source,
int position)
Notify the view that one object have been removed into the node. |
void |
onMetaDataChanged(DataNode source)
Notify the view that the node meta data have changed. |
void |
onModifiedChanged(DataNode source)
Notify the view that the modified flag has changed. |
void |
onReadOnlyChanged(DataNode source)
Notify the view that the readonly mode has changed. |
void |
onUserNotification(DataNode source,
java.lang.String key,
java.lang.Object param)
Genneralized notification message. |
void |
onValueChanged(DataNode source,
int record,
java.lang.Object object,
IAttribute attribute)
Notify the view that almost one property of the current object in the node have changed. |
void |
onValueChanged2(DataNode source,
int record,
java.lang.Object object,
IMember member)
|
| Method Detail |
|---|
void onMetaDataChanged(DataNode source)
void onModifiedChanged(DataNode source)
void onReadOnlyChanged(DataNode source)
void onInvalidate(DataNode source)
void onCurrentChanged(DataNode source)
void onValueChanged(DataNode source,
int record,
java.lang.Object object,
IAttribute attribute)
record - the record number that have been modifiedproperty - the changed property (can be null if more that one property
have changed
void onValueChanged2(DataNode source,
int record,
java.lang.Object object,
IMember member)
void onItemInserted(DataNode source,
int position)
position - the position where the item has been insertedbookmark - the bookmark of the inserted item
void onItemRemoved(DataNode source,
int position)
position - the position of the removed itembookmark - the bookmark of the removed item
void onUserNotification(DataNode source,
java.lang.String key,
java.lang.Object param)
key - the user defined keyparam - the user defined param (may be null!)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||