org.kuali.rice.krad.uif.control
Interface MultiValueControl

All Known Implementing Classes:
CheckboxGroupControl, MultiValueControlBase, RadioGroupControl, SelectControl

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
 List<KeyValue> getOptions()
          List of values the control can accept.
 void setOptions(List<KeyValue> options)
          Sets the List of KeyValue pairs that make up the options for the control
 

Method Detail

getOptions

List<KeyValue> getOptions()
List of 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.

KeyLabelPair instances are usually generated by the KeyValueFinder associated with the Field for which the control belongs

Returns:
List of KeyLabelPair instances

setOptions

void setOptions(List<KeyValue> options)
Sets the List of KeyValue pairs that make up the options for the control

Parameters:
options -


Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.