public class SuperfishLibrarySettings extends Object
public class MyApplication extends WebApplication
{
public void init()
{
super.init();
SuperfishLibrarySettings settings = SuperfishLibrarySettings.get();
settings.setStyleSheetReference(new CssResourceReference(...));
settings.setVerticalStyleSheetReference(new CssResourceReference(...));
}
}
| Modifier and Type | Method and Description |
|---|---|
static SuperfishLibrarySettings |
get()
Gets the
SuperfishLibrarySettings instance |
org.apache.wicket.request.resource.ResourceReference |
getStyleSheetReference()
Gets the superfish stylesheet resource reference
|
org.apache.wicket.request.resource.ResourceReference |
getVerticalStyleSheetReference()
Gets the superfish vertical stylesheet resource reference
|
void |
setStylesheetReference(org.apache.wicket.request.resource.ResourceReference reference)
Sets the superfish stylesheet resource reference
|
void |
setVerticalStyleSheetReference(org.apache.wicket.request.resource.ResourceReference reference)
Sets the superfish stylesheet resource reference
|
public static SuperfishLibrarySettings get()
SuperfishLibrarySettings instanceSuperfishLibrarySettings instancepublic org.apache.wicket.request.resource.ResourceReference getStyleSheetReference()
ResourceReferencepublic void setStylesheetReference(org.apache.wicket.request.resource.ResourceReference reference)
reference - the ResourceReferencepublic org.apache.wicket.request.resource.ResourceReference getVerticalStyleSheetReference()
ResourceReferencepublic void setVerticalStyleSheetReference(org.apache.wicket.request.resource.ResourceReference reference)
reference - the ResourceReferenceCopyright © 2022 7thWeb. All rights reserved.