|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CustomList
The CustomList
interface represents a programmatic list that can be attached to a field. The list is then displayed to
the user, usually as a dropdown. See WebFormFieldOrColumn.createCustomList()
for an example.
Method Summary | |
---|---|
void |
add(java.lang.String displayValue)
Adds a list entry to the custom list. |
void |
add(java.lang.String displayValue,
java.lang.String returnValue)
Adds a list entry to the custom list. |
void |
clear()
Removes all existing entries from the custom list. |
void |
remove(java.lang.String displayValue)
Removes the list entry with a display value of displayValue from the custom list. |
Methods inherited from interface com.ebasetech.xi.api.FieldList |
---|
getDisplayValue, getDisplayValues, getReturnValue |
Method Detail |
---|
void add(java.lang.String displayValue)
displayValue
is used to set both the list entry
display value and the list entry return value.
Each entry within a list contains a display value (the value displayed to the user) and a return value (the value returned to the server when a selection is made - this becomes the field value).
displayValue
- list entry display valueadd(String, String)
void add(java.lang.String displayValue, java.lang.String returnValue)
displayValue
is used to set the list entry
display value and returnValue
is used to set the list entry return value.
Each entry within a list contains a display value (the value displayed to the user) and a return value (the value returned to the server when a selection is made - this becomes the field value).
displayValue
- list entry display valuereturnValue
- list entry return valueadd(String)
void clear()
void remove(java.lang.String displayValue)
displayValue
from the custom list.
Each entry within a list contains a display value (the value displayed to the user) and a return value (the value returned to the server when a selection is made - this becomes the field value).
displayValue
- list entry display value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |