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.layout;
23  
24  import java.util.Arrays;
25  import java.util.Collection;
26  import java.util.Collections;
27  import java.util.List;
28  import java.util.Map;
29  import javax.faces.component.UIComponent;
30  import javax.faces.component.behavior.ClientBehavior;
31  import javax.faces.component.behavior.ClientBehaviorHolder;
32  import org.apache.myfaces.trinidad.bean.FacesBean;
33  import org.apache.myfaces.trinidad.bean.PropertyKey;
34  import org.apache.myfaces.trinidad.component.UIXPanel;
35  import org.apache.myfaces.trinidad.util.ComponentUtils;
36  
37  /**
38   *
39   * PanelPage lays out an entire page.
40   *         It supports several navigation and content areas for the creation of pages.
41   *         When the panelPage is geometry managed, the last indexed child will be stretched vertically to fit in the leftover space not consumed by the other indexed children. If you do not want this stretching behavior, you must wrap your indexed children with a panelGroup with layout="vertical" and inlineStyle="overflow: auto;". This way, the panelGroup will be stretched to fit and scrollbars will appear when the content inside is larger than the allocated space.
42   *
43   * <h4>Events:</h4>
44   * <table border="1" width="100%" cellpadding="3" summary="">
45   * <tr bgcolor="#CCCCFF" class="TableHeadingColor">
46   * <th align="left">Type</th>
47   * <th align="left">Phases</th>
48   * <th align="left">Description</th>
49   * </tr>
50   * <tr class="TableRowColor">
51   * <td valign="top"><code>org.apache.myfaces.trinidad.event.AttributeChangeEvent</code></td>
52   * <td valign="top" nowrap>Invoke<br>Application<br>Apply<br>Request<br>Values</td>
53   * <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>
54   * </tr>
55   * </table>
56   */
57  public class CorePanelPage extends UIXPanel
58                             implements ClientBehaviorHolder
59  {
60    static public final FacesBean.Type TYPE = new FacesBean.Type(
61      UIXPanel.TYPE);
62    static public final PropertyKey INLINE_STYLE_KEY =
63      TYPE.registerKey("inlineStyle", String.class);
64    static public final PropertyKey STYLE_CLASS_KEY =
65      TYPE.registerKey("styleClass", String.class);
66    static public final PropertyKey SHORT_DESC_KEY =
67      TYPE.registerKey("shortDesc", String.class);
68    static public final PropertyKey PARTIAL_TRIGGERS_KEY =
69      TYPE.registerKey("partialTriggers", String[].class, null, 0, PropertyKey.Mutable.RARELY);
70    static public final PropertyKey ONCLICK_KEY =
71      TYPE.registerKey("onclick", String.class);
72    static public final PropertyKey ONDBLCLICK_KEY =
73      TYPE.registerKey("ondblclick", String.class);
74    static public final PropertyKey ONMOUSEDOWN_KEY =
75      TYPE.registerKey("onmousedown", String.class);
76    static public final PropertyKey ONMOUSEUP_KEY =
77      TYPE.registerKey("onmouseup", String.class);
78    static public final PropertyKey ONMOUSEOVER_KEY =
79      TYPE.registerKey("onmouseover", String.class);
80    static public final PropertyKey ONMOUSEMOVE_KEY =
81      TYPE.registerKey("onmousemove", String.class);
82    static public final PropertyKey ONMOUSEOUT_KEY =
83      TYPE.registerKey("onmouseout", String.class);
84    static public final PropertyKey ONKEYPRESS_KEY =
85      TYPE.registerKey("onkeypress", String.class);
86    static public final PropertyKey ONKEYDOWN_KEY =
87      TYPE.registerKey("onkeydown", String.class);
88    static public final PropertyKey ONKEYUP_KEY =
89      TYPE.registerKey("onkeyup", String.class);
90    static public final PropertyKey AUXILIARY1SIZE_KEY =
91      TYPE.registerKey("auxiliary1Size", Integer.class, Integer.valueOf(200));
92    static public final PropertyKey AUXILIARY2SIZE_KEY =
93      TYPE.registerKey("auxiliary2Size", Integer.class, Integer.valueOf(200));
94    static public final PropertyKey AUXILIARY_GLOBAL_SIZE_KEY =
95      TYPE.registerKey("auxiliaryGlobalSize", Integer.class, Integer.valueOf(200));
96    static public final String APP_ABOUT_FACET = "appAbout";
97    static public final String APP_COPYRIGHT_FACET = "appCopyright";
98    static public final String APP_PRIVACY_FACET = "appPrivacy";
99    static public final String BRANDING_FACET = "branding";
100   static public final String INFO_FOOTNOTE_FACET = "infoFootnote";
101   static public final String INFO_RETURN_FACET = "infoReturn";
102   static public final String INFO_STATUS_FACET = "infoStatus";
103   static public final String INFO_USER_FACET = "infoUser";
104   static public final String LOCATION_FACET = "location";
105   static public final String NAVIGATION1_FACET = "navigation1";
106   static public final String NAVIGATION2_FACET = "navigation2";
107   static public final String NAVIGATION3_FACET = "navigation3";
108   static public final String NAVIGATION_GLOBAL_FACET = "navigationGlobal";
109   static public final String SEARCH_FACET = "search";
110 
111   static public final String COMPONENT_FAMILY =
112     "org.apache.myfaces.trinidad.Panel";
113   static public final String COMPONENT_TYPE =
114     "org.apache.myfaces.trinidad.CorePanelPage";
115   // Supported client events for client behaviors:
116   private final static Collection<String> _EVENT_NAMES = Collections.unmodifiableCollection(
117     Arrays.asList(
118       "click", "dblclick", "mousedown", "mouseup", "mouseover", "mousemove",
119       "mouseout", "keypress", "keydown", "keyup"
120     ));
121 
122   /**
123    * Construct an instance of the CorePanelPage.
124    */
125   public CorePanelPage()
126   {
127     super("org.apache.myfaces.trinidad.Page");
128   }
129 
130   /**
131    * Area to put a commandLink to more information about the application.
132    */
133   final public UIComponent getAppAbout()
134   {
135     return getFacet(APP_ABOUT_FACET);
136   }
137 
138   /**
139    * Area to put a commandLink to more information about the application.
140    */
141   @SuppressWarnings("unchecked")
142   final public void setAppAbout(UIComponent appAboutFacet)
143   {
144     getFacets().put(APP_ABOUT_FACET, appAboutFacet);
145   }
146 
147   /**
148    * The copyright region of the page.  If present, this area
149    *                 typically contains an outputText with the copyright information.
150    */
151   final public UIComponent getAppCopyright()
152   {
153     return getFacet(APP_COPYRIGHT_FACET);
154   }
155 
156   /**
157    * The copyright region of the page.  If present, this area
158    *                 typically contains an outputText with the copyright information.
159    */
160   @SuppressWarnings("unchecked")
161   final public void setAppCopyright(UIComponent appCopyrightFacet)
162   {
163     getFacets().put(APP_COPYRIGHT_FACET, appCopyrightFacet);
164   }
165 
166   /**
167    * The privacy region of the page.  If present, this area
168    *                 typically contains a commandLink to the privacy policy for the
169    *                 application.
170    */
171   final public UIComponent getAppPrivacy()
172   {
173     return getFacet(APP_PRIVACY_FACET);
174   }
175 
176   /**
177    * The privacy region of the page.  If present, this area
178    *                 typically contains a commandLink to the privacy policy for the
179    *                 application.
180    */
181   @SuppressWarnings("unchecked")
182   final public void setAppPrivacy(UIComponent appPrivacyFacet)
183   {
184     getFacets().put(APP_PRIVACY_FACET, appPrivacyFacet);
185   }
186 
187   /**
188    * The branding region of the page.  This section typically
189    *                 contains a horizontal panelGroup for an image of a logo and an
190    *                 outputText for a title.
191    */
192   final public UIComponent getBranding()
193   {
194     return getFacet(BRANDING_FACET);
195   }
196 
197   /**
198    * The branding region of the page.  This section typically
199    *                 contains a horizontal panelGroup for an image of a logo and an
200    *                 outputText for a title.
201    */
202   @SuppressWarnings("unchecked")
203   final public void setBranding(UIComponent brandingFacet)
204   {
205     getFacets().put(BRANDING_FACET, brandingFacet);
206   }
207 
208   /**
209    * The footnote information region.  This region provides a location for
210    *                 page-level information that is ancillary to the user's task.
211    */
212   final public UIComponent getInfoFootnote()
213   {
214     return getFacet(INFO_FOOTNOTE_FACET);
215   }
216 
217   /**
218    * The footnote information region.  This region provides a location for
219    *                 page-level information that is ancillary to the user's task.
220    */
221   @SuppressWarnings("unchecked")
222   final public void setInfoFootnote(UIComponent infoFootnoteFacet)
223   {
224     getFacets().put(INFO_FOOTNOTE_FACET, infoFootnoteFacet);
225   }
226 
227   /**
228    * The return information region. Typically this will contain a "return to [X]" link.
229    */
230   final public UIComponent getInfoReturn()
231   {
232     return getFacet(INFO_RETURN_FACET);
233   }
234 
235   /**
236    * The return information region. Typically this will contain a "return to [X]" link.
237    */
238   @SuppressWarnings("unchecked")
239   final public void setInfoReturn(UIComponent infoReturnFacet)
240   {
241     getFacets().put(INFO_RETURN_FACET, infoReturnFacet);
242   }
243 
244   /**
245    * The status information region. This region
246    *                 provides a location for page-level status that is important to
247    *                 the user's task.
248    */
249   final public UIComponent getInfoStatus()
250   {
251     return getFacet(INFO_STATUS_FACET);
252   }
253 
254   /**
255    * The status information region. This region
256    *                 provides a location for page-level status that is important to
257    *                 the user's task.
258    */
259   @SuppressWarnings("unchecked")
260   final public void setInfoStatus(UIComponent infoStatusFacet)
261   {
262     getFacets().put(INFO_STATUS_FACET, infoStatusFacet);
263   }
264 
265   /**
266    * The user information region.  This region provides a location for
267    *                 presenting user sign-in and connection information.
268    */
269   final public UIComponent getInfoUser()
270   {
271     return getFacet(INFO_USER_FACET);
272   }
273 
274   /**
275    * The user information region.  This region provides a location for
276    *                 presenting user sign-in and connection information.
277    */
278   @SuppressWarnings("unchecked")
279   final public void setInfoUser(UIComponent infoUserFacet)
280   {
281     getFacets().put(INFO_USER_FACET, infoUserFacet);
282   }
283 
284   /**
285    * The locator region of the page.  If present, this section
286    *                 typically contains either a processTrain, indicating the user's
287    *                 location in a multistep process, or navigationPath, containing
288    *                 links that will bring the user back to each of the parent
289    *                 pages of a tree of pages that he has navigated down into.
290    */
291   final public UIComponent getLocation()
292   {
293     return getFacet(LOCATION_FACET);
294   }
295 
296   /**
297    * The locator region of the page.  If present, this section
298    *                 typically contains either a processTrain, indicating the user's
299    *                 location in a multistep process, or navigationPath, containing
300    *                 links that will bring the user back to each of the parent
301    *                 pages of a tree of pages that he has navigated down into.
302    */
303   @SuppressWarnings("unchecked")
304   final public void setLocation(UIComponent locationFacet)
305   {
306     getFacets().put(LOCATION_FACET, locationFacet);
307   }
308 
309   /**
310    * This location typically contains tabs for the primary layer.
311    */
312   final public UIComponent getNavigation1()
313   {
314     return getFacet(NAVIGATION1_FACET);
315   }
316 
317   /**
318    * This location typically contains tabs for the primary layer.
319    */
320   @SuppressWarnings("unchecked")
321   final public void setNavigation1(UIComponent navigation1Facet)
322   {
323     getFacets().put(NAVIGATION1_FACET, navigation1Facet);
324   }
325 
326   /**
327    * This location typically contains tabs for the secondary layer.
328    */
329   final public UIComponent getNavigation2()
330   {
331     return getFacet(NAVIGATION2_FACET);
332   }
333 
334   /**
335    * This location typically contains tabs for the secondary layer.
336    */
337   @SuppressWarnings("unchecked")
338   final public void setNavigation2(UIComponent navigation2Facet)
339   {
340     getFacets().put(NAVIGATION2_FACET, navigation2Facet);
341   }
342 
343   /**
344    * An optional vertically oriented region of contexual components for the main content.  Often this contains a list or tree of links for deeper navigation structure than the global, primary, and secondary regions can provide.
345    */
346   final public UIComponent getNavigation3()
347   {
348     return getFacet(NAVIGATION3_FACET);
349   }
350 
351   /**
352    * An optional vertically oriented region of contexual components for the main content.  Often this contains a list or tree of links for deeper navigation structure than the global, primary, and secondary regions can provide.
353    */
354   @SuppressWarnings("unchecked")
355   final public void setNavigation3(UIComponent navigation3Facet)
356   {
357     getFacets().put(NAVIGATION3_FACET, navigation3Facet);
358   }
359 
360   /**
361    * This section typically contains global application links or otherwise top level navigation structure links, e.g. "Home", "Preferences", "Help", and "Sign Out".
362    */
363   final public UIComponent getNavigationGlobal()
364   {
365     return getFacet(NAVIGATION_GLOBAL_FACET);
366   }
367 
368   /**
369    * This section typically contains global application links or otherwise top level navigation structure links, e.g. "Home", "Preferences", "Help", and "Sign Out".
370    */
371   @SuppressWarnings("unchecked")
372   final public void setNavigationGlobal(UIComponent navigationGlobalFacet)
373   {
374     getFacets().put(NAVIGATION_GLOBAL_FACET, navigationGlobalFacet);
375   }
376 
377   /**
378    * The search region of the page.  Typically used for application or system-wide searches.
379    */
380   final public UIComponent getSearch()
381   {
382     return getFacet(SEARCH_FACET);
383   }
384 
385   /**
386    * The search region of the page.  Typically used for application or system-wide searches.
387    */
388   @SuppressWarnings("unchecked")
389   final public void setSearch(UIComponent searchFacet)
390   {
391     getFacets().put(SEARCH_FACET, searchFacet);
392   }
393 
394   /**
395    * Gets the CSS styles to use for this component.
396    *
397    * @return  the new inlineStyle value
398    */
399   final public String getInlineStyle()
400   {
401     return ComponentUtils.resolveString(getProperty(INLINE_STYLE_KEY));
402   }
403 
404   /**
405    * Sets the CSS styles to use for this component.
406    * 
407    * @param inlineStyle  the new inlineStyle value
408    */
409   final public void setInlineStyle(String inlineStyle)
410   {
411     setProperty(INLINE_STYLE_KEY, (inlineStyle));
412   }
413 
414   /**
415    * Gets a CSS style class to use for this component.
416    *
417    * @return  the new styleClass value
418    */
419   final public String getStyleClass()
420   {
421     return ComponentUtils.resolveString(getProperty(STYLE_CLASS_KEY));
422   }
423 
424   /**
425    * Sets a CSS style class to use for this component.
426    * 
427    * @param styleClass  the new styleClass value
428    */
429   final public void setStyleClass(String styleClass)
430   {
431     setProperty(STYLE_CLASS_KEY, (styleClass));
432   }
433 
434   /**
435    * Gets The short description of the component. This text is commonly used by user agents to display tooltip help text.
436    *
437    * @return  the new shortDesc value
438    */
439   final public String getShortDesc()
440   {
441     return ComponentUtils.resolveString(getProperty(SHORT_DESC_KEY));
442   }
443 
444   /**
445    * Sets The short description of the component. This text is commonly used by user agents to display tooltip help text.
446    * 
447    * @param shortDesc  the new shortDesc value
448    */
449   final public void setShortDesc(String shortDesc)
450   {
451     setProperty(SHORT_DESC_KEY, (shortDesc));
452   }
453 
454   /**
455    * Gets the IDs of the components that should trigger a partial update.
456    *         <p>
457    *         This component will listen on the trigger components. If one of the
458    *         trigger components receives an event that will cause it to update
459    *         in some way, this component will request to be updated too.</p>
460    *         <p>
461    *         Separate multiple triggers with a space. e.g., partialTriggers="cmp1 cmp2"
462    *         </p>
463    *         <p>
464    *         Identifiers must account for NamingContainers.  You can use a single colon to start the search from the root,
465    *         or use multiple colons to move up through the NamingContainer. For example,
466    *         "::" will pop out of this component's naming container (it pops out of itself if it is a naming container), 
467    *         ":::" will pop out of two naming containers, etc. The search for
468    *         the partialTrigger begins from there. e.g., partialTriggers=":::commandButton1" the search begins for the 
469    *         component with id = commandButton1 after popping out of two naming containers relative to this component.
470    *         To go into naming containers, you separate the naming containers with ':', e.g.,partialTriggers= "nc1:nc2:nc3:componentId".</p>
471    *
472    * @return  the new partialTriggers value
473    */
474   final public String[] getPartialTriggers()
475   {
476     return (String[])getProperty(PARTIAL_TRIGGERS_KEY);
477   }
478 
479   /**
480    * Sets the IDs of the components that should trigger a partial update.
481    *         <p>
482    *         This component will listen on the trigger components. If one of the
483    *         trigger components receives an event that will cause it to update
484    *         in some way, this component will request to be updated too.</p>
485    *         <p>
486    *         Separate multiple triggers with a space. e.g., partialTriggers="cmp1 cmp2"
487    *         </p>
488    *         <p>
489    *         Identifiers must account for NamingContainers.  You can use a single colon to start the search from the root,
490    *         or use multiple colons to move up through the NamingContainer. For example,
491    *         "::" will pop out of this component's naming container (it pops out of itself if it is a naming container), 
492    *         ":::" will pop out of two naming containers, etc. The search for
493    *         the partialTrigger begins from there. e.g., partialTriggers=":::commandButton1" the search begins for the 
494    *         component with id = commandButton1 after popping out of two naming containers relative to this component.
495    *         To go into naming containers, you separate the naming containers with ':', e.g.,partialTriggers= "nc1:nc2:nc3:componentId".</p>
496    * 
497    * @param partialTriggers  the new partialTriggers value
498    */
499   final public void setPartialTriggers(String[] partialTriggers)
500   {
501     setProperty(PARTIAL_TRIGGERS_KEY, (partialTriggers));
502   }
503 
504   /**
505    * Gets an onclick Javascript handler.
506    *
507    * @return  the new onclick value
508    */
509   final public String getOnclick()
510   {
511     return ComponentUtils.resolveString(getProperty(ONCLICK_KEY));
512   }
513 
514   /**
515    * Sets an onclick Javascript handler.
516    * 
517    * @param onclick  the new onclick value
518    */
519   final public void setOnclick(String onclick)
520   {
521     setProperty(ONCLICK_KEY, (onclick));
522   }
523 
524   /**
525    * Gets an ondblclick Javascript handler.
526    *
527    * @return  the new ondblclick value
528    */
529   final public String getOndblclick()
530   {
531     return ComponentUtils.resolveString(getProperty(ONDBLCLICK_KEY));
532   }
533 
534   /**
535    * Sets an ondblclick Javascript handler.
536    * 
537    * @param ondblclick  the new ondblclick value
538    */
539   final public void setOndblclick(String ondblclick)
540   {
541     setProperty(ONDBLCLICK_KEY, (ondblclick));
542   }
543 
544   /**
545    * Gets an onmousedown Javascript handler.
546    *
547    * @return  the new onmousedown value
548    */
549   final public String getOnmousedown()
550   {
551     return ComponentUtils.resolveString(getProperty(ONMOUSEDOWN_KEY));
552   }
553 
554   /**
555    * Sets an onmousedown Javascript handler.
556    * 
557    * @param onmousedown  the new onmousedown value
558    */
559   final public void setOnmousedown(String onmousedown)
560   {
561     setProperty(ONMOUSEDOWN_KEY, (onmousedown));
562   }
563 
564   /**
565    * Gets an onmouseup Javascript handler.
566    *
567    * @return  the new onmouseup value
568    */
569   final public String getOnmouseup()
570   {
571     return ComponentUtils.resolveString(getProperty(ONMOUSEUP_KEY));
572   }
573 
574   /**
575    * Sets an onmouseup Javascript handler.
576    * 
577    * @param onmouseup  the new onmouseup value
578    */
579   final public void setOnmouseup(String onmouseup)
580   {
581     setProperty(ONMOUSEUP_KEY, (onmouseup));
582   }
583 
584   /**
585    * Gets an onmouseover Javascript handler.
586    *
587    * @return  the new onmouseover value
588    */
589   final public String getOnmouseover()
590   {
591     return ComponentUtils.resolveString(getProperty(ONMOUSEOVER_KEY));
592   }
593 
594   /**
595    * Sets an onmouseover Javascript handler.
596    * 
597    * @param onmouseover  the new onmouseover value
598    */
599   final public void setOnmouseover(String onmouseover)
600   {
601     setProperty(ONMOUSEOVER_KEY, (onmouseover));
602   }
603 
604   /**
605    * Gets an onmousemove Javascript handler.
606    *
607    * @return  the new onmousemove value
608    */
609   final public String getOnmousemove()
610   {
611     return ComponentUtils.resolveString(getProperty(ONMOUSEMOVE_KEY));
612   }
613 
614   /**
615    * Sets an onmousemove Javascript handler.
616    * 
617    * @param onmousemove  the new onmousemove value
618    */
619   final public void setOnmousemove(String onmousemove)
620   {
621     setProperty(ONMOUSEMOVE_KEY, (onmousemove));
622   }
623 
624   /**
625    * Gets an onmouseout Javascript handler.
626    *
627    * @return  the new onmouseout value
628    */
629   final public String getOnmouseout()
630   {
631     return ComponentUtils.resolveString(getProperty(ONMOUSEOUT_KEY));
632   }
633 
634   /**
635    * Sets an onmouseout Javascript handler.
636    * 
637    * @param onmouseout  the new onmouseout value
638    */
639   final public void setOnmouseout(String onmouseout)
640   {
641     setProperty(ONMOUSEOUT_KEY, (onmouseout));
642   }
643 
644   /**
645    * Gets an onkeypress Javascript handler.
646    *
647    * @return  the new onkeypress value
648    */
649   final public String getOnkeypress()
650   {
651     return ComponentUtils.resolveString(getProperty(ONKEYPRESS_KEY));
652   }
653 
654   /**
655    * Sets an onkeypress Javascript handler.
656    * 
657    * @param onkeypress  the new onkeypress value
658    */
659   final public void setOnkeypress(String onkeypress)
660   {
661     setProperty(ONKEYPRESS_KEY, (onkeypress));
662   }
663 
664   /**
665    * Gets an onkeydown Javascript handler.
666    *
667    * @return  the new onkeydown value
668    */
669   final public String getOnkeydown()
670   {
671     return ComponentUtils.resolveString(getProperty(ONKEYDOWN_KEY));
672   }
673 
674   /**
675    * Sets an onkeydown Javascript handler.
676    * 
677    * @param onkeydown  the new onkeydown value
678    */
679   final public void setOnkeydown(String onkeydown)
680   {
681     setProperty(ONKEYDOWN_KEY, (onkeydown));
682   }
683 
684   /**
685    * Gets an onkeyup Javascript handler.
686    *
687    * @return  the new onkeyup value
688    */
689   final public String getOnkeyup()
690   {
691     return ComponentUtils.resolveString(getProperty(ONKEYUP_KEY));
692   }
693 
694   /**
695    * Sets an onkeyup Javascript handler.
696    * 
697    * @param onkeyup  the new onkeyup value
698    */
699   final public void setOnkeyup(String onkeyup)
700   {
701     setProperty(ONKEYUP_KEY, (onkeyup));
702   }
703 
704   /**
705    * Gets Specifies the number of pixels that the auxiliary1 content should consume (this is a width if the orientationis "start" or "end" or a height if the orientation is "bottom").
706    *
707    * @return  the new auxiliary1Size value
708    */
709   final public int getAuxiliary1Size()
710   {
711     return ComponentUtils.resolveInteger(getProperty(AUXILIARY1SIZE_KEY), 200);
712   }
713 
714   /**
715    * Sets Specifies the number of pixels that the auxiliary1 content should consume (this is a width if the orientationis "start" or "end" or a height if the orientation is "bottom").
716    * 
717    * @param auxiliary1Size  the new auxiliary1Size value
718    */
719   final public void setAuxiliary1Size(int auxiliary1Size)
720   {
721     setProperty(AUXILIARY1SIZE_KEY, Integer.valueOf(auxiliary1Size));
722   }
723 
724   /**
725    * Gets Specifies the number of pixels that the auxiliary2 content should consume (this is a width if the orientationis "start" or "end" or a height if the orientation is "bottom").
726    *
727    * @return  the new auxiliary2Size value
728    */
729   final public int getAuxiliary2Size()
730   {
731     return ComponentUtils.resolveInteger(getProperty(AUXILIARY2SIZE_KEY), 200);
732   }
733 
734   /**
735    * Sets Specifies the number of pixels that the auxiliary2 content should consume (this is a width if the orientationis "start" or "end" or a height if the orientation is "bottom").
736    * 
737    * @param auxiliary2Size  the new auxiliary2Size value
738    */
739   final public void setAuxiliary2Size(int auxiliary2Size)
740   {
741     setProperty(AUXILIARY2SIZE_KEY, Integer.valueOf(auxiliary2Size));
742   }
743 
744   /**
745    * Gets Specifies the number of pixels that the auxiliaryGlobal content should consume (this is a width if the orientationis "start" or "end" or a height if the orientation is "bottom").
746    *
747    * @return  the new auxiliaryGlobalSize value
748    */
749   final public int getAuxiliaryGlobalSize()
750   {
751     return ComponentUtils.resolveInteger(getProperty(AUXILIARY_GLOBAL_SIZE_KEY), 200);
752   }
753 
754   /**
755    * Sets Specifies the number of pixels that the auxiliaryGlobal content should consume (this is a width if the orientationis "start" or "end" or a height if the orientation is "bottom").
756    * 
757    * @param auxiliaryGlobalSize  the new auxiliaryGlobalSize value
758    */
759   final public void setAuxiliaryGlobalSize(int auxiliaryGlobalSize)
760   {
761     setProperty(AUXILIARY_GLOBAL_SIZE_KEY, Integer.valueOf(auxiliaryGlobalSize));
762   }
763 
764   @Override
765   public String getDefaultEventName()
766   {
767     return "click";
768   }
769 
770   @Override
771   public Collection<String> getEventNames()
772   {
773     return _EVENT_NAMES;
774   }
775 
776   @Override
777   public Map<String, List<ClientBehavior>> getClientBehaviors()
778   {
779     return super.getClientBehaviors();
780   }
781 
782   @Override
783   public void addClientBehavior(
784     String         eventName,
785     ClientBehavior behavior)
786   {
787     super.addClientBehavior(eventName, behavior);
788   }
789 
790   @Override
791   public String getFamily()
792   {
793     return COMPONENT_FAMILY;
794   }
795 
796   @Override
797   protected FacesBean.Type getBeanType()
798   {
799     return TYPE;
800   }
801 
802   /**
803    * Construct an instance of the CorePanelPage.
804    */
805   protected CorePanelPage(
806     String rendererType
807     )
808   {
809     super(rendererType);
810   }
811 
812   static
813   {
814     TYPE.lockAndRegister("org.apache.myfaces.trinidad.Panel","org.apache.myfaces.trinidad.Page");
815   }
816 }