| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| ImageField |
|
| 1.0;1 |
| 1 | /** | |
| 2 | * Copyright 2005-2011 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.field; | |
| 17 | ||
| 18 | /** | |
| 19 | * Field that encloses an image element | |
| 20 | * | |
| 21 | * @author Kuali Rice Team (rice.collab@kuali.org) | |
| 22 | */ | |
| 23 | public class ImageField extends FieldBase { | |
| 24 | private static final long serialVersionUID = -7994212503770623408L; | |
| 25 | ||
| 26 | private String source; | |
| 27 | private String altText; | |
| 28 | private String height; | |
| 29 | private String width; | |
| 30 | ||
| 31 | public ImageField() { | |
| 32 | 0 | super(); |
| 33 | 0 | } |
| 34 | ||
| 35 | public String getSource() { | |
| 36 | 0 | return this.source; |
| 37 | } | |
| 38 | ||
| 39 | public void setSource(String source) { | |
| 40 | 0 | this.source = source; |
| 41 | 0 | } |
| 42 | ||
| 43 | public String getAltText() { | |
| 44 | 0 | return this.altText; |
| 45 | } | |
| 46 | ||
| 47 | public void setAltText(String altText) { | |
| 48 | 0 | this.altText = altText; |
| 49 | 0 | } |
| 50 | ||
| 51 | public String getHeight() { | |
| 52 | 0 | return this.height; |
| 53 | } | |
| 54 | ||
| 55 | public void setHeight(String height) { | |
| 56 | 0 | this.height = height; |
| 57 | 0 | } |
| 58 | ||
| 59 | public void setWidth(String width) { | |
| 60 | 0 | this.width = width; |
| 61 | 0 | } |
| 62 | ||
| 63 | public String getWidth() { | |
| 64 | 0 | return width; |
| 65 | } | |
| 66 | } |