Coverage Report - org.apache.myfaces.shared_impl.renderkit.JSFAttr
 
Classes in this File Line Coverage Branch Coverage Complexity
JSFAttr
N/A
N/A
0
 
 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  
 package org.apache.myfaces.shared_impl.renderkit;
 20  
 
 21  
 
 22  
 /**
 23  
  * Constant declarations for JSF tags
 24  
  * @author Anton Koinov (latest modification by $Author: lu4242 $)
 25  
  * @version $Revision: 699137 $ $Date: 2008-09-25 19:39:13 -0500 (Thu, 25 Sep 2008) $
 26  
  */
 27  
 public interface JSFAttr
 28  
 {
 29  
     //~ Static fields/initializers -----------------------------------------------------------------
 30  
 
 31  
     // Common Attributes
 32  
     String   ID_ATTR                        = "id";
 33  
     String   VALUE_ATTR                     = "value";
 34  
     String   BINDING_ATTR                   = "binding";
 35  
     String   STYLE_ATTR                     = "style";
 36  
     String   STYLE_CLASS_ATTR               = "styleClass";
 37  
     String   ESCAPE_ATTR                    = "escape";
 38  
     String   FORCE_ID_ATTR                  = "forceId";
 39  
     String   FORCE_ID_INDEX_ATTR            = "forceIdIndex";
 40  
     String   RENDERED                       = "rendered";
 41  
 
 42  
     // Common Output Attributes
 43  
     String   FOR_ATTR                       = "for";
 44  
     String   CONVERTER_ATTR                 = "converter";
 45  
 
 46  
     // Ouput_Time Attributes
 47  
     String   TIME_STYLE_ATTR                = "timeStyle";
 48  
     String   TIMEZONE_ATTR                  = "timezone";
 49  
 
 50  
     // Common Input Attributes
 51  
     String   REQUIRED_ATTR                  = "required";
 52  
     String   VALIDATOR_ATTR                 = "validator";
 53  
     String   DISABLED_ATTR                  = "disabled";
 54  
     String   READONLY_ATTR                  = "readonly";
 55  
 
 56  
     // Input_Secret Attributes
 57  
     String   REDISPLAY_ATTR                 = "redisplay";
 58  
 
 59  
     // Input_Checkbox Attributes
 60  
     String   LAYOUT_ATTR                    = "layout";
 61  
 
 62  
     // Select_Menu Attributes
 63  
     String   SIZE_ATTR                     = "size";
 64  
 
 65  
     // SelectMany Checkbox List/ Select One Radio Attributes
 66  
     String BORDER_ATTR                 = "border";
 67  
     String DISABLED_CLASS_ATTR         = "disabledClass";
 68  
     String ENABLED_CLASS_ATTR          = "enabledClass";
 69  
 
 70  
     // Common Command Attributes
 71  
     /**@deprecated */
 72  
     String   COMMAND_CLASS_ATTR           = "commandClass";
 73  
     String   LABEL_ATTR                   = "label";
 74  
     String   IMAGE_ATTR                   = "image";
 75  
     String   ACTION_ATTR                 = "action";
 76  
     String   IMMEDIATE_ATTR              = "immediate";
 77  
 
 78  
 
 79  
     // Command_Button Attributes
 80  
     String   TYPE_ATTR                    = "type";
 81  
 
 82  
     // Common Panel Attributes
 83  
     /**@deprecated */
 84  
     String   PANEL_CLASS_ATTR       = "panelClass";
 85  
     String   FOOTER_CLASS_ATTR      = "footerClass";
 86  
     String   HEADER_CLASS_ATTR      = "headerClass";
 87  
     String   COLUMN_CLASSES_ATTR    = "columnClasses";
 88  
     String   ROW_CLASSES_ATTR       = "rowClasses";
 89  
 
 90  
     // Panel_Grid Attributes
 91  
     String   COLUMNS_ATTR          = "columns";
 92  
     String   COLSPAN_ATTR          = "colspan"; // extension
 93  
     String   CAPTION_CLASS_ATTR    = "captionClass";
 94  
     String   CAPTION_STYLE_ATTR    = "captionStyle";
 95  
 
 96  
     // UIMessage and UIMessages attributes
 97  
     String SHOW_SUMMARY_ATTR            = "showSummary";
 98  
     String SHOW_DETAIL_ATTR             = "showDetail";
 99  
     String GLOBAL_ONLY_ATTR             = "globalOnly";
 100  
 
 101  
     // HtmlOutputMessage attributes
 102  
     String ERROR_CLASS_ATTR            = "errorClass";
 103  
     String ERROR_STYLE_ATTR            = "errorStyle";
 104  
     String FATAL_CLASS_ATTR            = "fatalClass";
 105  
     String FATAL_STYLE_ATTR            = "fatalStyle";
 106  
     String INFO_CLASS_ATTR             = "infoClass";
 107  
     String INFO_STYLE_ATTR             = "infoStyle";
 108  
     String WARN_CLASS_ATTR             = "warnClass";
 109  
     String WARN_STYLE_ATTR             = "warnStyle";
 110  
     String TITLE_ATTR                  = "title";
 111  
     String TOOLTIP_ATTR                = "tooltip";
 112  
 
 113  
     // GraphicImage attributes
 114  
     String URL_ATTR                    = "url";
 115  
 
 116  
     // UISelectItem attributes
 117  
     String ITEM_DISABLED_ATTR          = "itemDisabled";
 118  
     String ITEM_DESCRIPTION_ATTR       = "itemDescription";
 119  
     String ITEM_LABEL_ATTR             = "itemLabel";
 120  
     String ITEM_VALUE_ATTR             = "itemValue";
 121  
     String ITEM_ESCAPED_ATTR           = "itemEscaped";
 122  
 
 123  
     // UIData attributes
 124  
     String ROWS_ATTR                   = "rows";
 125  
     String VAR_ATTR                    = "var";
 126  
     String FIRST_ATTR                  = "first";
 127  
 
 128  
     // dataTable (extended) attributes
 129  
     String ROW_ID                      = "rowId";
 130  
     String ROW_STYLECLASS_ATTR         = "rowStyleClass";
 131  
     String ROW_STYLE_ATTR              = "rowStyle";
 132  
 
 133  
     // Alternate locations (instead of using AddResource)
 134  
     String JAVASCRIPT_LOCATION         = "javascriptLocation";
 135  
     String IMAGE_LOCATION              = "imageLocation";
 136  
     String STYLE_LOCATION              = "styleLocation";
 137  
 
 138  
     String ACCEPTCHARSET_ATTR          = "acceptcharset";
 139  
     
 140  
     //~ Myfaces Extensions -------------------------------------------------------------------------------
 141  
 
 142  
     // UISortData attributes
 143  
     String COLUMN_ATTR                 = "column";
 144  
     String ASCENDING_ATTR              = "ascending";
 145  
     
 146  
     // HtmlSelectManyCheckbox attributes
 147  
     String LAYOUT_WIDTH_ATTR           = "layoutWidth";
 148  
 
 149  
 }