1 /** 2 * Copyright 2005-2016 The Kuali Foundation 3 * 4 * Licensed under the Educational Community License, Version 2.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/ecl2.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.krad.uif.control; 17 18 /** 19 * Represents a group of HTML checkbox controls. Provides preset options for the 20 * user to choose by a series of checkbox controls. Only or more options can be 21 * select 22 * 23 * @author Kuali Rice Team (rice.collab@kuali.org) 24 */ 25 public class CheckboxGroupControl extends MultiValueControlBase { 26 private static final long serialVersionUID = 8800478332086081970L; 27 28 private String delimiter; 29 30 public CheckboxGroupControl() { 31 super(); 32 } 33 34 /** 35 * Delimiter string to be rendered between the checkbox group options, 36 * defaults to none 37 * 38 * @return String delimiter string 39 */ 40 public String getDelimiter() { 41 return this.delimiter; 42 } 43 44 /** 45 * Setter for the string delimiter for each checkbox option 46 * 47 * @param delimiter 48 */ 49 public void setDelimiter(String delimiter) { 50 this.delimiter = delimiter; 51 } 52 53 }