|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
TableCursorListener is an event listener interface that supports
processing cursor movement events produced by a corresponding
TableDataProvider
instance.
Method Summary | |
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. |
void |
cursorChanging(TableDataProvider provider,
RowKey oldRow,
RowKey newRow)
Process an event indicating that the current cursor row of the specified TableDataProvider is changing. |
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.
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.
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 |