|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.data.provider.DataAdapter
DataAdapter is an event listener adapter that provides a base
implementation of DataListener
.
Constructor Summary | |
DataAdapter()
|
Method Summary | |
void |
providerChanged(DataProvider provider)
Process an event indicating that the DataProvider has changed in a way outside the bounds of the other event methods. |
void |
valueChanged(DataProvider provider,
FieldKey fieldKey,
java.lang.Object oldValue,
java.lang.Object newValue)
Process an event indicating that a data element's value has been changed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DataAdapter()
Method Detail |
public void valueChanged(DataProvider provider, FieldKey fieldKey, java.lang.Object oldValue, java.lang.Object newValue)
Process an event indicating that a data element's value has been changed.
valueChanged
in interface DataListener
provider
- DataProvider
containing the data element
that has had a value changefieldKey
- FieldKey
representing the specific
data element that has had a value changeoldValue
- The old value of this data elementnewValue
- The new value of this data elementpublic void providerChanged(DataProvider provider)
Process an event indicating that the DataProvider has changed in a way outside the bounds of the other event methods.
providerChanged
in interface DataListener
provider
- The DataProvider that has changed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |