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