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;
23
24 import javax.faces.context.FacesContext;
25 import org.apache.myfaces.trinidad.bean.FacesBean;
26
27 /**
28 *
29 * UIXOutput is a concrete base class for all Apache Trinidad output components that
30 * support type conversion. All UIXOutput classes output something,
31 * but they all also support a "value" attribute that can be converted
32 * into a String with a <html:code>javax.faces.convert.Converter</html:code>.
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 UIXOutput extends UIXValue
49 {
50 static public final FacesBean.Type TYPE = new FacesBean.Type(
51 UIXValue.TYPE);
52
53 static public final String COMPONENT_FAMILY =
54 "org.apache.myfaces.trinidad.Output";
55 static public final String COMPONENT_TYPE =
56 "org.apache.myfaces.trinidad.Output";
57
58 /**
59 * Construct an instance of the UIXOutput.
60 */
61 public UIXOutput()
62 {
63 super("org.apache.myfaces.trinidad.Text");
64 }
65
66 /* See ADFFACES-42: switching decode on and off should
67 * not be done up here.
68 @Override
69 void __rendererDecode(FacesContext context)
70 {
71 // do nothing. we have no behaviour
72 }
73 */
74
75 @Override
76 public String getFamily()
77 {
78 return COMPONENT_FAMILY;
79 }
80
81 @Override
82 protected FacesBean.Type getBeanType()
83 {
84 return TYPE;
85 }
86
87 /**
88 * Construct an instance of the UIXOutput.
89 */
90 protected UIXOutput(
91 String rendererType
92 )
93 {
94 super(rendererType);
95 }
96
97 static
98 {
99 TYPE.lockAndRegister("org.apache.myfaces.trinidad.Output","org.apache.myfaces.trinidad.Text");
100 }
101 }