Method Summary |
|
public void | addDisplayItems(Collection valueObjects, String valueName, String labelName) Adds the display-items corresponding to the given value and label fields in Value Object. |
public void | addFromBeanCollection(Collection beanCollection, String valueName, String displayStringName) Creates
DisplayItem s corresponding to beans in beanCollection and adds
these to this
MultiSelectControl . |
public void | addFromBeanCollection(Collection beanCollection, String valueName, Transformer displayTransformer) Creates
DisplayItem s corresponding to beans in beanCollection and adds
these to this
MultiSelectControl . |
public void | addFromBeanCollection(Collection beanCollection, Transformer valueTransformer, String displayStringName) Creates
DisplayItem s corresponding to beans in beanCollection and adds
these to this
MultiSelectControl . |
public void | addFromBeanCollection(Collection beanCollection, Transformer valueTransformer, Transformer displayTransformer) Creates
DisplayItem s corresponding to beans in beanCollection and adds
these to this
MultiSelectControl . |
public void | addItem(DisplayItem item) Adds a display-item to the element. |
public void | addItems(Collection items) Adds a display-items to the element. |
public void | clearItems() Clears the list of select-items. |
protected String[] | convertToStringArray(Collection data) Converts the given List<String> to a String[] .
Parameters: data - List<String> . |
protected Object | fromRequestParameters(String[] parameterValues) Converts String[] to List<String> . |
public List | getDisplayItems() |
public String | getRawValueType() Returns "List<String>". |
public int | getValueIndex(String value) |
public Object | getViewModel() Returns
ViewModel . |
protected String[] | preprocessRequestParameters(String[] parameterValues) Removes all empty strings from the String[] request parameters. |
protected String[] | toResponseParameters(Object controlValue) Converts List<String> to String[] . |
protected void | validateNotNull() |