Class SuperfishLibrarySettings


  • public class SuperfishLibrarySettings
    extends Object
    Provides library settings for superfish css resource references

    Usage:
     
     public class MyApplication extends WebApplication
     {
         public void init()
         {
             super.init();
    
             SuperfishLibrarySettings settings = SuperfishLibrarySettings.get();
             settings.setStyleSheetReference(new CssResourceReference(...));
             settings.setVerticalStyleSheetReference(new CssResourceReference(...));
         }
     }
     
     
    Since:
    6.12.0
    Author:
    Ludger Kluitmann - JavaLuigi
    • Method Detail

      • getStyleSheetReference

        public org.apache.wicket.request.resource.ResourceReference getStyleSheetReference()
        Gets the superfish stylesheet resource reference
        Returns:
        the ResourceReference
      • setStylesheetReference

        public void setStylesheetReference​(org.apache.wicket.request.resource.ResourceReference reference)
        Sets the superfish stylesheet resource reference
        Parameters:
        reference - the ResourceReference
      • getVerticalStyleSheetReference

        public org.apache.wicket.request.resource.ResourceReference getVerticalStyleSheetReference()
        Gets the superfish vertical stylesheet resource reference
        Returns:
        the ResourceReference
      • setVerticalStyleSheetReference

        public void setVerticalStyleSheetReference​(org.apache.wicket.request.resource.ResourceReference reference)
        Sets the superfish stylesheet resource reference
        Parameters:
        reference - the ResourceReference