Coverage Report - org.kuali.rice.kns.uif.widget.Accordion
 
Classes in this File Line Coverage Branch Coverage Complexity
Accordion
0%
0/15
N/A
1
 
 1  
 /*
 2  
  * Copyright 2011 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.widget;
 17  
 
 18  
 /**
 19  
  * Decorates a group with collapse/expand functionality
 20  
  * 
 21  
  * @author Kuali Rice Team (rice.collab@kuali.org)
 22  
  */
 23  
 public class Accordion extends WidgetBase {
 24  
         private static final long serialVersionUID = 1238789480161901850L;
 25  
 
 26  
         private String collapseImageSrc;
 27  
         private String expandImageSrc;
 28  
 
 29  
         private int animationSpeed;
 30  
         private boolean defaultOpen;
 31  
 
 32  
         public Accordion() {
 33  0
                 super();
 34  
 
 35  0
                 defaultOpen = true;
 36  0
         }
 37  
 
 38  
         public String getCollapseImageSrc() {
 39  0
                 return this.collapseImageSrc;
 40  
         }
 41  
 
 42  
         public void setCollapseImageSrc(String collapseImageSrc) {
 43  0
                 this.collapseImageSrc = collapseImageSrc;
 44  0
         }
 45  
 
 46  
         public String getExpandImageSrc() {
 47  0
                 return this.expandImageSrc;
 48  
         }
 49  
 
 50  
         public void setExpandImageSrc(String expandImageSrc) {
 51  0
                 this.expandImageSrc = expandImageSrc;
 52  0
         }
 53  
 
 54  
         public int getAnimationSpeed() {
 55  0
                 return this.animationSpeed;
 56  
         }
 57  
 
 58  
         public void setAnimationSpeed(int animationSpeed) {
 59  0
                 this.animationSpeed = animationSpeed;
 60  0
         }
 61  
 
 62  
         public boolean isDefaultOpen() {
 63  0
                 return this.defaultOpen;
 64  
         }
 65  
 
 66  
         public void setDefaultOpen(boolean defaultOpen) {
 67  0
                 this.defaultOpen = defaultOpen;
 68  0
         }
 69  
 
 70  
 }