|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Base interface for IWDValueSupplier and IWDBoundValueSet.IWDFilterListener.
| Field Summary | |
static int |
FILTER_ALL
Constant used for indication of "filter supports key and values as argument". |
static int |
FILTER_KEY
Constant used for indication of "filter supports only keys as argument". |
static int |
NO_FILTER_SUPPORT
Constant used for indication of "no filter support". |
| Method Summary | |
boolean |
contains(java.lang.Object key)
Check if key is a valid key. |
void |
supplyLazyValues(java.util.Map keyValueMap,
java.util.Locale locale)
Implement this method in order to supply the values for a set of keys. |
java.lang.String |
supplyValue(java.lang.Object key,
java.util.Locale locale)
Implement this method in order to supply the value for a single key. |
int |
supportFilter()
Check if this instance can process filtered value supply. |
boolean |
supportLazyValues()
Check if this instance can process lazy value supply. |
| Field Detail |
public static final int NO_FILTER_SUPPORT
supportFilter(),
IWDValueSupplier.supplyFilteredValues(IModifiableSimpleValueSet, Locale, IWDValueFilter)public static final int FILTER_KEY
supportFilter(),
IWDValueSupplier.supplyFilteredValues(IModifiableSimpleValueSet, Locale, IWDValueFilter)public static final int FILTER_ALL
supportFilter(),
IWDValueSupplier.supplyFilteredValues(IModifiableSimpleValueSet, Locale, IWDValueFilter)| Method Detail |
public java.lang.String supplyValue(java.lang.Object key,
java.util.Locale locale)
key - is the key of the requested value.locale - of the valueset's display text.
public void supplyLazyValues(java.util.Map keyValueMap,
java.util.Locale locale)
keyValueSet until the components doPostProcessing method is called. The typical usage
of this method is to store a reference to the keyValueSet and to fill the content later. The latest possible
point in time for filling thwe map is doPostProcessing.keyValueMap - is a map conatining a set of keys with empty values. The values have to be suppliedlocale - of the valueset's display text.UnsupportedOperationException - in case this metod is not implemented. In this case
method supportLazyValues must return false.supportLazyValues()public int supportFilter()
public boolean supportLazyValues()
IWDOnDemandValueSetService.setCurrentKey(Object key) and
IWDOnDemandValueSetService.addKey(Object Key) directly calls this instance's
supplyValue(Object key, Locale locale) method supplyValue(Object, Locale),
IWDOnDemandValueSetService.addKey(Object),
IWDOnDemandValueSetService.setCurrentKey(Object),
IWDOnDemandValueSetService,
supplyLazyValues(Map, Locale),
NO_FILTER_SUPPORT,
FILTER_KEY,
FILTER_ALLpublic boolean contains(java.lang.Object key)
true for any key. In that case the key entered by the user
is always valid in terms of framework validation and must be check somewhere else by application code.
|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||