001: /*
002: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
003: *
004: * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
005: *
006: * The contents of this file are subject to the terms of either the GNU
007: * General Public License Version 2 only ("GPL") or the Common
008: * Development and Distribution License("CDDL") (collectively, the
009: * "License"). You may not use this file except in compliance with the
010: * License. You can obtain a copy of the License at
011: * http://www.netbeans.org/cddl-gplv2.html
012: * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
013: * specific language governing permissions and limitations under the
014: * License. When distributing the software, include this License Header
015: * Notice in each file and include the License file at
016: * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
017: * particular file as subject to the "Classpath" exception as provided
018: * by Sun in the GPL Version 2 section of the License file that
019: * accompanied this code. If applicable, add the following below the
020: * License Header, with the fields enclosed by brackets [] replaced by
021: * your own identifying information:
022: * "Portions Copyrighted [year] [name of copyright owner]"
023: *
024: * Contributor(s):
025: *
026: * The Original Software is NetBeans. The Initial Developer of the Original
027: * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
028: * Microsystems, Inc. All Rights Reserved.
029: *
030: * If you wish your version of this file to be governed by only the CDDL
031: * or only the GPL Version 2, indicate your decision by adding
032: * "[Contributor] elects to include this software in this distribution
033: * under the [CDDL or GPL Version 2] license." If you do not indicate a
034: * single choice of license, a recipient has the option to distribute
035: * your version of this file under either the CDDL, the GPL Version 2 or
036: * to extend the choice of license to its licensees as provided above.
037: * However, if you add GPL Version 2 code and therefore, elected the GPL
038: * Version 2 license, then the option applies only if the new code is
039: * made subject to such option by the copyright holder.
040: */
041: package org.netbeans.modules.visualweb.xhtml;
042:
043: /**
044: * <b>Frame</b> is generated from xhtml.rng by Relaxer.
045: * This class is derived from:
046: *
047: * <!-- for programmer
048: * <element name="frame">
049: * <ref name="frame.attlist"/>
050: * </element>-->
051: * <!-- for javadoc -->
052: * <pre> <element name="frame">
053: * <ref name="frame.attlist"/>
054: * </element></pre>
055: *
056: * @version xhtml.rng (Tue Apr 20 01:31:09 PDT 2004)
057: * @author Relaxer 1.1b (http://www.relaxer.org)
058: */
059: public class Frame {
060: public static final String FRAMEBORDER_1 = "1";
061: public static final String FRAMEBORDER_0 = "0";
062: public static final String NORESIZE_NORESIZE = "noresize";
063: public static final String SCROLLING_YES = "yes";
064: public static final String SCROLLING_NO = "no";
065: public static final String SCROLLING_AUTO = "auto";
066: private String id_;
067: private String classValue_;
068: private String title_;
069: private String style_;
070: private String longdesc_;
071: private String src_;
072: private String frameborder_;
073: private String marginwidth_;
074: private String marginheight_;
075: private String noresize_;
076: private String scrolling_;
077:
078: /**
079: * Creates a <code>Frame</code>.
080: *
081: */
082: public Frame() {
083: }
084:
085: /**
086: * Gets the String property <b>id</b>.
087: *
088: * @return String
089: */
090: public String getId() {
091: return (id_);
092: }
093:
094: /**
095: * Sets the String property <b>id</b>.
096: *
097: * @param id
098: */
099: public void setId(String id) {
100: this .id_ = id;
101: }
102:
103: /**
104: * Gets the String property <b>classValue</b>.
105: *
106: * @return String
107: */
108: public String getClassValue() {
109: return classValue_;
110: }
111:
112: /**
113: * Sets the String property <b>classValue</b>.
114: *
115: * @param classValue
116: */
117: public void setClassValue(String classValue) {
118: this .classValue_ = classValue;
119: }
120:
121: /**
122: * Gets the String property <b>title</b>.
123: *
124: * @return String
125: */
126: public String getTitle() {
127: return (title_);
128: }
129:
130: /**
131: * Sets the String property <b>title</b>.
132: *
133: * @param title
134: */
135: public void setTitle(String title) {
136: this .title_ = title;
137: }
138:
139: /**
140: * Gets the String property <b>style</b>.
141: *
142: * @return String
143: */
144: public String getStyle() {
145: return (style_);
146: }
147:
148: /**
149: * Sets the String property <b>style</b>.
150: *
151: * @param style
152: */
153: public void setStyle(String style) {
154: this .style_ = style;
155: }
156:
157: /**
158: * Gets the String property <b>longdesc</b>.
159: *
160: * @return String
161: */
162: public String getLongdesc() {
163: return (longdesc_);
164: }
165:
166: /**
167: * Sets the String property <b>longdesc</b>.
168: *
169: * @param longdesc
170: */
171: public void setLongdesc(String longdesc) {
172: this .longdesc_ = longdesc;
173: }
174:
175: /**
176: * Gets the String property <b>src</b>.
177: *
178: * @return String
179: */
180: public String getSrc() {
181: return (src_);
182: }
183:
184: /**
185: * Sets the String property <b>src</b>.
186: *
187: * @param src
188: */
189: public void setSrc(String src) {
190: this .src_ = src;
191: }
192:
193: /**
194: * Gets the String property <b>frameborder</b>.
195: *
196: * @return String
197: */
198: public String getFrameborder() {
199: return (frameborder_);
200: }
201:
202: /**
203: * Sets the String property <b>frameborder</b>.
204: *
205: * @param frameborder
206: */
207: public void setFrameborder(String frameborder) {
208: this .frameborder_ = frameborder;
209: }
210:
211: /**
212: * Gets the String property <b>marginwidth</b>.
213: *
214: * @return String
215: */
216: public String getMarginwidth() {
217: return (marginwidth_);
218: }
219:
220: /**
221: * Sets the String property <b>marginwidth</b>.
222: *
223: * @param marginwidth
224: */
225: public void setMarginwidth(String marginwidth) {
226: this .marginwidth_ = marginwidth;
227: }
228:
229: /**
230: * Gets the String property <b>marginheight</b>.
231: *
232: * @return String
233: */
234: public String getMarginheight() {
235: return (marginheight_);
236: }
237:
238: /**
239: * Sets the String property <b>marginheight</b>.
240: *
241: * @param marginheight
242: */
243: public void setMarginheight(String marginheight) {
244: this .marginheight_ = marginheight;
245: }
246:
247: /**
248: * Gets the String property <b>noresize</b>.
249: *
250: * @return String
251: */
252: public String getNoresize() {
253: return (noresize_);
254: }
255:
256: /**
257: * Sets the String property <b>noresize</b>.
258: *
259: * @param noresize
260: */
261: public void setNoresize(String noresize) {
262: this .noresize_ = noresize;
263: }
264:
265: /**
266: * Gets the String property <b>scrolling</b>.
267: *
268: * @return String
269: */
270: public String getScrolling() {
271: return (scrolling_);
272: }
273:
274: /**
275: * Sets the String property <b>scrolling</b>.
276: *
277: * @param scrolling
278: */
279: public void setScrolling(String scrolling) {
280: this.scrolling_ = scrolling;
281: }
282: }
|