|
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 | |
---|---|
boolean |
commit()
Commits any changes to the current row to the table. |
boolean |
delete()
Deletes the current row from the table. |
boolean |
first()
Move to the first row (or observation). |
boolean |
insert()
Prepares for a new record to be inserted into the table. |
boolean |
isCommitSupported()
Determines whether the commit method can be called. |
boolean |
isCursorValid()
Determines whether the current row position is valid |
boolean |
isDeleteSupported()
Determines whether the delete method can be called. |
boolean |
isFirstSupported()
Determines whether the first method can be called. |
boolean |
isInsertSupported()
Determines whether the insert method can be called. |
boolean |
isLastSupported()
Determines whether the last method can be called. |
boolean |
isModified()
Determines whether the current row has been modified. |
boolean |
isNextSupported()
Determines whether the next method can be called. |
boolean |
isPreviousSupported()
Determines whether the previous method can be called. |
boolean |
last()
Move to the last row (or observation). |
boolean |
move(int row)
Moves to the absolute row number given (1-based) |
boolean |
next()
Move to the next row (or observation). |
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 |