|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.commons.iloader.node.DataNodeAdapter
public class DataNodeAdapter
The DataNode adapter is empty implementation of the DataNodeListener interface. May be used when a client wants a default implementation for each method.
DataNodeListener
Constructor Summary | |
---|---|
DataNodeAdapter()
|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataNodeAdapter()
Method Detail |
---|
public void onValueChanged2(DataNode source, int record, java.lang.Object object, IMember member)
onValueChanged2
in interface DataNodeListener
public void onMetaDataChanged(DataNode source)
DataNodeListener
onMetaDataChanged
in interface DataNodeListener
public void onModifiedChanged(DataNode source)
DataNodeListener
onModifiedChanged
in interface DataNodeListener
public void onReadOnlyChanged(DataNode source)
DataNodeListener
onReadOnlyChanged
in interface DataNodeListener
public void onInvalidate(DataNode source)
DataNodeListener
onInvalidate
in interface DataNodeListener
public void onCurrentChanged(DataNode source)
DataNodeListener
onCurrentChanged
in interface DataNodeListener
public void onValueChanged(DataNode source, int record, java.lang.Object object, IAttribute attribute)
DataNodeListener
onValueChanged
in interface DataNodeListener
record
- the record number that have been modifiedpublic void onItemInserted(DataNode source, int position)
DataNodeListener
onItemInserted
in interface DataNodeListener
position
- the position where the item has been insertedpublic void onItemRemoved(DataNode source, int position)
DataNodeListener
onItemRemoved
in interface DataNodeListener
position
- the position of the removed itempublic void onUserNotification(DataNode source, java.lang.String key, java.lang.Object param)
DataNodeListener
onUserNotification
in interface DataNodeListener
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 |