|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface TableNavigationInterface
Defines an interface for navigating through a table. This will usually be implemented in tandem with the primary interface to tables, StaticTableInterface.
TableNavigationInterface is used by the NavigationBar component to provide quick and easy form building.
| Method Summary | |
|---|---|
abstract boolean |
commit()
Commits any changes to the current row to the table. |
abstract boolean |
delete()
Deletes the current row from the table. |
abstract boolean |
first()
Move to the first row (or observation). |
abstract boolean |
insert()
Prepares for a new record to be inserted into the table. |
abstract boolean |
isCommitSupported()
Determines whether the commit method can be called. |
abstract boolean |
isCursorValid()
Determines whether the current row position is valid |
abstract boolean |
isDeleteSupported()
Determines whether the delete method can be called. |
abstract boolean |
isFirstSupported()
Determines whether the first method can be called. |
abstract boolean |
isInsertSupported()
Determines whether the insert method can be called. |
abstract boolean |
isLastSupported()
Determines whether the last method can be called. |
abstract boolean |
isModified()
Determines whether the current row has been modified. |
abstract boolean |
isNextSupported()
Determines whether the next method can be called. |
abstract boolean |
isPreviousSupported()
Determines whether the previous method can be called. |
abstract boolean |
last()
Move to the last row (or observation). |
abstract boolean |
move(int row)
Moves to the absolute row number given (1-based) |
abstract boolean |
next()
Move to the next row (or observation). |
abstract boolean |
previous()
Move to the previous row (or observation). |
| Method Detail |
|---|
boolean previous()
Move to the previous row (or observation).
boolean next()
Move to the next row (or observation).
boolean first()
Move to the first row (or observation).
boolean last()
Move to the last row (or observation).
boolean insert()
Prepares for a new record to be inserted into the table.
boolean move(int row)
Moves to the absolute row number given (1-based)
row - 1-based row number
boolean commit()
Commits any changes to the current row to the table. This includes any updates or inserting a new row into the table.
boolean delete()
Deletes the current row from the table.
boolean isPreviousSupported()
Determines whether the previous method can be called.
boolean isNextSupported()
Determines whether the next method can be called.
boolean isFirstSupported()
Determines whether the first method can be called.
boolean isLastSupported()
Determines whether the last method can be called.
boolean isInsertSupported()
Determines whether the insert method can be called.
boolean isCommitSupported()
Determines whether the commit method can be called.
boolean isDeleteSupported()
Determines whether the delete method can be called.
boolean isModified()
Determines whether the current row has been modified.
boolean isCursorValid()
Determines whether the current row position is valid
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||