|
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 | |
---|---|
void |
firstRow()
Navigates to the first row. |
int |
getEndRow()
Returns the end row of the current segment of displayed rows. |
java.lang.String |
getFormName()
Gets the name of the form that is to be submitted when to gotoRow action is executed. |
int |
getRowCount()
Returns the number of rows. |
int |
getRowPageSize()
Returns the number of rows to display per page. |
int |
getStartRow()
Returns the start row of the current segment of displayed rows. |
void |
gotoRow(int row)
Navigates to the given row. |
boolean |
isFirstRowSupported()
Determines whether navigation to the first row is supported. |
boolean |
isGotoRowSupported()
Determines whether navigation to jump to a specified row is supported. |
boolean |
isLastRowSupported()
Determines whether navigation to the last row is supported. |
boolean |
isNextRowSupported()
Determines whether navigation to the next row is supported. |
boolean |
isPageBackwardRowsSupported()
Determines whether navigation back a page of rows is supported. |
boolean |
isPageForwardRowsSupported()
Determines whether navigation forward a page of rows is supported. |
boolean |
isPreviousRowSupported()
Determines whether navigation to the previous row is supported. |
void |
lastRow()
Navigates to the last row. |
void |
nextRow()
Navigates to the next row. |
void |
pageBackwardRows()
Navigates backward a page of rows. |
void |
pageForwardRows()
Navigates forward a page of rows. |
void |
previousRow()
Navigates to the previous row. |
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 |