|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.data.provider.DataAdapter
com.sun.data.provider.TableDataAdapter
public class TableDataAdapter
TableDataAdapter is an event listener adapter that provides a base
implementation of TableDataListener.
| Constructor Summary | |
|---|---|
TableDataAdapter()
|
|
| Method Summary | |
|---|---|
void |
rowAdded(TableDataProvider provider,
RowKey rowKey)
A new row has been added to the |
void |
rowRemoved(TableDataProvider provider,
RowKey rowKey)
An row has been removed from the |
void |
valueChanged(TableDataProvider provider,
FieldKey fieldKey,
RowKey rowKey,
java.lang.Object oldValue,
java.lang.Object newValue)
Process an event indicating that a data element's value has been changed for the specified row. |
| Methods inherited from class com.sun.data.provider.DataAdapter |
|---|
providerChanged, valueChanged |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.sun.data.provider.DataListener |
|---|
providerChanged, valueChanged |
| Constructor Detail |
|---|
public TableDataAdapter()
| Method Detail |
|---|
public void valueChanged(TableDataProvider provider,
FieldKey fieldKey,
RowKey rowKey,
java.lang.Object oldValue,
java.lang.Object newValue)
Process an event indicating that a data element's value has been changed for the specified row.
valueChanged in interface TableDataListenerprovider - TableDataProvider containing the data
element that has had a value changefieldKey - FieldKey representing the specific data
element that has had a value changerowKey - RowKey for the row whose data element value
has been changedoldValue - The old value of this data elementnewValue - The new value of this data element
public void rowAdded(TableDataProvider provider,
RowKey rowKey)
A new row has been added to the TableDataProvider.
rowAdded in interface TableDataListenerprovider - TableDataProvider that added an rowrowKey - The newly added row
public void rowRemoved(TableDataProvider provider,
RowKey rowKey)
An row has been removed from the TableDataProvider.
rowRemoved in interface TableDataListenerprovider - TableDataProvider that removed an rowrowKey - The recently removed row
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||