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    /** @deprecated Since 2.0.0. This attribute work not with SCP */
55    @Deprecated
56    public static final String ONBLUR = "onblur";
57    /** @deprecated Since 2.0.0. This attribute work not with SCP */
58    @Deprecated
59    public static final String ONCHANGE = "onchange";
60    /** @deprecated Since 2.0.0. This attribute work not with SCP */
61    @Deprecated
62    public static final String ONCLICK = "onclick";
63    /** @deprecated Since 2.0.0. This attribute work not with SCP */
64    @Deprecated
65    public static final String ONDBLCLICK = "ondblclick";
66    /** @deprecated Since 2.0.0. This attribute work not with SCP */
67    @Deprecated
68    public static final String ONFOCUS = "onfocus";
69    /** @deprecated Since 2.0.0. This attribute work not with SCP */
70    @Deprecated
71    public static final String ONFOCUSIN = "onfocusin";
72    /** @deprecated Since 2.0.0. This attribute work not with SCP */
73    @Deprecated
74    public static final String ONKEYDOWN = "onkeydown";
75    /** @deprecated Since 2.0.0. This attribute work not with SCP */
76    @Deprecated
77    public static final String ONKEYPRESS = "onkeypress";
78    /** @deprecated Since 2.0.0. This attribute work not with SCP */
79    @Deprecated
80    public static final String ONKEYUP = "onkeyup";
81    /** @deprecated Since 2.0.0. This attribute work not with SCP */
82    @Deprecated
83    public static final String ONLOAD = "onload";
84    /** @deprecated Since 2.0.0. This attribute work not with SCP */
85    @Deprecated
86    public static final String ONMOUSEOVER = "onmouseover";
87    /** @deprecated Since 2.0.0. This attribute work not with SCP */
88    @Deprecated
89    public static final String ONMOUSEOUT = "onmouseout";
90    public static final String PATTERN = "pattern";
91    public static final String PLACEHOLDER = "placeholder";
92    public static final String READONLY = "readonly";
93    public static final String REL = "rel";
94    public static final String REQUIRED = "required";
95    public static final String ROLE = "role";
96    public static final String ROWS = "rows";
97    public static final String ROWSPAN = "rowspan";
98    public static final String SCROLL = "scroll";
99    public static final String SELECTED = "selected";
100   public static final String SIZE = "size";
101   public static final String SRC = "src";
102   /** @deprecated Since 2.0.0. This attribute work not with SCP */
103   @Deprecated
104   public static final String STYLE = "style";
105   public static final String SUMMARY = "summary";
106   public static final String TABINDEX = "tabindex";
107   public static final String TARGET = "target";
108   public static final String TITLE = "title";
109   public static final String TYPE = "type";
110   public static final String VALIGN = "valign";
111   public static final String VALUE = "value";
112   public static final String WIDTH = "width";
113 
114   // Non standard attributes ///////////////////////////////////////////////////////////
115 
116   /**
117    * The index of the tab inside the tab group.
118    */
119   public static final String TABGROUPINDEX = "tabgroupindex";
120   /**
121    * The mode of the tab switch: client, reloadTab, reloadPage.
122    */
123   public static final String SWITCHTYPE = "switchtype";
124 }
125