001: /*
002: * Licensed to the Apache Software Foundation (ASF) under one or more
003: * contributor license agreements. See the NOTICE file distributed with
004: * this work for additional information regarding copyright ownership.
005: * The ASF licenses this file to You under the Apache License, Version 2.0
006: * (the "License"); you may not use this file except in compliance with
007: * the License. You may obtain a copy of the License at
008: *
009: * http://www.apache.org/licenses/LICENSE-2.0
010: *
011: * Unless required by applicable law or agreed to in writing, software
012: * distributed under the License is distributed on an "AS IS" BASIS,
013: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014: * See the License for the specific language governing permissions and
015: * limitations under the License.
016: *
017: * $Header:$
018: */
019: package org.apache.beehive.netui.tags.html;
020:
021: public interface HtmlConstants {
022: //************************ The IHtmlCore properties *********************************
023: /**
024: * The name of the <code>style</code> attribute.
025: */
026: static final String STYLE = "style";
027:
028: /**
029: * The name of the <code>class</code> attribute.
030: */
031: static final String CLASS = "class";
032:
033: /**
034: * The name of the <code>id</code> attribute.
035: */
036: static final String ID = "id";
037:
038: /**
039: * The name of the <code>title</code> attribute.
040: */
041: static final String TITLE = "title";
042:
043: //************************ The IHtmlI18n properties *********************************
044: /**
045: * The name of the <code>dir</code> attribute.
046: */
047: static final String DIR = "dir";
048:
049: /**
050: * The name of the <code>lang</code> attribute.
051: */
052: static final String LANG = "lang";
053:
054: //************************ The IHtmlEvent properties *******************************
055: /**
056: * The name of the <code>onchange</code> attribute.
057: */
058: static final String ONCHANGE = "onchange";
059:
060: /**
061: * The name of the <code>onclick</code> attribute.
062: */
063: static final String ONCLICK = "onclick";
064:
065: /**
066: * The name of the <code>ondblclick</code> attribute.
067: */
068: static final String ONDBLCLICK = "ondblclick";
069:
070: /**
071: * The name of the <code>onkeydown</code> attribute.
072: */
073: static final String ONKEYDOWN = "onkeydown";
074:
075: /**
076: * The name of the <code>onkeypress</code> attribute.
077: */
078: static final String ONKEYPRESS = "onkeypress";
079:
080: /**
081: * The name of the <code>onkeyup</code> attribute.
082: */
083: static final String ONKEYUP = "onkeyup";
084:
085: /**
086: * The name of the <code>onload</code> attribute.
087: */
088: static final String ONLOAD = "onload";
089:
090: /**
091: * The name of the <code>onmousedown</code> attribute.
092: */
093: static final String ONMOUSEDOWN = "onmousedown";
094:
095: /**
096: * The name of the <code>onmouseup</code> attribute.
097: */
098: static final String ONMOUSEUP = "onmouseup";
099:
100: /**
101: * The name of the <code>onmousemove</code> attribute.
102: */
103: static final String ONMOUSEMOVE = "onmousemove";
104:
105: /**
106: * The name of the <code>onmouseover</code> attribute.
107: */
108: static final String ONMOUSEOVER = "onmouseover";
109:
110: /**
111: * The name of the <code>onmouseout</code> attribute.
112: */
113: static final String ONMOUSEOUT = "onmouseout";
114:
115: /**
116: * The name of the <code>onreset</code> attribute.
117: */
118: static final String ONRESET = "onreset";
119:
120: /**
121: * The name of the <code>onselect</code> attribute.
122: */
123: static final String ONSELECT = "onselect";
124:
125: /**
126: * The name of the <code>onsubmit</code> attribute.
127: */
128: static final String ONSUBMIT = "onsubmit";
129:
130: /**
131: * The name of the <code>onunload</code> attribute.
132: */
133: static final String ONUNLOAD = "onunload";
134:
135: //****************************** cellhalign ************************************************
136: /**
137: * The name of the <code>align</code> attribute.
138: */
139: static final String ALIGN = "align";
140:
141: /**
142: * The name of the <code>char</code> attribute.
143: */
144: static final String CHAR = "char";
145:
146: //****************************** cellvalign ************************************************
147: /**
148: * The name of the <code>char</code> attribute.
149: */
150: static final String VALIGN = "valign";
151:
152: /**
153: * The name of the <code>charoff</code> attribute.
154: */
155: static final String CHAROFF = "charoff";
156:
157: //****************************** Other attribute constants *********************************
158:
159: /**
160: * The name of the <code>abbr</code> attribute.
161: */
162: static final String ABBR = "abbr";
163:
164: /**
165: * The name of the <code>accesskey</code> attribute.
166: */
167: static final String ACCESSKEY = "accesskey";
168:
169: /**
170: * The name of the <code>accept</code> attribute.
171: */
172: static final String ACCEPT = "accept";
173:
174: /**
175: * The name of the <code>action</code> attribute.
176: */
177: static final String ACTION = "action";
178:
179: /**
180: * The name of the <code>alt</code> attribute.
181: */
182: static final String ALT = "alt";
183:
184: /**
185: * The name of the <code>axis</code> attribute.
186: */
187: static final String AXIS = "axis";
188:
189: /**
190: * The name of the <code>background</code> attribute.
191: */
192: static final String BACKGROUND = "background";
193:
194: /**
195: * The name of the <code>bgcolor</code> attribute.
196: */
197: static final String BGCOLOR = "bgcolor";
198:
199: /**
200: * The name of the <code>border</code> attribute.
201: */
202: static final String BORDER = "border";
203:
204: /**
205: * The name of the <code>cellspacing</code> attribute.
206: */
207: static final String CELLSPACING = "cellspacing";
208:
209: /**
210: * The name of the <code>cellpadding</code> attribute.
211: */
212: static final String CELLPADDING = "cellpadding";
213:
214: /**
215: * The name of the <code>charset</code> attribute.
216: */
217: static final String CHARSET = "charset";
218:
219: /**
220: * The name of the <code>checked</code> attribute.
221: */
222: static final String CHECKED = "checked";
223:
224: /**
225: * The name of the <code>cols</code> attribute.
226: */
227: static final String COLS = "cols";
228:
229: /**
230: * The name of the <code>colspan</code> attribute.
231: */
232: static final String COLSPAN = "colspan";
233:
234: /**
235: * The name of the <code>coords</code> attribute.
236: */
237: static final String COORDS = "coords";
238:
239: /**
240: * The name of the <code>disabled</code> attribute.
241: */
242: static final String DISABLED = "disabled";
243:
244: /**
245: * The name of the <code>enctype</code> attribute.
246: */
247: static final String ENCTYPE = "enctype";
248:
249: /**
250: * The name of the <code>for</code> attribute.
251: */
252: static final String FOR = "for";
253:
254: /**
255: * The name of the <code>frame</code> attribute.
256: */
257: static final String FRAME = "frame";
258:
259: /**
260: * The name of the <code>headers</code> attribute.
261: */
262: static final String HEADERS = "headers";
263:
264: /**
265: * The name of the <code>height</code> attribute.
266: */
267: static final String HEIGHT = "height";
268:
269: /**
270: * The name of the <code>href</code> attribute.
271: */
272: static final String HREF = "href";
273:
274: /**
275: * The name of the <code>hreflang</code> attribute.
276: */
277: static final String HREFLANG = "hreflang";
278:
279: /**
280: * The name of the <code>hspace</code> attribute.
281: */
282: static final String HSPACE = "hspace";
283:
284: /**
285: * The name of the <code>ismap</code> attribute.
286: */
287: static final String ISMAP = "ismap";
288:
289: /**
290: * The name of the <code>language</code> attribute.
291: */
292: static final String LANGUAGE = "language";
293:
294: /**
295: * The name of the <code>longdesc</code> attribute.
296: */
297: static final String LONGDESC = "longdesc";
298:
299: /**
300: * The name of the <code>link</code> attribute.
301: */
302: static final String LINK = "link";
303:
304: /**
305: * The name of the <code>alink</code> attribute.
306: */
307: static final String ALINK = "alink";
308:
309: /**
310: * The name of the <code>vlink</code> attribute.
311: */
312: static final String VLINK = "vlink";
313:
314: /**
315: * The name of the <code>method</code> attribute.
316: */
317: static final String METHOD = "method";
318:
319: /**
320: * The name of the <code>maxlength</code> attribute.
321: */
322: static final String MAXLENGTH = "maxlength";
323:
324: /**
325: * The name of the <code>name</code> attribute.
326: */
327: static final String NAME = "name";
328:
329: /**
330: * The name of the <code>onblur</code> attribute.
331: */
332: static final String ONBLUR = "onblur";
333:
334: /**
335: * The name of the <code>onfocus</code> attribute.
336: */
337: static final String ONFOCUS = "onfocus";
338:
339: /**
340: * The name of the <code>readonly</code> attribute.
341: */
342: static final String READONLY = "readonly";
343:
344: /**
345: * The name of the <code>rel</code> attribute.
346: */
347: static final String REL = "rel";
348:
349: /**
350: * The name of the <code>rev</code> attribute.
351: */
352: static final String REV = "rev";
353:
354: /**
355: * The name of the <code>rows</code> attribute.
356: */
357: static final String ROWS = "rows";
358:
359: /**
360: * The name of the <rows>rowspan</code> attribute.
361: */
362: static final String ROWSPAN = "rowspan";
363:
364: /**
365: * The name of the <code>rules</code> attribute.
366: */
367: static final String RULES = "rules";
368:
369: /**
370: * The name of the <code>scope</code> attribute.
371: */
372: static final String SCOPE = "scope";
373:
374: /**
375: * The name of the <code>shape</code> attribute.
376: */
377: static final String SHAPE = "shape";
378:
379: /**
380: * The name of the <code>shape</code> attribute.
381: */
382: static final String SIZE = "size";
383:
384: /**
385: * The name of the <code>src</code> attribute.
386: */
387: static final String SRC = "src";
388:
389: /**
390: * The name of the <code>summary</code> attribute.
391: */
392: static final String SUMMARY = "summary";
393:
394: /**
395: * The name of the <code>tabindex</code> attribute.
396: */
397: static final String TABINDEX = "tabindex";
398:
399: /**
400: * The name of the <code>target</code> attribute.
401: */
402: static final String TARGET = "target";
403:
404: /**
405: * The name of the <code>text</code> attribute.
406: */
407: static final String TEXT = "text";
408:
409: /**
410: * The name of the <code>type</code> attribute.
411: */
412: static final String TYPE = "type";
413:
414: /**
415: * The name of the <code>usemap</code> attribute.
416: */
417: static final String USEMAP = "usemap";
418:
419: /**
420: * The name of the <code>value</code> attribute.
421: */
422: static final String VALUE = "value";
423:
424: /**
425: * The name of the <code>vspace</code> attribute.
426: */
427: static final String VSPACE = "vspace";
428:
429: /**
430: * The name of the <code>width</code> attribute.
431: */
432: static final String WIDTH = "width";
433:
434: //************************ The input type names *********************************
435:
436: /**
437: * The InputType for the <code>button</code>
438: */
439: static final String INPUT_BUTTON = "button";
440:
441: /**
442: * The InputType for the <code>checkbox</code>
443: */
444: static final String INPUT_CHECKBOX = "checkbox";
445:
446: /**
447: * The InputType for the <code>file</code>
448: */
449: static final String INPUT_FILE = "file";
450:
451: /**
452: * The InputType for the <code>hidden</code>
453: */
454: static final String INPUT_HIDDEN = "hidden";
455:
456: /**
457: * The InputType for the <code>image</code>
458: */
459: static final String INPUT_IMAGE = "image";
460:
461: /**
462: * The InputType for the <code>password</code>
463: */
464: static final String INPUT_PASSWORD = "password";
465:
466: /**
467: * The InputType for the <code>radio</code>
468: */
469: static final String INPUT_RADIO = "radio";
470:
471: /**
472: * The InputType for the <code>reset</code>
473: */
474: static final String INPUT_RESET = "reset";
475:
476: /**
477: * The InputType for the <code>submit</code>
478: */
479: static final String INPUT_SUBMIT = "submit";
480:
481: /**
482: * The InputType for the <code>text</code>
483: */
484: static final String INPUT_TEXT = "text";
485:
486: /**
487: * Form <code>post</code> constant
488: */
489: static final String FORM_POST = "post";
490:
491: /**
492: * Form <code>get</code> constant
493: */
494: static final String FORM_GET = "get";
495:
496: //*************************** Element Names ************************
497:
498: /**
499: * The name of the <code>a</code> element.
500: */
501: static final String ANCHOR = "a";
502:
503: /**
504: * The name of the <code>area</code> element.
505: */
506: static final String AREA = "area";
507:
508: /**
509: * The name of the <code>base</code> element.
510: */
511: static final String BASE = "base";
512:
513: /**
514: * The name of the <code>body</code> element.
515: */
516: static final String BODY = "body";
517:
518: /**
519: * The name of the <code>br</code> element.
520: */
521: static final String BR = "br";
522:
523: /**
524: * The name of the <code>button</code> element.
525: */
526: static final String BUTTON = "button";
527:
528: /**
529: * The name of the <code>caption</code> element.
530: */
531: static final String CAPTION = "caption";
532:
533: /**
534: * The name of the <code>div</code> element.
535: */
536: static final String DIV = "div";
537:
538: /**
539: * The name of the <code>form</code> element.
540: */
541: static final String FORM = "form";
542:
543: /**
544: * The name of the <code>html</code> element.
545: */
546: static final String HTML = "html";
547:
548: /**
549: * The name of the <code>image</code> element.
550: */
551: static final String IMAGE = "img";
552:
553: /**
554: * The name of the <code>input</code> element.
555: */
556: static final String INPUT = "input";
557:
558: /**
559: * The name of the <code>label</code> element.
560: */
561: static final String LABEL = "label";
562:
563: /**
564: * The name of the <code>option</code> element.
565: */
566: static final String OPTION = "option";
567:
568: /**
569: * The name of the <code>script</code> element.
570: */
571: static final String SCRIPT = "script";
572:
573: /**
574: * The name of the <code>select</code> element.
575: */
576: static final String SELECT = "select";
577:
578: /**
579: * The name of the <code>span</code> element.
580: */
581: static final String SPAN = "span";
582:
583: /**
584: * The name of the <code>table</code> element.
585: */
586: static final String TABLE = "table";
587:
588: /**
589: * The name of the <code>tbody</code> element.
590: */
591: static final String TBODY = "tbody";
592:
593: /**
594: * The name of the <code>td</code> element.
595: */
596: static final String TD = "td";
597:
598: /**
599: * The name of the <code>textarea</code> element.
600: */
601: static final String TEXTAREA = "textarea";
602:
603: /**
604: * The name of the <code>th</code> element.
605: */
606: static final String TH = "th";
607:
608: /**
609: * The name of the <code>thead</code> element.
610: */
611: static final String THEAD = "thead";
612:
613: /**
614: * The name of the <code>tfoot</code> element.
615: */
616: static final String TFOOT = "tfoot";
617:
618: /**
619: * The name of the <code>tr</code> element.
620: */
621: static final String TR = "tr";
622: }
|