|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IAutocompleteModel
Defines the interface used by the Autocompleter component to filter
and match values from a potentially large data set.
The roots of this model come from the IPropertySelectionModel interface, adding
additional logic for filtering where the normal semantics of IPropertySelectionModel
would be prohibitively expensive.
| Method Summary | |
|---|---|
String |
getLabelFor(Object value)
For the given value, provide a user friendly label that will be presented in a drop down selection list in the browser ui. |
List |
getValues(String filter)
Expected to return a list of all possible values, filtering out values that match the specified String in the label representation of the value. |
| Methods inherited from interface org.apache.tapestry.components.IPrimaryKeyConverter |
|---|
getPrimaryKey, getValue |
| Method Detail |
|---|
String getLabelFor(Object value)
value - The object to retrieve a label for.
List getValues(String filter)
filter - The string to use to filter the values based on the label representation of objects.
IPrimaryKeyConverter.getPrimaryKey(Object) can be called on each returned value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||