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;
23  
24  import org.apache.myfaces.trinidad.bean.FacesBean;
25  import org.apache.myfaces.trinidad.component.UIXComponentBase;
26  
27  /**
28   *
29   * The styleSheet component generates the style
30   *           sheet link reference to a generated Apache Trinidad style sheet.
31   *           This is automatically included for you if you use the Trinidad
32   *           HtmlHead component.
33   *
34   * <h4>Events:</h4>
35   * <table border="1" width="100%" cellpadding="3" summary="">
36   * <tr bgcolor="#CCCCFF" class="TableHeadingColor">
37   * <th align="left">Type</th>
38   * <th align="left">Phases</th>
39   * <th align="left">Description</th>
40   * </tr>
41   * <tr class="TableRowColor">
42   * <td valign="top"><code>org.apache.myfaces.trinidad.event.AttributeChangeEvent</code></td>
43   * <td valign="top" nowrap>Invoke<br>Application<br>Apply<br>Request<br>Values</td>
44   * <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>
45   * </tr>
46   * </table>
47   */
48  public class CoreStyleSheet extends UIXComponentBase
49  {
50    static public final FacesBean.Type TYPE = new FacesBean.Type(
51      UIXComponentBase.TYPE);
52  
53    static public final String COMPONENT_FAMILY =
54      "org.apache.myfaces.trinidad.StyleSheet";
55    static public final String COMPONENT_TYPE =
56      "org.apache.myfaces.trinidad.CoreStyleSheet";
57  
58    /**
59     * Construct an instance of the CoreStyleSheet.
60     */
61    public CoreStyleSheet()
62    {
63      super("org.apache.myfaces.trinidad.StyleSheet");
64    }
65  
66    @Override
67    public String getFamily()
68    {
69      return COMPONENT_FAMILY;
70    }
71  
72    @Override
73    protected FacesBean.Type getBeanType()
74    {
75      return TYPE;
76    }
77  
78    /**
79     * Construct an instance of the CoreStyleSheet.
80     */
81    protected CoreStyleSheet(
82      String rendererType
83      )
84    {
85      super(rendererType);
86    }
87  
88    static
89    {
90      TYPE.lockAndRegister("org.apache.myfaces.trinidad.StyleSheet","org.apache.myfaces.trinidad.StyleSheet");
91    }
92  }