|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ColumnNavigationInterface
Defines the interface to be implemented by a TranformationBean which will use a NavigationBar to navigate through the columns of the TranformationBean's model. For example, a TableView TranformationBean's model contains columns. So a TableView TranformationBean should implement this interface to allow column navigation through its model.
A page is the current set of columns from startColumn to endColumn that will be displayed. The columnPageSize determines how many columns to display. So endColumn minus startColumn should equal columnPageSize.
Method Summary | |
---|---|
void |
firstColumn()
Navigates to the first column. |
int |
getColumnCount()
Returns the number of columns. |
int |
getColumnPageSize()
Returns the number of columns to display per page. |
int |
getEndColumn()
Returns the end column of the current page of displayed columns. |
java.lang.String |
getFormName()
Gets the name of the form that is to be submitted when to gotoColumn action is executed. |
int |
getStartColumn()
Returns the start column of the current page of displayed columns. |
void |
gotoColumn(int column)
Navigates to the given column. |
boolean |
isFirstColumnSupported()
Determines whether navigation to the first column is supported. |
boolean |
isGotoColumnSupported()
Determines whether navigation to jump to a specified column is supported. |
boolean |
isLastColumnSupported()
Determines whether navigation to the last column is supported. |
boolean |
isNextColumnSupported()
Determines whether navigation to the next column is supported. |
boolean |
isPageBackwardColumnsSupported()
Determines whether navigation back a page of columns is supported. |
boolean |
isPageForwardColumnsSupported()
Determines whether navigation forward a page of columns is supported. |
boolean |
isPreviousColumnSupported()
Determines whether navigation to the previous column is supported. |
void |
lastColumn()
Navigates to the last column. |
void |
nextColumn()
Navigates to the next column. |
void |
pageBackwardColumns()
Navigates backward a page of columns. |
void |
pageForwardColumns()
Navigates forward a page of columns. |
void |
previousColumn()
Navigates to the previous column. |
void |
setColumnPageSize(int size)
Sets the number of columns to display per page. |
Methods inherited from interface com.sas.actionprovider.URLTemplateViewInterface |
---|
getURLTemplate, setURLTemplate |
Method Detail |
---|
boolean isFirstColumnSupported()
firstColumn()
boolean isPageBackwardColumnsSupported()
pageBackwardColumns()
boolean isPreviousColumnSupported()
previousColumn()
boolean isNextColumnSupported()
nextColumn()
boolean isPageForwardColumnsSupported()
pageForwardColumns()
boolean isLastColumnSupported()
lastColumn()
boolean isGotoColumnSupported()
gotoColumn(int)
void firstColumn()
java.lang.UnsupportedOperationException
- Thrown if
isFirstColumnSupported() returns falseisFirstColumnSupported()
void pageBackwardColumns()
java.lang.UnsupportedOperationException
- Thrown if
isPageBackwardColumnsSupported() returns falseisPageBackwardColumnsSupported()
void previousColumn()
java.lang.UnsupportedOperationException
- Thrown if
isPreviousColumnSupported() returns falseisPreviousColumnSupported()
void nextColumn()
java.lang.UnsupportedOperationException
- Thrown if
isNextColumnSupported() returns falseisNextColumnSupported()
void pageForwardColumns()
java.lang.UnsupportedOperationException
- Thrown if
isPageForwardColumnsSupported() returns falseisPageForwardColumnsSupported()
void lastColumn()
java.lang.UnsupportedOperationException
- Thrown if
isLastColumnSupported() returns falseisLastColumnSupported()
void gotoColumn(int column)
column
- the column index
java.lang.UnsupportedOperationException
- Thrown if
isGotoColumnSupported() returns falseisGotoColumnSupported()
int getStartColumn()
int getEndColumn()
int getColumnCount()
int getColumnPageSize()
void setColumnPageSize(int size)
size
- the number of columns to display per pagejava.lang.String getFormName()
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |