|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.dataselectors.sort.BaseSortSelectorAdapter
@SASScope(value="ALL") public class BaseSortSelectorAdapter
The SortSelectorInterface defines the basic methods required for the model of a RelationalSortSelector.
| Field Summary |
|---|
| Fields inherited from interface com.sas.util.SortDirectionInterface |
|---|
ASCENDING, DESCENDING, NOT_SORTED |
| Constructor Summary | |
|---|---|
BaseSortSelectorAdapter()
|
|
| Method Summary | |
|---|---|
java.lang.Object[] |
getAllItems()
Returns all items in the model which sorting is allowed. |
java.lang.Object[] |
getAvailableItems()
Returns the items in which sorting is allowed. |
java.lang.Object[] |
getHiddenAvailableItems()
Returns the hidden available items in which sorting is allowed. |
java.lang.Object |
getPropertiesBean()
Returns the properties for the SortSelector that will be on the Request. |
int[] |
getSortedDirections()
Returns an array of ints that indicate which direction each item in the sortItems array is to be sorted. |
java.lang.Object[] |
getSortedItems()
Returns the items that the table is to sort. |
void |
setAllItems(java.lang.Object[] items)
Sets the items in which sorting is allowed. |
void |
setAvailableItems(java.lang.Object[] items)
Sets the items in which sorting is allowed. |
void |
setHiddenAvailableItems(java.lang.Object[] items)
Sets the hidden available items in which sorting is allowed. |
void |
setSortedDirections(int[] directions)
Sets an array of ints that indicate which direction each item in the sortItems array is to be sorted. |
void |
setSortedItems(java.lang.Object[] items)
Sets the items that the table is to sort. |
| Constructor Detail |
|---|
public BaseSortSelectorAdapter()
| Method Detail |
|---|
public java.lang.Object[] getAvailableItems()
getAvailableItems in interface SortSelectorInterfacepublic void setAvailableItems(java.lang.Object[] items)
items - an array of items in which sorting is allowedpublic java.lang.Object[] getHiddenAvailableItems()
getHiddenAvailableItems in interface SortSelectorInterfacepublic void setHiddenAvailableItems(java.lang.Object[] items)
items - an array of hidden available items in which sorting is allowedpublic java.lang.Object[] getAllItems()
getAllItems in interface SortSelectorInterfacepublic void setAllItems(java.lang.Object[] items)
items - an array of items in which sorting is allowedpublic java.lang.Object[] getSortedItems()
getSortedItems in interface SortSelectorInterfacepublic void setSortedItems(java.lang.Object[] items)
setSortedItems in interface SortSelectorInterfaceitems - an array of objects that are the items on which the data is sortedpublic int[] getSortedDirections()
getSortedDirections in interface SortSelectorInterfacepublic void setSortedDirections(int[] directions)
setSortedDirections in interface SortSelectorInterfacedirections - an array of ints that indicate which direction the sort items are to be
sortedpublic java.lang.Object getPropertiesBean()
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||