Class SuperfishLibrarySettings
- java.lang.Object
-
- com.googlecode.wicket.jquery.ui.plugins.sfmenu.settings.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 Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SuperfishLibrarySettings
get()
Gets theSuperfishLibrarySettings
instanceorg.apache.wicket.request.resource.ResourceReference
getStyleSheetReference()
Gets the superfish stylesheet resource referenceorg.apache.wicket.request.resource.ResourceReference
getVerticalStyleSheetReference()
Gets the superfish vertical stylesheet resource referencevoid
setStylesheetReference(org.apache.wicket.request.resource.ResourceReference reference)
Sets the superfish stylesheet resource referencevoid
setVerticalStyleSheetReference(org.apache.wicket.request.resource.ResourceReference reference)
Sets the superfish stylesheet resource reference
-
-
-
Method Detail
-
get
public static SuperfishLibrarySettings get()
Gets theSuperfishLibrarySettings
instance- Returns:
- the
SuperfishLibrarySettings
instance
-
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
- theResourceReference
-
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
- theResourceReference
-
-