|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.data.provider.TableCursorAdapter
TableCursorAdapter is an event listener adapter that provides a base
implementation of TableCursorListener
.
Constructor Summary | |
TableCursorAdapter()
|
Method Summary | |
void |
cursorChanged(TableDataProvider provider,
RowKey oldRow,
RowKey newRow)
Process an event indicating that the current cursor row of the
specified |
void |
cursorChanging(TableDataProvider provider,
RowKey oldRow,
RowKey newRow)
Process an event indicating that the current cursor row of the
specified |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TableCursorAdapter()
Method Detail |
public void cursorChanging(TableDataProvider provider, RowKey oldRow, RowKey newRow) throws TableCursorVetoException
Process an event indicating that the current cursor row of the
specified TableDataProvider
is changing. If an exception
is thrown be an event handler, the cursor change will be vetoed.
cursorChanging
in interface TableCursorListener
provider
- TableDataProvider
whose cursor row is changingoldRow
- The old cursor row keynewRow
- The new cursor row key
TableCursorVetoException
- a cursor veto exception explicitly vetos
the cursor changepublic void cursorChanged(TableDataProvider provider, RowKey oldRow, RowKey newRow)
Process an event indicating that the current cursor row of the
specified TableDataProvider
has been successfully changed.
cursorChanged
in interface TableCursorListener
provider
- TableDataProvider
whose cursor row index
has successfully changedoldRow
- The old cursor row keynewRow
- The new cursor row key
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |