public interface CustomList extends FieldList
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.| Modifier and Type | Method and Description | 
|---|---|
| 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  displayValuefrom the custom list. | 
getDisplayValue, getDisplayValues, getItems, getReturnValuevoid 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