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>Img</b> is generated from xhtml.rng by Relaxer.
045: * This class is derived from:
046: *
047: * <!-- for programmer
048: * <element name="img">
049: * <ref name="img.attlist"/>
050: * </element>-->
051: * <!-- for javadoc -->
052: * <pre> <element name="img">
053: * <ref name="img.attlist"/>
054: * </element></pre>
055: *
056: * @version xhtml.rng (Tue Apr 20 01:31:08 PDT 2004)
057: * @author Relaxer 1.1b (http://www.relaxer.org)
058: */
059: public class Img {
060: public static final String DIR_LTR = "ltr";
061: public static final String DIR_RTL = "rtl";
062: public static final String ISMAP_ISMAP = "ismap";
063: public static final String ALIGN_TOP = "top";
064: public static final String ALIGN_MIDDLE = "middle";
065: public static final String ALIGN_BOTTOM = "bottom";
066: public static final String ALIGN_LEFT = "left";
067: public static final String ALIGN_RIGHT = "right";
068: private String id_;
069: private String classValue_;
070: private String title_;
071: private String style_;
072: private String xmlLang_;
073: private String lang_;
074: private String dir_;
075: private String onclick_;
076: private String ondblclick_;
077: private String onmousedown_;
078: private String onmouseup_;
079: private String onmouseover_;
080: private String onmousemove_;
081: private String onmouseout_;
082: private String onkeypress_;
083: private String onkeydown_;
084: private String onkeyup_;
085: private String src_;
086: private String alt_;
087: private String longdesc_;
088: private String height_;
089: private String width_;
090: private String ismap_;
091: private String usemap_;
092: private String name_;
093: private String align_;
094: private String border_;
095: private String hspace_;
096: private String vspace_;
097:
098: /**
099: * Creates a <code>Img</code>.
100: *
101: */
102: public Img() {
103: src_ = "";
104: alt_ = "";
105: }
106:
107: /**
108: * Gets the String property <b>id</b>.
109: *
110: * @return String
111: */
112: public String getId() {
113: return (id_);
114: }
115:
116: /**
117: * Sets the String property <b>id</b>.
118: *
119: * @param id
120: */
121: public void setId(String id) {
122: this .id_ = id;
123: }
124:
125: /**
126: * Gets the String property <b>classValue</b>.
127: *
128: * @return String
129: */
130: public String getStyleClass() {
131: return classValue_;
132: }
133:
134: /**
135: * Sets the String property <b>classValue</b>.
136: *
137: * @param classValue
138: */
139: public void setStyleClass(String classValue) {
140: this .classValue_ = classValue;
141: }
142:
143: /**
144: * Gets the String property <b>title</b>.
145: *
146: * @return String
147: */
148: public String getTitle() {
149: return (title_);
150: }
151:
152: /**
153: * Sets the String property <b>title</b>.
154: *
155: * @param title
156: */
157: public void setTitle(String title) {
158: this .title_ = title;
159: }
160:
161: /**
162: * Gets the String property <b>style</b>.
163: *
164: * @return String
165: */
166: public String getStyle() {
167: return (style_);
168: }
169:
170: /**
171: * Sets the String property <b>style</b>.
172: *
173: * @param style
174: */
175: public void setStyle(String style) {
176: this .style_ = style;
177: }
178:
179: /**
180: * Gets the java.util.Locale property <b>xmlLang</b>.
181: *
182: * @return java.util.Locale
183: */
184: public String getXmlLang() {
185: return (xmlLang_);
186: }
187:
188: /**
189: * Sets the java.util.Locale property <b>xmlLang</b>.
190: *
191: * @param xmlLang
192: */
193: public void setXmlLang(String xmlLang) {
194: this .xmlLang_ = xmlLang;
195: }
196:
197: /**
198: * Gets the java.util.Locale property <b>lang</b>.
199: *
200: * @return java.util.Locale
201: */
202: public String getLang() {
203: return (lang_);
204: }
205:
206: /**
207: * Sets the java.util.Locale property <b>lang</b>.
208: *
209: * @param lang
210: */
211: public void setLang(String lang) {
212: this .lang_ = lang;
213: }
214:
215: /**
216: * Gets the String property <b>dir</b>.
217: *
218: * @return String
219: */
220: public String getDir() {
221: return (dir_);
222: }
223:
224: /**
225: * Sets the String property <b>dir</b>.
226: *
227: * @param dir
228: */
229: public void setDir(String dir) {
230: this .dir_ = dir;
231: }
232:
233: /**
234: * Gets the String property <b>onclick</b>.
235: *
236: * @return String
237: */
238: public String getOnclick() {
239: return (onclick_);
240: }
241:
242: /**
243: * Sets the String property <b>onclick</b>.
244: *
245: * @param onclick
246: */
247: public void setOnclick(String onclick) {
248: this .onclick_ = onclick;
249: }
250:
251: /**
252: * Gets the String property <b>ondblclick</b>.
253: *
254: * @return String
255: */
256: public String getOndblclick() {
257: return (ondblclick_);
258: }
259:
260: /**
261: * Sets the String property <b>ondblclick</b>.
262: *
263: * @param ondblclick
264: */
265: public void setOndblclick(String ondblclick) {
266: this .ondblclick_ = ondblclick;
267: }
268:
269: /**
270: * Gets the String property <b>onmousedown</b>.
271: *
272: * @return String
273: */
274: public String getOnmousedown() {
275: return (onmousedown_);
276: }
277:
278: /**
279: * Sets the String property <b>onmousedown</b>.
280: *
281: * @param onmousedown
282: */
283: public void setOnmousedown(String onmousedown) {
284: this .onmousedown_ = onmousedown;
285: }
286:
287: /**
288: * Gets the String property <b>onmouseup</b>.
289: *
290: * @return String
291: */
292: public String getOnmouseup() {
293: return (onmouseup_);
294: }
295:
296: /**
297: * Sets the String property <b>onmouseup</b>.
298: *
299: * @param onmouseup
300: */
301: public void setOnmouseup(String onmouseup) {
302: this .onmouseup_ = onmouseup;
303: }
304:
305: /**
306: * Gets the String property <b>onmouseover</b>.
307: *
308: * @return String
309: */
310: public String getOnmouseover() {
311: return (onmouseover_);
312: }
313:
314: /**
315: * Sets the String property <b>onmouseover</b>.
316: *
317: * @param onmouseover
318: */
319: public void setOnmouseover(String onmouseover) {
320: this .onmouseover_ = onmouseover;
321: }
322:
323: /**
324: * Gets the String property <b>onmousemove</b>.
325: *
326: * @return String
327: */
328: public String getOnmousemove() {
329: return (onmousemove_);
330: }
331:
332: /**
333: * Sets the String property <b>onmousemove</b>.
334: *
335: * @param onmousemove
336: */
337: public void setOnmousemove(String onmousemove) {
338: this .onmousemove_ = onmousemove;
339: }
340:
341: /**
342: * Gets the String property <b>onmouseout</b>.
343: *
344: * @return String
345: */
346: public String getOnmouseout() {
347: return (onmouseout_);
348: }
349:
350: /**
351: * Sets the String property <b>onmouseout</b>.
352: *
353: * @param onmouseout
354: */
355: public void setOnmouseout(String onmouseout) {
356: this .onmouseout_ = onmouseout;
357: }
358:
359: /**
360: * Gets the String property <b>onkeypress</b>.
361: *
362: * @return String
363: */
364: public String getOnkeypress() {
365: return (onkeypress_);
366: }
367:
368: /**
369: * Sets the String property <b>onkeypress</b>.
370: *
371: * @param onkeypress
372: */
373: public void setOnkeypress(String onkeypress) {
374: this .onkeypress_ = onkeypress;
375: }
376:
377: /**
378: * Gets the String property <b>onkeydown</b>.
379: *
380: * @return String
381: */
382: public String getOnkeydown() {
383: return (onkeydown_);
384: }
385:
386: /**
387: * Sets the String property <b>onkeydown</b>.
388: *
389: * @param onkeydown
390: */
391: public void setOnkeydown(String onkeydown) {
392: this .onkeydown_ = onkeydown;
393: }
394:
395: /**
396: * Gets the String property <b>onkeyup</b>.
397: *
398: * @return String
399: */
400: public String getOnkeyup() {
401: return (onkeyup_);
402: }
403:
404: /**
405: * Sets the String property <b>onkeyup</b>.
406: *
407: * @param onkeyup
408: */
409: public void setOnkeyup(String onkeyup) {
410: this .onkeyup_ = onkeyup;
411: }
412:
413: /**
414: * Gets the String property <b>src</b>.
415: *
416: * @return String
417: */
418: public String getSrc() {
419: return (src_);
420: }
421:
422: /**
423: * Sets the String property <b>src</b>.
424: *
425: * @param src
426: */
427: public void setSrc(String src) {
428: this .src_ = src;
429: }
430:
431: /**
432: * Gets the String property <b>alt</b>.
433: *
434: * @return String
435: */
436: public String getAlt() {
437: return (alt_);
438: }
439:
440: /**
441: * Sets the String property <b>alt</b>.
442: *
443: * @param alt
444: */
445: public void setAlt(String alt) {
446: this .alt_ = alt;
447: }
448:
449: /**
450: * Gets the String property <b>longdesc</b>.
451: *
452: * @return String
453: */
454: public String getLongdesc() {
455: return (longdesc_);
456: }
457:
458: /**
459: * Sets the String property <b>longdesc</b>.
460: *
461: * @param longdesc
462: */
463: public void setLongdesc(String longdesc) {
464: this .longdesc_ = longdesc;
465: }
466:
467: /**
468: * Gets the String property <b>height</b>.
469: *
470: * @return String
471: */
472: public String getHeight() {
473: return (height_);
474: }
475:
476: /**
477: * Sets the String property <b>height</b>.
478: *
479: * @param height
480: */
481: public void setHeight(String height) {
482: this .height_ = height;
483: }
484:
485: /**
486: * Gets the String property <b>width</b>.
487: *
488: * @return String
489: */
490: public String getWidth() {
491: return (width_);
492: }
493:
494: /**
495: * Sets the String property <b>width</b>.
496: *
497: * @param width
498: */
499: public void setWidth(String width) {
500: this.width_ = width;
501: }
502: }
|