Package org.zkoss.zkplus.theme

Examples of org.zkoss.zkplus.theme.StandardThemeProvider


  private final static String SAPPHIRE_DISPLAY = "Sapphire";
  private final static int SAPPHIRE_PRIORITY = 700;
 
  public void init(WebApp webapp) throws Exception {
    if (webapp.getConfiguration().getThemeProvider() == null)
      webapp.getConfiguration().setThemeProvider(new StandardThemeProvider());
   
    Themes.register(Themes.CLASSICBLUE_NAME, Themes.CLASSICBLUE_DISPLAY, Themes.CLASSICBLUE_PRIORITY);
    Themes.register(SAPPHIRE_NAME, SAPPHIRE_DISPLAY, SAPPHIRE_PRIORITY);
  }
View Full Code Here


  private final static String SILVERTAIL_DISPLAY = "Silvertail";
  private final static int SILVERTAIL_PRIORITY = 600;
 
  public void init(WebApp webapp) throws Exception {
    if (webapp.getConfiguration().getThemeProvider() == null)
      webapp.getConfiguration().setThemeProvider(new StandardThemeProvider());
   
    Themes.register(Themes.CLASSICBLUE_NAME, Themes.CLASSICBLUE_DISPLAY, Themes.CLASSICBLUE_PRIORITY);
    Themes.register(SILVERTAIL_NAME, SILVERTAIL_DISPLAY, SILVERTAIL_PRIORITY);
  }
View Full Code Here

  private final static String BREEZE_DISPLAY = "Breeze";
  private final static int BREEZE_PRIORITY = 500;
 
  public void init(WebApp webapp) throws Exception {
    if (webapp.getConfiguration().getThemeProvider() == null)
      webapp.getConfiguration().setThemeProvider(new StandardThemeProvider());
   
    Themes.register(Themes.CLASSICBLUE_NAME, Themes.CLASSICBLUE_DISPLAY, Themes.CLASSICBLUE_PRIORITY);
    Themes.register(BREEZE_NAME, BREEZE_DISPLAY, BREEZE_PRIORITY);
  }
View Full Code Here

TOP

Related Classes of org.zkoss.zkplus.theme.StandardThemeProvider

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.