|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FilterableListModelInterface
This interface provides the ability to create and maintain a list of filterable items for a native model.
Method Summary | |
---|---|
void |
cancel()
Returns the filter model to its initial state. |
void |
clearAll()
Clears all filters from all filterables. |
void |
clearFilter(int index)
Clears the filter on the filterable item at the given index. |
boolean |
commitChanges()
The master commit for changes made to any/all of the filter models on the filterable items. |
FilterableItemInterface |
getFilterableItem(java.lang.Object source)
Returns the FilterableItemInterface instance associated with the given source object. |
java.util.List |
getFilterableItems()
Returns a list of FilterableItemInterface instances that define the portions of the source model that can be filtered and gives each item's filter model. |
java.lang.Object |
getInitialFilter()
Returns an optional initial object whose filter should be edited directly. |
java.util.Locale |
getLocale()
Returns the Locale currently set on the model. |
java.lang.Object |
getModel()
Returns the data source for the model. |
void |
setLocale(java.util.Locale locale)
Sets the Locale to be used by the model. |
Method Detail |
---|
java.lang.Object getModel()
java.lang.Object getInitialFilter()
java.util.List getFilterableItems()
FilterableItemInterface getFilterableItem(java.lang.Object source)
source
- the native model object to examine
boolean commitChanges()
void clearAll()
void clearFilter(int index)
index
- the index in the list of the filterable item to clear the filter fromvoid cancel()
java.util.Locale getLocale()
void setLocale(java.util.Locale locale)
locale
- the new Locale for the model
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |