View Javadoc

1   // WARNING: This file was automatically generated. Do not edit it directly,
2   //          or you will lose your changes.
3   
4   /*
5    * Licensed to the Apache Software Foundation (ASF) under one
6    * or more contributor license agreements.  See the NOTICE file
7    * distributed with this work for additional information
8    * regarding copyright ownership.  The ASF licenses this file
9    * to you under the Apache License, Version 2.0 (the
10   * "License"); you may not use this file except in compliance
11   * with the License.  You may obtain a copy of the License at
12   *
13   *   http://www.apache.org/licenses/LICENSE-2.0
14   *
15   * Unless required by applicable law or agreed to in writing,
16   * software distributed under the License is distributed on an
17   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18   * KIND, either express or implied.  See the License for the
19   * specific language governing permissions and limitations
20   * under the License.
21  */
22  package org.apache.myfaces.trinidad.component.core.input;
23  
24  import org.apache.myfaces.trinidad.bean.FacesBean;
25  import org.apache.myfaces.trinidad.component.UIXInput;
26  
27  /**
28   *
29   * The UIXInputHidden component adds a value that
30   *           will be submitted with a form, but not displayed
31   *           to the user.  The value can be manipulated with
32   *           Javascript on the client, and such values will
33   *           be automatically re-posted into any ValueBinding
34   *           attached to the "value" property.
35   *
36   * <h4>Events:</h4>
37   * <table border="1" width="100%" cellpadding="3" summary="">
38   * <tr bgcolor="#CCCCFF" class="TableHeadingColor">
39   * <th align="left">Type</th>
40   * <th align="left">Phases</th>
41   * <th align="left">Description</th>
42   * </tr>
43   * <tr class="TableRowColor">
44   * <td valign="top"><code>javax.faces.event.ValueChangeEvent</code></td>
45   * <td valign="top" nowrap>Process<br>Validations<br>Apply<br>Request<br>Values</td>
46   * <td valign="top">The valueChange event is delivered when the value
47                         attribute is changed.</td>
48   * </tr>
49   * <tr class="TableRowColor">
50   * <td valign="top"><code>org.apache.myfaces.trinidad.event.AttributeChangeEvent</code></td>
51   * <td valign="top" nowrap>Invoke<br>Application<br>Apply<br>Request<br>Values</td>
52   * <td valign="top">Event delivered to describe an attribute change.  Attribute change events are not delivered for any programmatic change to a property.  They are only delivered when a renderer changes a property without the application's specific request.  An example of an attribute change event might include the width of a column that supported client-side resizing.</td>
53   * </tr>
54   * </table>
55   */
56  public class CoreInputHidden extends UIXInput
57  {
58    static public final FacesBean.Type TYPE = new FacesBean.Type(
59      UIXInput.TYPE);
60  
61    static public final String COMPONENT_FAMILY =
62      "org.apache.myfaces.trinidad.Input";
63    static public final String COMPONENT_TYPE =
64      "org.apache.myfaces.trinidad.CoreInputHidden";
65  
66    /**
67     * Construct an instance of the CoreInputHidden.
68     */
69    public CoreInputHidden()
70    {
71      super("org.apache.myfaces.trinidad.Hidden");
72    }
73  
74    @Override
75    public String getFamily()
76    {
77      return COMPONENT_FAMILY;
78    }
79  
80    @Override
81    protected FacesBean.Type getBeanType()
82    {
83      return TYPE;
84    }
85  
86    /**
87     * Construct an instance of the CoreInputHidden.
88     */
89    protected CoreInputHidden(
90      String rendererType
91      )
92    {
93      super(rendererType);
94    }
95  
96    static
97    {
98      TYPE.lockAndRegister("org.apache.myfaces.trinidad.Input","org.apache.myfaces.trinidad.Hidden");
99    }
100 }