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>H1</b> is generated from xhtml.rng by Relaxer.
045: * This class is derived from:
046: *
047: * <!-- for programmer
048: * <element name="h1">
049: * <ref name="Heading.attrib"/>
050: * <ref name="Heading.content"/>
051: * </element>-->
052: * <!-- for javadoc -->
053: * <pre> <element name="h1">
054: * <ref name="Heading.attrib"/>
055: * <ref name="Heading.content"/>
056: * </element></pre>
057: *
058: * @version xhtml.rng (Tue Apr 20 01:31:09 PDT 2004)
059: * @author Relaxer 1.1b (http://www.relaxer.org)
060: */
061: public class H1 {
062: public static final String DIR_LTR = "ltr";
063: public static final String DIR_RTL = "rtl";
064: public static final String ALIGN_LEFT = "left";
065: public static final String ALIGN_ALL = "all";
066: public static final String ALIGN_RIGHT = "right";
067: public static final String ALIGN_NONE = "none";
068: private String id_;
069: private String classValue_ = null;
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 align_;
086:
087: /**
088: * Creates a <code>H1</code>.
089: *
090: */
091: public H1() {
092: }
093:
094: /**
095: * Gets the String property <b>id</b>.
096: *
097: * @return String
098: */
099: public String getId() {
100: return (id_);
101: }
102:
103: /**
104: * Sets the String property <b>id</b>.
105: *
106: * @param id
107: */
108: public void setId(String id) {
109: this .id_ = id;
110: }
111:
112: /**
113: * Gets the String property <b>classValue</b>.
114: *
115: * @return String
116: */
117: public String getStyleClass() {
118: return classValue_;
119: }
120:
121: /**
122: * Sets the String property <b>classValue</b>.
123: *
124: * @param classValue
125: */
126: public void setStyleClass(String classValue) {
127: this .classValue_ = classValue;
128: }
129:
130: /**
131: * Gets the String property <b>title</b>.
132: *
133: * @return String
134: */
135: public String getTitle() {
136: return (title_);
137: }
138:
139: /**
140: * Sets the String property <b>title</b>.
141: *
142: * @param title
143: */
144: public void setTitle(String title) {
145: this .title_ = title;
146: }
147:
148: /**
149: * Gets the String property <b>style</b>.
150: *
151: * @return String
152: */
153: public String getStyle() {
154: return (style_);
155: }
156:
157: /**
158: * Sets the String property <b>style</b>.
159: *
160: * @param style
161: */
162: public void setStyle(String style) {
163: this .style_ = style;
164: }
165:
166: /**
167: * Gets the java.util.Locale property <b>xmlLang</b>.
168: *
169: * @return java.util.Locale
170: */
171: public String getXmlLang() {
172: return (xmlLang_);
173: }
174:
175: /**
176: * Sets the java.util.Locale property <b>xmlLang</b>.
177: *
178: * @param xmlLang
179: */
180: public void setXmlLang(String xmlLang) {
181: this .xmlLang_ = xmlLang;
182: }
183:
184: /**
185: * Gets the java.util.Locale property <b>lang</b>.
186: *
187: * @return java.util.Locale
188: */
189: public String getLang() {
190: return (lang_);
191: }
192:
193: /**
194: * Sets the java.util.Locale property <b>lang</b>.
195: *
196: * @param lang
197: */
198: public void setLang(String lang) {
199: this .lang_ = lang;
200: }
201:
202: /**
203: * Gets the String property <b>dir</b>.
204: *
205: * @return String
206: */
207: public String getDir() {
208: return (dir_);
209: }
210:
211: /**
212: * Sets the String property <b>dir</b>.
213: *
214: * @param dir
215: */
216: public void setDir(String dir) {
217: this .dir_ = dir;
218: }
219:
220: /**
221: * Gets the String property <b>onclick</b>.
222: *
223: * @return String
224: */
225: public String getOnclick() {
226: return (onclick_);
227: }
228:
229: /**
230: * Sets the String property <b>onclick</b>.
231: *
232: * @param onclick
233: */
234: public void setOnclick(String onclick) {
235: this .onclick_ = onclick;
236: }
237:
238: /**
239: * Gets the String property <b>ondblclick</b>.
240: *
241: * @return String
242: */
243: public String getOndblclick() {
244: return (ondblclick_);
245: }
246:
247: /**
248: * Sets the String property <b>ondblclick</b>.
249: *
250: * @param ondblclick
251: */
252: public void setOndblclick(String ondblclick) {
253: this .ondblclick_ = ondblclick;
254: }
255:
256: /**
257: * Gets the String property <b>onmousedown</b>.
258: *
259: * @return String
260: */
261: public String getOnmousedown() {
262: return (onmousedown_);
263: }
264:
265: /**
266: * Sets the String property <b>onmousedown</b>.
267: *
268: * @param onmousedown
269: */
270: public void setOnmousedown(String onmousedown) {
271: this .onmousedown_ = onmousedown;
272: }
273:
274: /**
275: * Gets the String property <b>onmouseup</b>.
276: *
277: * @return String
278: */
279: public String getOnmouseup() {
280: return (onmouseup_);
281: }
282:
283: /**
284: * Sets the String property <b>onmouseup</b>.
285: *
286: * @param onmouseup
287: */
288: public void setOnmouseup(String onmouseup) {
289: this .onmouseup_ = onmouseup;
290: }
291:
292: /**
293: * Gets the String property <b>onmouseover</b>.
294: *
295: * @return String
296: */
297: public String getOnmouseover() {
298: return (onmouseover_);
299: }
300:
301: /**
302: * Sets the String property <b>onmouseover</b>.
303: *
304: * @param onmouseover
305: */
306: public void setOnmouseover(String onmouseover) {
307: this .onmouseover_ = onmouseover;
308: }
309:
310: /**
311: * Gets the String property <b>onmousemove</b>.
312: *
313: * @return String
314: */
315: public String getOnmousemove() {
316: return (onmousemove_);
317: }
318:
319: /**
320: * Sets the String property <b>onmousemove</b>.
321: *
322: * @param onmousemove
323: */
324: public void setOnmousemove(String onmousemove) {
325: this .onmousemove_ = onmousemove;
326: }
327:
328: /**
329: * Gets the String property <b>onmouseout</b>.
330: *
331: * @return String
332: */
333: public String getOnmouseout() {
334: return (onmouseout_);
335: }
336:
337: /**
338: * Sets the String property <b>onmouseout</b>.
339: *
340: * @param onmouseout
341: */
342: public void setOnmouseout(String onmouseout) {
343: this .onmouseout_ = onmouseout;
344: }
345:
346: /**
347: * Gets the String property <b>onkeypress</b>.
348: *
349: * @return String
350: */
351: public String getOnkeypress() {
352: return (onkeypress_);
353: }
354:
355: /**
356: * Sets the String property <b>onkeypress</b>.
357: *
358: * @param onkeypress
359: */
360: public void setOnkeypress(String onkeypress) {
361: this .onkeypress_ = onkeypress;
362: }
363:
364: /**
365: * Gets the String property <b>onkeydown</b>.
366: *
367: * @return String
368: */
369: public String getOnkeydown() {
370: return (onkeydown_);
371: }
372:
373: /**
374: * Sets the String property <b>onkeydown</b>.
375: *
376: * @param onkeydown
377: */
378: public void setOnkeydown(String onkeydown) {
379: this .onkeydown_ = onkeydown;
380: }
381:
382: /**
383: * Gets the String property <b>onkeyup</b>.
384: *
385: * @return String
386: */
387: public String getOnkeyup() {
388: return (onkeyup_);
389: }
390:
391: /**
392: * Sets the String property <b>onkeyup</b>.
393: *
394: * @param onkeyup
395: */
396: public void setOnkeyup(String onkeyup) {
397: this .onkeyup_ = onkeyup;
398: }
399:
400: /**
401: * Gets the String property <b>align</b>.
402: *
403: * @return String
404: */
405: public String getAlign() {
406: return (align_);
407: }
408:
409: /**
410: * Sets the String property <b>align</b>.
411: *
412: * @param align
413: */
414: public void setAlign(String align) {
415: this.align_ = align;
416: }
417: }
|