| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| RadioGroupControl | 
  | 
  | 1.0;1 | 
| 1 |  /* | |
| 2 |   * Copyright 2007 The Kuali Foundation | |
| 3 |   * | |
| 4 |   * Licensed under the Educational Community License, Version 1.0 (the "License"); | |
| 5 |   * you may not use this file except in compliance with the License. | |
| 6 |   * You may obtain a copy of the License at | |
| 7 |   * | |
| 8 |   * http://www.opensource.org/licenses/ecl1.php | |
| 9 |   * | |
| 10 |   * Unless required by applicable law or agreed to in writing, software | |
| 11 |   * distributed under the License is distributed on an "AS IS" BASIS, | |
| 12 |   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 13 |   * See the License for the specific language governing permissions and | |
| 14 |   * limitations under the License. | |
| 15 |   */ | |
| 16 |  package org.kuali.rice.kns.uif.control; | |
| 17 | ||
| 18 |  /** | |
| 19 |   * Represents a group of HTML Radio controls. Provides preset options for the | |
| 20 |   * user to choose by a series of radio controls. Only one option can be selected | |
| 21 |   *  | |
| 22 |   * @author Kuali Rice Team (rice.collab@kuali.org) | |
| 23 |   */ | |
| 24 | public class RadioGroupControl extends MultiValueControlBase {  | |
| 25 | private static final long serialVersionUID = 8800478332086081970L;  | |
| 26 | ||
| 27 |          private String delimiter; | |
| 28 | ||
| 29 |          public RadioGroupControl() { | |
| 30 | 0 |                  super(); | 
| 31 | 0 |          } | 
| 32 | ||
| 33 |          /** | |
| 34 |           * Delimiter string to be rendered between the radio group options, defaults | |
| 35 |           * to none | |
| 36 |           *  | |
| 37 |           * @return String delimiter string | |
| 38 |           */ | |
| 39 |          public String getDelimiter() { | |
| 40 | 0 |                  return this.delimiter; | 
| 41 | }  | |
| 42 | ||
| 43 |          /** | |
| 44 |           * Setter for the string delimiter for each radio option | |
| 45 |           *  | |
| 46 |           * @param delimiter | |
| 47 |           */ | |
| 48 | public void setDelimiter(String delimiter) {  | |
| 49 | 0 |                  this.delimiter = delimiter; | 
| 50 | 0 |          } | 
| 51 | ||
| 52 | }  |