001/**
002 * Copyright 2005-2016 The Kuali Foundation
003 *
004 * Licensed under the Educational Community License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 * http://www.opensource.org/licenses/ecl2.php
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 */
016package org.kuali.rice.krad.uif.field;
017
018/**
019 * Field that encloses an iframe element
020 * 
021 * @author Kuali Rice Team (rice.collab@kuali.org)
022 */
023public class IframeField extends FieldBase {
024        private static final long serialVersionUID = 5797473302619055088L;
025
026        private String source;
027        private String height;
028        private String frameborder;
029        private String hspace;
030        private String vspace;
031
032        public IframeField() {
033                super();
034        }
035
036        public String getSource() {
037                return this.source;
038        }
039
040        public void setSource(String source) {
041                this.source = source;
042        }
043
044        public String getHeight() {
045                return this.height;
046        }
047
048        public void setHeight(String height) {
049                this.height = height;
050        }
051
052        public String getFrameborder() {
053                return this.frameborder;
054        }
055
056        public void setFrameborder(String frameborder) {
057                this.frameborder = frameborder;
058        }
059
060        public String getHspace() {
061                return this.hspace;
062        }
063
064        public void setHspace(String hspace) {
065                this.hspace = hspace;
066        }
067
068        public String getVspace() {
069                return this.vspace;
070        }
071
072        public void setVspace(String vspace) {
073                this.vspace = vspace;
074        }
075
076        /**
077         * @see org.kuali.rice.krad.uif.component.ComponentBase#getSupportsOnLoad()
078         */
079        @Override
080        public boolean getSupportsOnLoad() {
081                return true;
082        }
083
084}