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>Td</b> is generated from xhtml.rng by Relaxer.
045: * This class is derived from:
046: *
047: * <!-- for programmer
048: * <element name="td">
049: * <ref name="td.attlist"/>
050: * <ref name="Flow.model"/>
051: * </element>-->
052: * <!-- for javadoc -->
053: * <pre> <element name="td">
054: * <ref name="td.attlist"/>
055: * <ref name="Flow.model"/>
056: * </element></pre>
057: *
058: * @version xhtml.rng (Tue Apr 20 01:31:08 PDT 2004)
059: * @author Relaxer 1.1b (http://www.relaxer.org)
060: */
061: public class Td {
062: public static final String DIR_LTR = "ltr";
063: public static final String DIR_RTL = "rtl";
064: public static final String SCOPE_ROW = "row";
065: public static final String SCOPE_COL = "col";
066: public static final String SCOPE_ROWGROUP = "rowgroup";
067: public static final String SCOPE_COLGROUP = "colgroup";
068: public static final String ALIGN_LEFT = "left";
069: public static final String ALIGN_CENTER = "center";
070: public static final String ALIGN_RIGHT = "right";
071: public static final String ALIGN_JUSTIFY = "justify";
072: public static final String ALIGN_CHAR = "char";
073: public static final String VALIGN_TOP = "top";
074: public static final String VALIGN_MIDDLE = "middle";
075: public static final String VALIGN_BOTTOM = "bottom";
076: public static final String VALIGN_BASELINE = "baseline";
077: public static final String NOWRAP_NOWRAP = "nowrap";
078: private String id_;
079: private String classValue_;
080: private String title_;
081: private String style_;
082: private String xmlLang_;
083: private String lang_;
084: private String dir_;
085: private String onclick_;
086: private String ondblclick_;
087: private String onmousedown_;
088: private String onmouseup_;
089: private String onmouseover_;
090: private String onmousemove_;
091: private String onmouseout_;
092: private String onkeypress_;
093: private String onkeydown_;
094: private String onkeyup_;
095: private String abbr_;
096: private String axis_;
097: private String headers_;
098: private String scope_;
099: private String rowspan_;
100: private String colspan_;
101: private String align_;
102: private String char_;
103: private String charoff_;
104: private String valign_;
105: private String nowrap_;
106: private String bgcolor_;
107: private String width_;
108: private String height_;
109:
110: /**
111: * Creates a <code>Td</code>.
112: *
113: */
114: public Td() {
115: }
116:
117: /**
118: * Gets the String property <b>id</b>.
119: *
120: * @return String
121: */
122: public String getId() {
123: return (id_);
124: }
125:
126: /**
127: * Sets the String property <b>id</b>.
128: *
129: * @param id
130: */
131: public void setId(String id) {
132: this .id_ = id;
133: }
134:
135: /**
136: * Gets the String property <b>classValue</b>.
137: *
138: * @return String
139: */
140: public String getClassValue() {
141: return classValue_;
142: }
143:
144: /**
145: * Sets the String property <b>classValue</b>.
146: *
147: * @param classValue
148: */
149: public void setClassValue(String classValue) {
150: this .classValue_ = classValue;
151: }
152:
153: /**
154: * Gets the String property <b>title</b>.
155: *
156: * @return String
157: */
158: public String getTitle() {
159: return (title_);
160: }
161:
162: /**
163: * Sets the String property <b>title</b>.
164: *
165: * @param title
166: */
167: public void setTitle(String title) {
168: this .title_ = title;
169: }
170:
171: /**
172: * Gets the String property <b>style</b>.
173: *
174: * @return String
175: */
176: public String getStyle() {
177: return (style_);
178: }
179:
180: /**
181: * Sets the String property <b>style</b>.
182: *
183: * @param style
184: */
185: public void setStyle(String style) {
186: this .style_ = style;
187: }
188:
189: /**
190: * Gets the java.util.Locale property <b>xmlLang</b>.
191: *
192: * @return java.util.Locale
193: */
194: public String getXmlLang() {
195: return (xmlLang_);
196: }
197:
198: /**
199: * Sets the java.util.Locale property <b>xmlLang</b>.
200: *
201: * @param xmlLang
202: */
203: public void setXmlLang(String xmlLang) {
204: this .xmlLang_ = xmlLang;
205: }
206:
207: /**
208: * Gets the java.util.Locale property <b>lang</b>.
209: *
210: * @return java.util.Locale
211: */
212: public String getLang() {
213: return (lang_);
214: }
215:
216: /**
217: * Sets the java.util.Locale property <b>lang</b>.
218: *
219: * @param lang
220: */
221: public void setLang(String lang) {
222: this .lang_ = lang;
223: }
224:
225: /**
226: * Gets the String property <b>dir</b>.
227: *
228: * @return String
229: */
230: public String getDir() {
231: return (dir_);
232: }
233:
234: /**
235: * Sets the String property <b>dir</b>.
236: *
237: * @param dir
238: */
239: public void setDir(String dir) {
240: this .dir_ = dir;
241: }
242:
243: /**
244: * Gets the String property <b>onclick</b>.
245: *
246: * @return String
247: */
248: public String getOnclick() {
249: return (onclick_);
250: }
251:
252: /**
253: * Sets the String property <b>onclick</b>.
254: *
255: * @param onclick
256: */
257: public void setOnclick(String onclick) {
258: this .onclick_ = onclick;
259: }
260:
261: /**
262: * Gets the String property <b>ondblclick</b>.
263: *
264: * @return String
265: */
266: public String getOndblclick() {
267: return (ondblclick_);
268: }
269:
270: /**
271: * Sets the String property <b>ondblclick</b>.
272: *
273: * @param ondblclick
274: */
275: public void setOndblclick(String ondblclick) {
276: this .ondblclick_ = ondblclick;
277: }
278:
279: /**
280: * Gets the String property <b>onmousedown</b>.
281: *
282: * @return String
283: */
284: public String getOnmousedown() {
285: return (onmousedown_);
286: }
287:
288: /**
289: * Sets the String property <b>onmousedown</b>.
290: *
291: * @param onmousedown
292: */
293: public void setOnmousedown(String onmousedown) {
294: this .onmousedown_ = onmousedown;
295: }
296:
297: /**
298: * Gets the String property <b>onmouseup</b>.
299: *
300: * @return String
301: */
302: public String getOnmouseup() {
303: return (onmouseup_);
304: }
305:
306: /**
307: * Sets the String property <b>onmouseup</b>.
308: *
309: * @param onmouseup
310: */
311: public void setOnmouseup(String onmouseup) {
312: this .onmouseup_ = onmouseup;
313: }
314:
315: /**
316: * Gets the String property <b>onmouseover</b>.
317: *
318: * @return String
319: */
320: public String getOnmouseover() {
321: return (onmouseover_);
322: }
323:
324: /**
325: * Sets the String property <b>onmouseover</b>.
326: *
327: * @param onmouseover
328: */
329: public void setOnmouseover(String onmouseover) {
330: this .onmouseover_ = onmouseover;
331: }
332:
333: /**
334: * Gets the String property <b>onmousemove</b>.
335: *
336: * @return String
337: */
338: public String getOnmousemove() {
339: return (onmousemove_);
340: }
341:
342: /**
343: * Sets the String property <b>onmousemove</b>.
344: *
345: * @param onmousemove
346: */
347: public void setOnmousemove(String onmousemove) {
348: this .onmousemove_ = onmousemove;
349: }
350:
351: /**
352: * Gets the String property <b>onmouseout</b>.
353: *
354: * @return String
355: */
356: public String getOnmouseout() {
357: return (onmouseout_);
358: }
359:
360: /**
361: * Sets the String property <b>onmouseout</b>.
362: *
363: * @param onmouseout
364: */
365: public void setOnmouseout(String onmouseout) {
366: this .onmouseout_ = onmouseout;
367: }
368:
369: /**
370: * Gets the String property <b>onkeypress</b>.
371: *
372: * @return String
373: */
374: public String getOnkeypress() {
375: return (onkeypress_);
376: }
377:
378: /**
379: * Sets the String property <b>onkeypress</b>.
380: *
381: * @param onkeypress
382: */
383: public void setOnkeypress(String onkeypress) {
384: this .onkeypress_ = onkeypress;
385: }
386:
387: /**
388: * Gets the String property <b>onkeydown</b>.
389: *
390: * @return String
391: */
392: public String getOnkeydown() {
393: return (onkeydown_);
394: }
395:
396: /**
397: * Sets the String property <b>onkeydown</b>.
398: *
399: * @param onkeydown
400: */
401: public void setOnkeydown(String onkeydown) {
402: this .onkeydown_ = onkeydown;
403: }
404:
405: /**
406: * Gets the String property <b>onkeyup</b>.
407: *
408: * @return String
409: */
410: public String getOnkeyup() {
411: return (onkeyup_);
412: }
413:
414: /**
415: * Sets the String property <b>onkeyup</b>.
416: *
417: * @param onkeyup
418: */
419: public void setOnkeyup(String onkeyup) {
420: this .onkeyup_ = onkeyup;
421: }
422:
423: /**
424: * Gets the String property <b>abbr</b>.
425: *
426: * @return String
427: */
428: public String getAbbr() {
429: return (abbr_);
430: }
431:
432: /**
433: * Sets the String property <b>abbr</b>.
434: *
435: * @param abbr
436: */
437: public void setAbbr(String abbr) {
438: this .abbr_ = abbr;
439: }
440:
441: /**
442: * Gets the String property <b>axis</b>.
443: *
444: * @return String
445: */
446: public String getAxis() {
447: return (axis_);
448: }
449:
450: /**
451: * Sets the String property <b>axis</b>.
452: *
453: * @param axis
454: */
455: public void setAxis(String axis) {
456: this .axis_ = axis;
457: }
458:
459: /**
460: * Gets the String property <b>headers</b>.
461: *
462: * @return String[]
463: */
464: public String getHeaders() {
465:
466: return headers_;
467: }
468:
469: /**
470: * Sets the String property <b>headers</b>.
471: *
472: * @param headers
473: */
474: public void setHeaders(String headers) {
475:
476: this .headers_ = headers;
477: }
478:
479: /**
480: * Gets the String property <b>scope</b>.
481: *
482: * @return String
483: */
484: public String getScope() {
485: return (scope_);
486: }
487:
488: /**
489: * Sets the String property <b>scope</b>.
490: *
491: * @param scope
492: */
493: public void setScope(String scope) {
494: this .scope_ = scope;
495: }
496:
497: /**
498: * Gets the String property <b>rowspan</b>.
499: *
500: * @return String
501: */
502: public String getRowspan() {
503: return (rowspan_);
504: }
505:
506: /**
507: * Sets the String property <b>rowspan</b>.
508: *
509: * @param rowspan
510: */
511: public void setRowspan(String rowspan) {
512: this .rowspan_ = rowspan;
513: }
514:
515: /**
516: * Gets the String property <b>colspan</b>.
517: *
518: * @return String
519: */
520: public String getColspan() {
521: return (colspan_);
522: }
523:
524: /**
525: * Sets the String property <b>colspan</b>.
526: *
527: * @param colspan
528: */
529: public void setColspan(String colspan) {
530: this .colspan_ = colspan;
531: }
532:
533: /**
534: * Gets the String property <b>align</b>.
535: *
536: * @return String
537: */
538: public String getAlign() {
539: return (align_);
540: }
541:
542: /**
543: * Sets the String property <b>align</b>.
544: *
545: * @param align
546: */
547: public void setAlign(String align) {
548: this .align_ = align;
549: }
550:
551: /**
552: * Gets the String property <b>char</b>.
553: *
554: * @return String
555: */
556: public String getChar() {
557: return (char_);
558: }
559:
560: /**
561: * Sets the String property <b>char</b>.
562: *
563: * @param charValue
564: */
565: public void setChar(String charValue) {
566: this .char_ = charValue;
567: }
568:
569: /**
570: * Gets the String property <b>charoff</b>.
571: *
572: * @return String
573: */
574: public String getCharoff() {
575: return (charoff_);
576: }
577:
578: /**
579: * Sets the String property <b>charoff</b>.
580: *
581: * @param charoff
582: */
583: public void setCharoff(String charoff) {
584: this .charoff_ = charoff;
585: }
586:
587: /**
588: * Gets the String property <b>valign</b>.
589: *
590: * @return String
591: */
592: public String getValign() {
593: return (valign_);
594: }
595:
596: /**
597: * Sets the String property <b>valign</b>.
598: *
599: * @param valign
600: */
601: public void setValign(String valign) {
602: this .valign_ = valign;
603: }
604:
605: /**
606: * Gets the String property <b>nowrap</b>.
607: *
608: * @return String
609: */
610: public String getNowrap() {
611: return (nowrap_);
612: }
613:
614: /**
615: * Sets the String property <b>nowrap</b>.
616: *
617: * @param nowrap
618: */
619: public void setNowrap(String nowrap) {
620: this .nowrap_ = nowrap;
621: }
622:
623: /**
624: * Gets the String property <b>bgcolor</b>.
625: *
626: * @return String
627: */
628: public String getBgcolor() {
629: return (bgcolor_);
630: }
631:
632: /**
633: * Sets the String property <b>bgcolor</b>.
634: *
635: * @param bgcolor
636: */
637: public void setBgcolor(String bgcolor) {
638: this .bgcolor_ = bgcolor;
639: }
640:
641: /**
642: * Gets the String property <b>width</b>.
643: *
644: * @return String
645: */
646: public String getWidth() {
647: return (width_);
648: }
649:
650: /**
651: * Sets the String property <b>width</b>.
652: *
653: * @param width
654: */
655: public void setWidth(String width) {
656: this .width_ = width;
657: }
658:
659: /**
660: * Gets the String property <b>height</b>.
661: *
662: * @return String
663: */
664: public String getHeight() {
665: return (height_);
666: }
667:
668: /**
669: * Sets the String property <b>height</b>.
670: *
671: * @param height
672: */
673: public void setHeight(String height) {
674: this.height_ = height;
675: }
676: }
|