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 import org.apache.myfaces.trinidad.bean.PropertyKey;
27 import org.apache.myfaces.trinidad.util.ComponentUtils;
28
29 /**
30 *
31 * <h4>Events:</h4>
32 * <table border="1" width="100%" cellpadding="3" summary="">
33 * <tr bgcolor="#CCCCFF" class="TableHeadingColor">
34 * <th align="left">Type</th>
35 * <th align="left">Phases</th>
36 * <th align="left">Description</th>
37 * </tr>
38 * <tr class="TableRowColor">
39 * <td valign="top"><code>org.apache.myfaces.trinidad.event.AttributeChangeEvent</code></td>
40 * <td valign="top" nowrap>Invoke<br>Application<br>Apply<br>Request<br>Values</td>
41 * <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>
42 * </tr>
43 * </table>
44 */
45 public class UIXGo extends UIXComponentBase
46 {
47 static public final FacesBean.Type TYPE = new FacesBean.Type(
48 UIXComponentBase.TYPE);
49 static public final PropertyKey DESTINATION_KEY =
50 TYPE.registerKey("destination", String.class);
51
52 static public final String COMPONENT_FAMILY =
53 "org.apache.myfaces.trinidad.Go";
54 static public final String COMPONENT_TYPE =
55 "org.apache.myfaces.trinidad.Go";
56
57 /**
58 * Construct an instance of the UIXGo.
59 */
60 public UIXGo()
61 {
62 super("org.apache.myfaces.trinidad.Go");
63 }
64
65 /* See ADFFACES-42: switching decode on and off should
66 * not be done up here.
67 @Override
68 void __rendererDecode(FacesContext context)
69 {
70 // do nothing. we have no behaviour
71 }
72 */
73
74 /**
75 * Gets the URI this go component references
76 *
77 * @return the new destination value
78 */
79 final public String getDestination()
80 {
81 return ComponentUtils.resolveString(getProperty(DESTINATION_KEY));
82 }
83
84 /**
85 * Sets the URI this go component references
86 *
87 * @param destination the new destination value
88 */
89 final public void setDestination(String destination)
90 {
91 setProperty(DESTINATION_KEY, (destination));
92 }
93
94 @Override
95 public String getFamily()
96 {
97 return COMPONENT_FAMILY;
98 }
99
100 @Override
101 protected FacesBean.Type getBeanType()
102 {
103 return TYPE;
104 }
105
106 /**
107 * Construct an instance of the UIXGo.
108 */
109 protected UIXGo(
110 String rendererType
111 )
112 {
113 super(rendererType);
114 }
115
116 static
117 {
118 TYPE.lockAndRegister("org.apache.myfaces.trinidad.Go","org.apache.myfaces.trinidad.Go");
119 }
120 }