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

All Known Implementing Classes:
CheckboxControl

public interface ValueConfiguredControl

Indicates Control types that can be configured with a static value to submit, as opposed to pulling the value from the underlying property

Examples of this are CheckboxControl, which can be configured with a value that will be submitted when the checkbox is checked. For example, suppose we had a model property of type Set that represents selected car types. In the UI, we can present a list of available car types with a checkbox next to each. The value for the each checkbox will be the model type of the associated role: 'Ford', 'GM', 'Honda'. For each checkbox selected the associated value will be submitted and populated into the Set on the model.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Method Summary
 String getValue()
          Retrieves the value that will be submitted with the control
 void setValue(String value)
          Setter for the value that should be submitted with the control
 

Method Detail

getValue

String getValue()
Retrieves the value that will be submitted with the control

Returns:
String control value

setValue

void setValue(String value)
Setter for the value that should be submitted with the control

Parameters:
value -


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