KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > portal > faces > component > UIMobilePage


1 /***************************************************************************
2  * Copyright 2001-2003 The eXo Platform SARL All rights reserved. *
3  * Please look at license.txt in info directory for more license detail. *
4  **************************************************************************/

5
6 /**
7  * Jul 5, 2004, 2:29:15 PM
8  * @author: F. MORON
9  * @email: francois.moron@rd.francetelecom.com
10  *
11  * */

12 package org.exoplatform.portal.faces.component;
13
14 public class UIMobilePage extends UISinglePage {
15       public static final String JavaDoc DEFAULT_RENDERER_TYPE = "MobilePageRenderer";
16       
17       public UIMobilePage() {
18         super();
19         setRendererType(getRendererType());
20         setId("mobile-page");
21       }
22
23       public String JavaDoc getFamily() { return "org.exoplatform.portal.faces.component.UIMobilePage" ; }
24       public String JavaDoc getIdPrefix() { return "mp" ; }
25       protected String JavaDoc getDefaultRendererType() { return DEFAULT_RENDERER_TYPE ; }
26
27       public String JavaDoc getRendererType() {
28             return DEFAULT_RENDERER_TYPE;
29       }
30 }
31
Popular Tags