Class StandardThemeProvider

  • All Implemented Interfaces:
    org.zkoss.zk.ui.util.ThemeProvider

    public class StandardThemeProvider
    extends java.lang.Object
    implements org.zkoss.zk.ui.util.ThemeProvider
    A standard implementation of ThemeProvider for ZK CE, which works with the Breeze series themes
    Author:
    simonpai, jumperchen, neillee
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.zkoss.zk.ui.util.ThemeProvider

        org.zkoss.zk.ui.util.ThemeProvider.Aide
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String DEFAULT_WCS
      Default theme css file
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String beforeWCS​(org.zkoss.zk.ui.Execution exec, java.lang.String uri)  
      java.lang.String beforeWidgetCSS​(org.zkoss.zk.ui.Execution exec, java.lang.String uri)  
      protected static java.lang.String getThemeFileSuffix()  
      java.util.Collection<java.lang.Object> getThemeURIs​(org.zkoss.zk.ui.Execution exec, java.util.List<java.lang.Object> uris)  
      int getWCSCacheControl​(org.zkoss.zk.ui.Execution exec, java.lang.String uri)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • DEFAULT_WCS

        public static final java.lang.String DEFAULT_WCS
        Default theme css file
        See Also:
        Constant Field Values
    • Constructor Detail

      • StandardThemeProvider

        public StandardThemeProvider()
    • Method Detail

      • getThemeFileSuffix

        protected static java.lang.String getThemeFileSuffix()
      • getThemeURIs

        public java.util.Collection<java.lang.Object> getThemeURIs​(org.zkoss.zk.ui.Execution exec,
                                                                   java.util.List<java.lang.Object> uris)
        Specified by:
        getThemeURIs in interface org.zkoss.zk.ui.util.ThemeProvider
      • getWCSCacheControl

        public int getWCSCacheControl​(org.zkoss.zk.ui.Execution exec,
                                      java.lang.String uri)
        Specified by:
        getWCSCacheControl in interface org.zkoss.zk.ui.util.ThemeProvider
      • beforeWCS

        public java.lang.String beforeWCS​(org.zkoss.zk.ui.Execution exec,
                                          java.lang.String uri)
        Specified by:
        beforeWCS in interface org.zkoss.zk.ui.util.ThemeProvider
      • beforeWidgetCSS

        public java.lang.String beforeWidgetCSS​(org.zkoss.zk.ui.Execution exec,
                                                java.lang.String uri)
        Specified by:
        beforeWidgetCSS in interface org.zkoss.zk.ui.util.ThemeProvider