|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface RowNavigationInterface
Defines the interface to be implemented by a TranformationBean which will use a NavigationBar to navigate through the rows of the TranformationBean's model. For example, a TableView TranformationBean's model contains rows. So a TableView TranformationBean should implement this interface to allow row navigation through its model.
A page is the current set of rows from startRow to endRow that will be displayed. The rowPageSize determines how many rows to display. So endRow minus startRow should equal rowPageSize.
| Method Summary | |
|---|---|
abstract void |
firstRow()
Navigates to the first row. |
abstract int |
getEndRow()
Returns the end row of the current segment of displayed rows. |
abstract java.lang.String |
getFormName()
Gets the name of the form that is to be submitted when to gotoRow action is executed. |
abstract int |
getRowCount()
Returns the number of rows. |
abstract int |
getRowPageSize()
Returns the number of rows to display per page. |
abstract int |
getStartRow()
Returns the start row of the current segment of displayed rows. |
abstract void |
gotoRow(int row)
Navigates to the given row. |
abstract boolean |
isFirstRowSupported()
Determines whether navigation to the first row is supported. |
abstract boolean |
isGotoRowSupported()
Determines whether navigation to jump to a specified row is supported. |
abstract boolean |
isLastRowSupported()
Determines whether navigation to the last row is supported. |
abstract boolean |
isNextRowSupported()
Determines whether navigation to the next row is supported. |
abstract boolean |
isPageBackwardRowsSupported()
Determines whether navigation back a page of rows is supported. |
abstract boolean |
isPageForwardRowsSupported()
Determines whether navigation forward a page of rows is supported. |
abstract boolean |
isPreviousRowSupported()
Determines whether navigation to the previous row is supported. |
abstract void |
lastRow()
Navigates to the last row. |
abstract void |
nextRow()
Navigates to the next row. |
abstract void |
pageBackwardRows()
Navigates backward a page of rows. |
abstract void |
pageForwardRows()
Navigates forward a page of rows. |
abstract void |
previousRow()
Navigates to the previous row. |
abstract void |
setRowPageSize(int size)
Sets the number of rows to display per page. |
| Methods inherited from interface com.sas.actionprovider.URLTemplateViewInterface |
|---|
getURLTemplate, setURLTemplate |
| Methods inherited from interface com.sas.table.AccurateRowCountInterface |
|---|
isAccurateRowCountAvailable |
| Method Detail |
|---|
boolean isFirstRowSupported()
firstRow()boolean isPageBackwardRowsSupported()
pageBackwardRows()boolean isPreviousRowSupported()
previousRow()boolean isNextRowSupported()
nextRow()boolean isPageForwardRowsSupported()
pageForwardRows()boolean isLastRowSupported()
lastRow()boolean isGotoRowSupported()
gotoRow(int)void firstRow()
java.lang.UnsupportedOperationException - Thrown if
isFirstRowSupported() returns falseisFirstRowSupported()void pageBackwardRows()
java.lang.UnsupportedOperationException - Thrown if
isPageBackwardRowsSupported() returns falseisPageBackwardRowsSupported()void previousRow()
java.lang.UnsupportedOperationException - Thrown if
isPreviousRowSupported() returns falseisPreviousRowSupported()void nextRow()
java.lang.UnsupportedOperationException - Thrown if
isNextRowSupported() returns falseisNextRowSupported()void pageForwardRows()
java.lang.UnsupportedOperationException - Thrown if
isPageForwardRowsSupported() returns falseisPageForwardRowsSupported()void lastRow()
java.lang.UnsupportedOperationException - Thrown if
isLastRowSupported() returns falseisLastRowSupported()void gotoRow(int row)
row - the row index
java.lang.UnsupportedOperationException - Thrown if
isGotoRowSupported() returns falseisGotoRowSupported()int getStartRow()
int getEndRow()
int getRowCount()
int getRowPageSize()
void setRowPageSize(int size)
size - the number of rows to display per pagejava.lang.String getFormName()
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||