Package org.kuali.rice.krad.uif.control
Interface MultiValueControl
- All Known Subinterfaces:
SelectControl
- All Known Implementing Classes:
CheckboxGroupControl,MultiValueControlBase,OptionListControl,RadioGroupControl,SelectControlBase
public interface MultiValueControl
Indicates
Control types that can hold more than one value for selection- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Method Summary
Modifier and TypeMethodDescriptionListof values the control can accept.Gets the richOptions which contain Message objects with the translated rich message structures, which then can be used by templates to output the appropriate content.voidsetOptions(List<KeyValue> options) Sets the List ofKeyValuepairs that make up the options for the control
-
Method Details
-
getOptions
Listof values the control can accept. Each value consists of a key and a label. The key is the what will be submitted back if the user selects the choice, the label is what will be displayed to the user for the choice.KeyLabelPairinstances are usually generated by theKeyValueFinderassociated with theFieldfor which the control belongs- Returns:
- List of KeyLabelPair instances
-
setOptions
Sets the List ofKeyValuepairs that make up the options for the control- Parameters:
options-
-
getRichOptions
List<KeyMessage> getRichOptions()Gets the richOptions which contain Message objects with the translated rich message structures, which then can be used by templates to output the appropriate content.- Returns:
- richOptions which include a message object with the translated value content
-