KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > myfaces > renderkit > JSFAttr


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 package org.apache.myfaces.renderkit;
17
18
19 /**
20  * Constant declarations for JSF tags
21  * @author Anton Koinov (latest modification by $Author: matzew $)
22  * @version $Revision: 1.12 $ $Date: 2005/03/07 16:17:19 $
23  */

24 public class JSFAttr
25 {
26     //~ Static fields/initializers -----------------------------------------------------------------
27

28     // Common Attributes
29
public static final String JavaDoc ID_ATTR = "id";
30     public static final String JavaDoc VALUE_ATTR = "value";
31     public static final String JavaDoc BINDING_ATTR = "binding";
32     public static final String JavaDoc STYLE_CLASS_ATTR = "styleClass";
33     public static final String JavaDoc ESCAPE_ATTR = "escape";
34     public static final String JavaDoc FORCE_ID_ATTR = "forceId";
35     public static final String JavaDoc FORCE_ID_INDEX_ATTR = "forceIdIndex";
36
37     // Common Output Attributes
38
public static final String JavaDoc FOR_ATTR = "for";
39     public static final String JavaDoc CONVERTER_ATTR = "converter";
40
41     // Ouput_Time Attributes
42
public static final String JavaDoc TIME_STYLE_ATTR = "timeStyle";
43     public static final String JavaDoc TIMEZONE_ATTR = "timezone";
44
45     // Common Input Attributes
46
public static final String JavaDoc REQUIRED_ATTR = "required";
47     public static final String JavaDoc VALIDATOR_ATTR = "validator";
48
49     // Input_Secret Attributes
50
public static final String JavaDoc REDISPLAY_ATTR = "redisplay";
51
52     // Input_Checkbox Attributes
53
public static final String JavaDoc LAYOUT_ATTR = "layout";
54
55     // Select_Menu Attributes
56
public static final String JavaDoc SIZE_ATTR = "size";
57
58     // SelectMany Checkbox List/ Select One Radio Attributes
59
public static final String JavaDoc BORDER_ATTR = "border";
60     public static final String JavaDoc DISABLED_CLASS_ATTR = "disabledClass";
61     public static final String JavaDoc ENABLED_CLASS_ATTR = "enabledClass";
62
63     // Common Command Attributes
64
/**@deprecated */
65     public static final String JavaDoc COMMAND_CLASS_ATTR = "commandClass";
66     public static final String JavaDoc LABEL_ATTR = "label";
67     public static final String JavaDoc IMAGE_ATTR = "image";
68     public static final String JavaDoc ACTION_ATTR = "action";
69     public static final String JavaDoc IMMEDIATE_ATTR = "immediate";
70
71
72     // Command_Button Attributes
73
public static final String JavaDoc TYPE_ATTR = "type";
74
75     // Common Panel Attributes
76
/**@deprecated */
77     public static final String JavaDoc PANEL_CLASS_ATTR = "panelClass";
78     public static final String JavaDoc FOOTER_CLASS_ATTR = "footerClass";
79     public static final String JavaDoc HEADER_CLASS_ATTR = "headerClass";
80     public static final String JavaDoc COLUMN_CLASSES_ATTR = "columnClasses";
81     public static final String JavaDoc ROW_CLASSES_ATTR = "rowClasses";
82
83     // Panel_Grid Attributes
84
public static final String JavaDoc COLUMNS_ATTR = "columns";
85     public static final String JavaDoc COLSPAN_ATTR = "colspan"; // extension
86

87     // UIMessage and UIMessages attributes
88
public static final String JavaDoc SHOW_SUMMARY_ATTR = "showSummary";
89     public static final String JavaDoc SHOW_DETAIL_ATTR = "showDetail";
90     public static final String JavaDoc GLOBAL_ONLY_ATTR = "globalOnly";
91
92     // HtmlOutputMessage attributes
93
public static final String JavaDoc ERROR_CLASS_ATTR = "errorClass";
94     public static final String JavaDoc ERROR_STYLE_ATTR = "errorStyle";
95     public static final String JavaDoc FATAL_CLASS_ATTR = "fatalClass";
96     public static final String JavaDoc FATAL_STYLE_ATTR = "fatalStyle";
97     public static final String JavaDoc INFO_CLASS_ATTR = "infoClass";
98     public static final String JavaDoc INFO_STYLE_ATTR = "infoStyle";
99     public static final String JavaDoc WARN_CLASS_ATTR = "warnClass";
100     public static final String JavaDoc WARN_STYLE_ATTR = "warnStyle";
101     public static final String JavaDoc TITLE_ATTR = "title";
102     public static final String JavaDoc TOOLTIP_ATTR = "tooltip";
103
104     // GraphicImage attributes
105
public static final String JavaDoc URL_ATTR = "url";
106
107     // UISelectItem attributes
108
public static final String JavaDoc ITEM_DISABLED_ATTR = "itemDisabled";
109     public static final String JavaDoc ITEM_DESCRIPTION_ATTR = "itemDescription";
110     public static final String JavaDoc ITEM_LABEL_ATTR = "itemLabel";
111     public static final String JavaDoc ITEM_VALUE_ATTR = "itemValue";
112
113     // UIData attributes
114
public static final String JavaDoc ROWS_ATTR = "rows";
115     public static final String JavaDoc VAR_ATTR = "var";
116     public static final String JavaDoc FIRST_ATTR = "first";
117
118     // Tree attributes
119
public static final String JavaDoc SHOW_NAV = "org.apache.myfaces.tree.SHOW_NAV";
120     public static final String JavaDoc SHOW_LINES = "org.apache.myfaces.tree.SHOW_LINES";
121     public static final String JavaDoc CLIENT_SIDE_TOGGLE = "org.apache.myfaces.tree.CLIENT_SIDE_TOGGLE";
122     public static final String JavaDoc SHOW_ROOT_NODE = "org.apache.myfaces.tree.SHOW_ROOT_NODE";
123
124     // Alternate locations (instead of using AddResource)
125
public static final String JavaDoc JAVASCRIPT_LOCATION = "org.apache.myfaces.JAVASCRIPT_LOCATION";
126     public static final String JavaDoc IMAGE_LOCATION = "org.apache.myfaces.IMAGE_LOCATION";
127     public static final String JavaDoc STYLE_LOCATION = "org.apache.myfaces.STYLE_LOCATION";
128
129     //~ Myfaces Extensions -------------------------------------------------------------------------------
130

131     // UISortData attributes
132
public static final String JavaDoc COLUMN_ATTR = "column";
133     public static final String JavaDoc ASCENDING_ATTR = "ascending";
134
135     //~ Constructors -------------------------------------------------------------------------------
136

137     protected JSFAttr()
138     {
139         // hide from public view
140
}
141 }
142
Popular Tags