View Javadoc

1   /*
2    * Licensed to the Apache Software Foundation (ASF) under one
3    * or more contributor license agreements.  See the NOTICE file
4    * distributed with this work for additional information
5    * regarding copyright ownership.  The ASF licenses this file
6    * to you under the Apache License, Version 2.0 (the
7    * "License"); you may not use this file except in compliance
8    * with the License.  You may obtain a copy of the License at
9    *
10   *   http://www.apache.org/licenses/LICENSE-2.0
11   *
12   * Unless required by applicable law or agreed to in writing,
13   * software distributed under the License is distributed on an
14   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15   * KIND, either express or implied.  See the License for the
16   * specific language governing permissions and limitations
17   * under the License.
18   */
19  
20  package org.apache.myfaces.tobago.renderkit.html;
21  
22  public final class HtmlAttributes {
23  
24    public static final String ACCEPT_CHARSET = "accept-charset";
25    public static final String ACCEPT = "accept";
26    public static final String ACCESSKEY = "accesskey";
27    public static final String ACTION = "action";
28    public static final String ALIGN = "align";
29    public static final String ALT = "alt";
30    public static final String AUTOCOMPLETE = "autocomplete";
31    public static final String AUTOFOCUS = "autofocus";
32    public static final String BORDER = "border";
33    public static final String CELLPADDING = "cellpadding";
34    public static final String CELLSPACING = "cellspacing";
35    public static final String CHECKED = "checked";
36    public static final String CLASS = "class";
37    public static final String COLSPAN = "colspan";
38    public static final String CONTENT = "content";
39    public static final String DEFER = "defer";
40    public static final String DISABLED = "disabled";
41    public static final String ENCTYPE = "enctype";
42    public static final String FOR = "for";
43    public static final String FRAMEBORDER = "frameborder";
44    public static final String HEIGHT = "height";
45    public static final String HREF = "href";
46    public static final String HTTP_EQUIV = "http-equiv";
47    public static final String ID = "id";
48    public static final String LABEL = "label";
49    public static final String MAXLENGTH = "maxlength";
50    public static final String MEDIA = "media";
51    public static final String METHOD = "method";
52    public static final String MULTIPLE = "multiple";
53    public static final String NAME = "name";
54    public static final String ONBLUR = "onblur";
55    public static final String ONCHANGE = "onchange";
56    public static final String ONCLICK = "onclick";
57    public static final String ONDBLCLICK = "ondblclick";
58    public static final String ONFOCUS = "onfocus";
59    public static final String ONFOCUSIN = "onfocusin";
60    public static final String ONKEYDOWN = "onkeydown";
61    public static final String ONKEYPRESS = "onkeypress";
62    public static final String ONKEYUP = "onkeyup";
63    public static final String ONLOAD = "onload";
64    public static final String ONMOUSEOVER = "onmouseover";
65    public static final String ONMOUSEOUT = "onmouseout";
66    public static final String PATTERN = "pattern";
67    public static final String READONLY = "readonly";
68    public static final String REL = "rel";
69    public static final String REQUIRED = "required";
70    public static final String ROWS = "rows";
71    public static final String ROWSPAN = "rowspan";
72    public static final String SCROLL = "scroll";
73    public static final String SELECTED = "selected";
74    public static final String SIZE = "size";
75    public static final String SRC = "src";
76    public static final String STYLE = "style";
77    public static final String SUMMARY = "summary";
78    public static final String TABINDEX = "tabindex";
79    public static final String TARGET = "target";
80    public static final String TITLE = "title";
81    public static final String TYPE = "type";
82    public static final String VALIGN = "valign";
83    public static final String VALUE = "value";
84    public static final String WIDTH = "width";
85  
86    // Non standard attributes ///////////////////////////////////////////////////////////
87  
88    /**
89     * The index of the tab inside the tab group.
90     */
91    public static final String TABGROUPINDEX = "tabgroupindex";
92    /**
93     * The mode of the tab switch: client, reloadTab, reloadPage.
94     */
95    public static final String SWITCHTYPE = "switchtype";
96  }
97