public class BootstrapSettings extends Object implements IBootstrapSettings
IBootstrapSettings implementationIBootstrapSettings| Constructor and Description |
|---|
BootstrapSettings()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ActiveThemeProvider |
getActiveThemeProvider() |
org.apache.wicket.request.resource.ResourceReference |
getCssResourceReference() |
String |
getJsResourceFilterName() |
org.apache.wicket.request.resource.ResourceReference |
getJsResourceReference() |
ThemeProvider |
getThemeProvider() |
BootstrapSettings |
setActiveThemeProvider(ActiveThemeProvider activeThemeProvider)
The
ActiveThemeProvider provides access to the active theme |
IBootstrapSettings |
setCssResourceReference(org.apache.wicket.request.resource.ResourceReference reference) |
IBootstrapSettings |
setJsResourceFilterName(String name)
sets the filter name for all bootstrap js resource references
|
BootstrapSettings |
setJsResourceReference(org.apache.wicket.request.resource.ResourceReference bootstrapJavaScriptReference) |
BootstrapSettings |
setThemeProvider(ThemeProvider themeProvider)
The
ThemeProvider instance provides access to all available themes. |
IBootstrapSettings |
setUpdateSecurityManager(boolean activate)
if true, all necessary exceptions will be added to security manager to allow
fonts and less files.
|
boolean |
updateSecurityManager()
if true, all necessary exceptions will be added to security manager to allow
fonts and less files.
|
public org.apache.wicket.request.resource.ResourceReference getCssResourceReference()
getCssResourceReference in interface IBootstrapSettingspublic org.apache.wicket.request.resource.ResourceReference getJsResourceReference()
getJsResourceReference in interface IBootstrapSettingspublic String getJsResourceFilterName()
getJsResourceFilterName in interface IBootstrapSettingspublic ActiveThemeProvider getActiveThemeProvider()
getActiveThemeProvider in interface IBootstrapSettingsActiveThemeProvider instancepublic ThemeProvider getThemeProvider()
getThemeProvider in interface IBootstrapSettingsThemeProvider instancepublic boolean updateSecurityManager()
IBootstrapSettingsupdateSecurityManager in interface IBootstrapSettingspublic IBootstrapSettings setCssResourceReference(org.apache.wicket.request.resource.ResourceReference reference)
setCssResourceReference in interface IBootstrapSettingsreference - a reference to the base twitter bootstrap css library.
Defaults to the embedded bootstrap-responsive.csspublic BootstrapSettings setJsResourceReference(org.apache.wicket.request.resource.ResourceReference bootstrapJavaScriptReference)
setJsResourceReference in interface IBootstrapSettingsbootstrapJavaScriptReference - a reference to the base twitter bootstrap JavaScript library.
Defaults to the embedded bootstrap.jspublic IBootstrapSettings setJsResourceFilterName(String name)
IBootstrapSettingssetJsResourceFilterName in interface IBootstrapSettingsname - javascript resource filter namepublic IBootstrapSettings setUpdateSecurityManager(boolean activate)
IBootstrapSettingssetUpdateSecurityManager in interface IBootstrapSettingsactivate - true, if security manger should be updated while installing these settingspublic BootstrapSettings setActiveThemeProvider(ActiveThemeProvider activeThemeProvider)
IBootstrapSettingsActiveThemeProvider provides access to the active themesetActiveThemeProvider in interface IBootstrapSettingsactiveThemeProvider - The ActiveThemeProvider instancepublic BootstrapSettings setThemeProvider(ThemeProvider themeProvider)
IBootstrapSettingsThemeProvider instance provides access to all available themes.setThemeProvider in interface IBootstrapSettingsthemeProvider - The ThemeProvider instanceCopyright © 2013 agilecoders.de. All Rights Reserved.