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 SuperfishLibrarySettingsget()Gets theSuperfishLibrarySettingsinstanceorg.apache.wicket.request.resource.ResourceReferencegetStyleSheetReference()Gets the superfish stylesheet resource referenceorg.apache.wicket.request.resource.ResourceReferencegetVerticalStyleSheetReference()Gets the superfish vertical stylesheet resource referencevoidsetStylesheetReference(org.apache.wicket.request.resource.ResourceReference reference)Sets the superfish stylesheet resource referencevoidsetVerticalStyleSheetReference(org.apache.wicket.request.resource.ResourceReference reference)Sets the superfish stylesheet resource reference
-
-
-
Method Detail
-
get
public static SuperfishLibrarySettings get()
Gets theSuperfishLibrarySettingsinstance- Returns:
- the
SuperfishLibrarySettingsinstance
-
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
-
-