KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > beehive > netui > tags > html > HtmlConstants


1 /*
2  * Copyright 2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  * $Header:$
17  */

18 package org.apache.beehive.netui.tags.html;
19
20 public interface HtmlConstants
21 {
22     //************************ The IHtmlCore properties *********************************
23
/**
24      * The name of the <code>style</code> attribute.
25      */

26     static final String JavaDoc STYLE = "style";
27
28     /**
29      * The name of the <code>class</code> attribute.
30      */

31     static final String JavaDoc CLASS = "class";
32
33     /**
34      * The name of the <code>id</code> attribute.
35      */

36     static final String JavaDoc ID = "id";
37
38     /**
39      * The name of the <code>title</code> attribute.
40      */

41     static final String JavaDoc TITLE = "title";
42
43     //************************ The IHtmlI18n properties *********************************
44
/**
45      * The name of the <code>dir</code> attribute.
46      */

47     static final String JavaDoc DIR = "dir";
48
49     /**
50      * The name of the <code>lang</code> attribute.
51      */

52     static final String JavaDoc LANG = "lang";
53
54     //************************ The IHtmlEvent properties *******************************
55
/**
56      * The name of the <code>onchange</code> attribute.
57      */

58     static final String JavaDoc ONCHANGE = "onchange";
59
60     /**
61      * The name of the <code>onclick</code> attribute.
62      */

63     static final String JavaDoc ONCLICK = "onclick";
64
65     /**
66      * The name of the <code>ondblclick</code> attribute.
67      */

68     static final String JavaDoc ONDBLCLICK = "ondblclick";
69
70     /**
71      * The name of the <code>onkeydown</code> attribute.
72      */

73     static final String JavaDoc ONKEYDOWN = "onkeydown";
74
75     /**
76      * The name of the <code>onkeypress</code> attribute.
77      */

78     static final String JavaDoc ONKEYPRESS = "onkeypress";
79
80     /**
81      * The name of the <code>onkeyup</code> attribute.
82      */

83     static final String JavaDoc ONKEYUP = "onkeyup";
84
85     /**
86      * The name of the <code>onload</code> attribute.
87      */

88     static final String JavaDoc ONLOAD = "onload";
89
90     /**
91      * The name of the <code>onmousedown</code> attribute.
92      */

93     static final String JavaDoc ONMOUSEDOWN = "onmousedown";
94
95     /**
96      * The name of the <code>onmouseup</code> attribute.
97      */

98     static final String JavaDoc ONMOUSEUP = "onmouseup";
99
100     /**
101      * The name of the <code>onmousemove</code> attribute.
102      */

103     static final String JavaDoc ONMOUSEMOVE = "onmousemove";
104
105     /**
106      * The name of the <code>onmouseover</code> attribute.
107      */

108     static final String JavaDoc ONMOUSEOVER = "onmouseover";
109
110     /**
111      * The name of the <code>onmouseout</code> attribute.
112      */

113     static final String JavaDoc ONMOUSEOUT = "onmouseout";
114
115     /**
116      * The name of the <code>onreset</code> attribute.
117      */

118     static final String JavaDoc ONRESET = "onreset";
119
120     /**
121      * The name of the <code>onselect</code> attribute.
122      */

123     static final String JavaDoc ONSELECT = "onselect";
124
125     /**
126      * The name of the <code>onsubmit</code> attribute.
127      */

128     static final String JavaDoc ONSUBMIT = "onsubmit";
129
130     /**
131      * The name of the <code>onunload</code> attribute.
132      */

133     static final String JavaDoc ONUNLOAD = "onunload";
134
135     //****************************** cellhalign ************************************************
136
/**
137      * The name of the <code>align</code> attribute.
138      */

139     static final String JavaDoc ALIGN = "align";
140
141     /**
142      * The name of the <code>char</code> attribute.
143      */

144     static final String JavaDoc CHAR = "char";
145
146     //****************************** cellvalign ************************************************
147
/**
148      * The name of the <code>char</code> attribute.
149      */

150     static final String JavaDoc VALIGN = "valign";
151
152     /**
153      * The name of the <code>charoff</code> attribute.
154      */

155     static final String JavaDoc CHAROFF = "charoff";
156
157     //****************************** Other attribute constants *********************************
158

159     /**
160      * The name of the <code>abbr</code> attribute.
161      */

162     static final String JavaDoc ABBR = "abbr";
163
164     /**
165      * The name of the <code>accesskey</code> attribute.
166      */

167     static final String JavaDoc ACCESSKEY = "accesskey";
168
169     /**
170      * The name of the <code>accept</code> attribute.
171      */

172     static final String JavaDoc ACCEPT = "accept";
173
174     /**
175      * The name of the <code>action</code> attribute.
176      */

177     static final String JavaDoc ACTION = "action";
178
179     /**
180      * The name of the <code>alt</code> attribute.
181      */

182     static final String JavaDoc ALT = "alt";
183
184     /**
185      * The name of the <code>axis</code> attribute.
186      */

187     static final String JavaDoc AXIS = "axis";
188
189     /**
190      * The name of the <code>background</code> attribute.
191      */

192     static final String JavaDoc BACKGROUND = "background";
193
194     /**
195      * The name of the <code>bgcolor</code> attribute.
196      */

197     static final String JavaDoc BGCOLOR = "bgcolor";
198
199     /**
200      * The name of the <code>border</code> attribute.
201      */

202     static final String JavaDoc BORDER = "border";
203
204     /**
205      * The name of the <code>cellspacing</code> attribute.
206      */

207     static final String JavaDoc CELLSPACING = "cellspacing";
208
209     /**
210      * The name of the <code>cellpadding</code> attribute.
211      */

212     static final String JavaDoc CELLPADDING = "cellpadding";
213
214     /**
215      * The name of the <code>charset</code> attribute.
216      */

217     static final String JavaDoc CHARSET = "charset";
218
219     /**
220      * The name of the <code>checked</code> attribute.
221      */

222     static final String JavaDoc CHECKED = "checked";
223
224     /**
225      * The name of the <code>cols</code> attribute.
226      */

227     static final String JavaDoc COLS = "cols";
228
229     /**
230      * The name of the <code>colspan</code> attribute.
231      */

232     static final String JavaDoc COLSPAN = "colspan";
233
234     /**
235      * The name of the <code>coords</code> attribute.
236      */

237     static final String JavaDoc COORDS = "coords";
238
239     /**
240      * The name of the <code>disabled</code> attribute.
241      */

242     static final String JavaDoc DISABLED = "disabled";
243
244     /**
245      * The name of the <code>enctype</code> attribute.
246      */

247     static final String JavaDoc ENCTYPE = "enctype";
248
249     /**
250      * The name of the <code>for</code> attribute.
251      */

252     static final String JavaDoc FOR = "for";
253
254     /**
255      * The name of the <code>frame</code> attribute.
256      */

257     static final String JavaDoc FRAME = "frame";
258
259     /**
260      * The name of the <code>headers</code> attribute.
261      */

262     static final String JavaDoc HEADERS = "headers";
263
264     /**
265      * The name of the <code>height</code> attribute.
266      */

267     static final String JavaDoc HEIGHT = "height";
268
269     /**
270      * The name of the <code>href</code> attribute.
271      */

272     static final String JavaDoc HREF = "href";
273
274     /**
275      * The name of the <code>hreflang</code> attribute.
276      */

277     static final String JavaDoc HREFLANG = "hreflang";
278
279     /**
280      * The name of the <code>hspace</code> attribute.
281      */

282     static final String JavaDoc HSPACE = "hspace";
283
284     /**
285      * The name of the <code>ismap</code> attribute.
286      */

287     static final String JavaDoc ISMAP = "ismap";
288
289     /**
290      * The name of the <code>longdesc</code> attribute.
291      */

292     static final String JavaDoc LANGUAGE = "language";
293
294     /**
295      * The name of the <code>longdesc</code> attribute.
296      */

297     static final String JavaDoc LONGDESC = "longdesc";
298
299     /**
300      * The name of the <code>link</code> attribute.
301      */

302     static final String JavaDoc LINK = "link";
303
304     /**
305      * The name of the <code>alink</code> attribute.
306      */

307     static final String JavaDoc ALINK = "alink";
308
309     /**
310      * The name of the <code>vlink</code> attribute.
311      */

312     static final String JavaDoc VLINK = "vlink";
313
314     /**
315      * The name of the <code>method</code> attribute.
316      */

317     static final String JavaDoc METHOD = "method";
318
319     /**
320      * The name of the <code>maxlength</code> attribute.
321      */

322     static final String JavaDoc MAXLENGTH = "maxlength";
323
324     /**
325      * The name of the <code>name</code> attribute.
326      */

327     static final String JavaDoc NAME = "name";
328
329     /**
330      * The name of the <code>onblur</code> attribute.
331      */

332     static final String JavaDoc ONBLUR = "onblur";
333
334     /**
335      * The name of the <code>onfocus</code> attribute.
336      */

337     static final String JavaDoc ONFOCUS = "onfocus";
338
339     /**
340      * The name of the <code>readonly</code> attribute.
341      */

342     static final String JavaDoc READONLY = "readonly";
343
344     /**
345      * The name of the <code>rel</code> attribute.
346      */

347     static final String JavaDoc REL = "rel";
348
349     /**
350      * The name of the <code>rev</code> attribute.
351      */

352     static final String JavaDoc REV = "rev";
353
354     /**
355      * The name of the <code>rows</code> attribute.
356      */

357     static final String JavaDoc ROWS = "rows";
358
359     /**
360      * The name of the <rows>rowspan</code> attribute.
361      */

362     static final String JavaDoc ROWSPAN = "rowspan";
363
364     /**
365      * The name of the <code>rules</code> attribute.
366      */

367     static final String JavaDoc RULES = "rules";
368
369     /**
370      * The name of the <code>scope</code> attribute.
371      */

372     static final String JavaDoc SCOPE = "scope";
373
374     /**
375      * The name of the <code>shape</code> attribute.
376      */

377     static final String JavaDoc SHAPE = "shape";
378
379     /**
380      * The name of the <code>shape</code> attribute.
381      */

382     static final String JavaDoc SIZE = "size";
383
384     /**
385      * The name of the <code>src</code> attribute.
386      */

387     static final String JavaDoc SRC = "src";
388
389     /**
390      * The name of the <code>summary</code> attribute.
391      */

392     static final String JavaDoc SUMMARY = "summary";
393
394     /**
395      * The name of the <code>tabindex</code> attribute.
396      */

397     static final String JavaDoc TABINDEX = "tabindex";
398
399     /**
400      * The name of the <code>target</code> attribute.
401      */

402     static final String JavaDoc TARGET = "target";
403
404     /**
405      * The name of the <code>text</code> attribute.
406      */

407     static final String JavaDoc TEXT = "text";
408
409     /**
410      * The name of the <code>type</code> attribute.
411      */

412     static final String JavaDoc TYPE = "type";
413
414     /**
415      * The name of the <code>usemap</code> attribute.
416      */

417     static final String JavaDoc USEMAP = "usemap";
418
419     /**
420      * The name of the <code>value</code> attribute.
421      */

422     static final String JavaDoc VALUE = "value";
423
424     /**
425      * The name of the <code>vspace</code> attribute.
426      */

427     static final String JavaDoc VSPACE = "vspace";
428
429     /**
430      * The name of the <code>width</code> attribute.
431      */

432     static final String JavaDoc WIDTH = "width";
433
434     //************************ The input type names *********************************
435

436     /**
437      * The InputType for the <code>button</code>
438      */

439     static final String JavaDoc INPUT_BUTTON = "button";
440
441     /**
442      * The InputType for the <code>checkbox</code>
443      */

444     static final String JavaDoc INPUT_CHECKBOX = "checkbox";
445
446     /**
447      * The InputType for the <code>file</code>
448      */

449     static final String JavaDoc INPUT_FILE = "file";
450
451     /**
452      * The InputType for the <code>hidden</code>
453      */

454     static final String JavaDoc INPUT_HIDDEN = "hidden";
455
456     /**
457      * The InputType for the <code>image</code>
458      */

459     static final String JavaDoc INPUT_IMAGE = "image";
460
461     /**
462      * The InputType for the <code>password</code>
463      */

464     static final String JavaDoc INPUT_PASSWORD = "password";
465
466     /**
467      * The InputType for the <code>radio</code>
468      */

469     static final String JavaDoc INPUT_RADIO = "radio";
470
471     /**
472      * The InputType for the <code>reset</code>
473      */

474     static final String JavaDoc INPUT_RESET = "reset";
475
476     /**
477      * The InputType for the <code>submit</code>
478      */

479     static final String JavaDoc INPUT_SUBMIT = "submit";
480
481     /**
482      * The InputType for the <code>text</code>
483      */

484     static final String JavaDoc INPUT_TEXT = "text";
485
486     /**
487      * Form <code>post</code> constant
488      */

489     static final String JavaDoc FORM_POST = "post";
490
491     /**
492      * Form <code>get</code> constant
493      */

494     static final String JavaDoc FORM_GET = "get";
495
496     //*************************** Element Names ************************
497

498     /**
499      * The name of the <code>a</code> element.
500      */

501     static final String JavaDoc ANCHOR = "a";
502
503     /**
504      * The name of the <code>area</code> element.
505      */

506     static final String JavaDoc AREA = "area";
507
508     /**
509      * The name of the <code>base</code> element.
510      */

511     static final String JavaDoc BASE = "base";
512
513     /**
514      * The name of the <code>body</code> element.
515      */

516     static final String JavaDoc BODY = "body";
517
518     /**
519      * The name of the <code>br</code> element.
520      */

521     static final String JavaDoc BR = "br";
522
523     /**
524      * The name of the <code>caption</code> element.
525      */

526     static final String JavaDoc CAPTION = "caption";
527
528     /**
529      * The name of the <code>div</code> element.
530      */

531     static final String JavaDoc DIV = "div";
532
533     /**
534      * The name of the <code>form</code> element.
535      */

536     static final String JavaDoc FORM = "form";
537
538     /**
539      * The name of the <code>html</code> element.
540      */

541     static final String JavaDoc HTML = "html";
542
543     /**
544      * The name of the <code>image</code> element.
545      */

546     static final String JavaDoc IMAGE = "img";
547
548     /**
549      * The name of the <code>input</code> element.
550      */

551     static final String JavaDoc INPUT = "input";
552
553     /**
554      * The name of the <code>label</code> element.
555      */

556     static final String JavaDoc LABEL = "label";
557
558     /**
559      * The name of the <code>option</code> element.
560      */

561     static final String JavaDoc OPTION = "option";
562
563     /**
564      * The name of the <code>script</code> element.
565      */

566     static final String JavaDoc SCRIPT = "script";
567
568     /**
569      * The name of the <code>select</code> element.
570      */

571     static final String JavaDoc SELECT = "select";
572
573     /**
574      * The name of the <code>span</code> element.
575      */

576     static final String JavaDoc SPAN = "span";
577
578     /**
579      * The name of the <code>table</code> element.
580      */

581     static final String JavaDoc TABLE = "table";
582
583     /**
584      * The name of the <code>tbody</code> element.
585      */

586     static final String JavaDoc TBODY = "tbody";
587
588     /**
589      * The name of the <code>td</code> element.
590      */

591     static final String JavaDoc TD = "td";
592
593     /**
594      * The name of the <code>textarea</code> element.
595      */

596     static final String JavaDoc TEXTAREA = "textarea";
597
598     /**
599      * The name of the <code>th</code> element.
600      */

601     static final String JavaDoc TH = "th";
602
603     /**
604      * The name of the <code>thead</code> element.
605      */

606     static final String JavaDoc THEAD = "thead";
607
608     /**
609      * The name of the <code>tfoot</code> element.
610      */

611     static final String JavaDoc TFOOT = "tfoot";
612
613     /**
614      * The name of the <code>tr</code> element.
615      */

616     static final String JavaDoc TR = "tr";
617 }
618
619
620
Popular Tags