本文整理汇总了Java中de.agilecoders.wicket.themes.markup.html.bootswatch.BootswatchTheme类的典型用法代码示例。如果您正苦于以下问题:Java BootswatchTheme类的具体用法?Java BootswatchTheme怎么用?Java BootswatchTheme使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
BootswatchTheme类属于de.agilecoders.wicket.themes.markup.html.bootswatch包,在下文中一共展示了BootswatchTheme类的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getInitializerOverride
import de.agilecoders.wicket.themes.markup.html.bootswatch.BootswatchTheme; //导入依赖的package包/类
@Override
public WebApplicationInitializer getInitializerOverride() {
return new WebApplicationInitializer() {
@Override
protected BootstrapExtensionsHeaderContributor newBootstrapExtensionsHeaderContributor(
final BootstrapSettings bootstrapSettings) {
return new BootstrapExtensionsHeaderContributor(bootstrapSettings) {
@Override
protected void renderHeadAfterBootstrap(final IHeaderResponse response) {
super.renderHeadAfterBootstrap(response);
new BootswatchThemeProvider(BootswatchTheme.Cerulean).defaultTheme().renderHead(response);
CeruleanExtentionsCssReference.INSTANCE.renderHead(response);
}
};
}
};
}
示例2: init
import de.agilecoders.wicket.themes.markup.html.bootswatch.BootswatchTheme; //导入依赖的package包/类
@Override
public void init() {
super.init();
getDebugSettings().setAjaxDebugModeEnabled(false);
getExceptionSettings().setUnexpectedExceptionDisplay(ExceptionSettings.SHOW_EXCEPTION_PAGE);
getComponentInstantiationListeners().add(new SpringComponentInjector(this));
final IBootstrapSettings bootstrapSettings = new BootstrapSettings()
.useCdnResources(getConfigurationType() == RuntimeConfigurationType.DEPLOYMENT)
.setThemeProvider(new SingleThemeProvider(BootswatchTheme.Cosmo));
Bootstrap.install(this, bootstrapSettings);
//Howler.install(this);
mountPages();
}
示例3: init
import de.agilecoders.wicket.themes.markup.html.bootswatch.BootswatchTheme; //导入依赖的package包/类
@Override
public void init() {
super.init();
getDebugSettings().setAjaxDebugModeEnabled(false);
getExceptionSettings().setUnexpectedExceptionDisplay(ExceptionSettings.SHOW_EXCEPTION_PAGE);
getComponentInstantiationListeners().add(new SpringComponentInjector(this));
final IBootstrapSettings bootstrapSettings = new BootstrapSettings()
.useCdnResources(getConfigurationType() == RuntimeConfigurationType.DEPLOYMENT)
.setThemeProvider(new SingleThemeProvider(BootswatchTheme.Cosmo));
Bootstrap.install(this, bootstrapSettings);
//Howler.install(this);
((SecurePackageResourceGuard) getResourceSettings().getPackageResourceGuard()).addPattern("+*.map");
JQueryFix1_12_1.apply(this);
mountPages();
}
示例4: init
import de.agilecoders.wicket.themes.markup.html.bootswatch.BootswatchTheme; //导入依赖的package包/类
@Override
protected void init() {
super.init();
IBootstrapSettings settings = Bootstrap.getSettings();
// settings.setThemeProvider(new BootswatchThemeProvider(BootswatchTheme.Flatly));
settings.setThemeProvider(new BootswatchThemeProvider(BootswatchTheme.Sandstone));
}
示例5: init
import de.agilecoders.wicket.themes.markup.html.bootswatch.BootswatchTheme; //导入依赖的package包/类
@Override
protected void init() {
super.init();
IBootstrapSettings settings = Bootstrap.getSettings();
settings.setThemeProvider(new BootswatchThemeProvider(BootswatchTheme.Flatly));
}
示例6: init
import de.agilecoders.wicket.themes.markup.html.bootswatch.BootswatchTheme; //导入依赖的package包/类
@Override
protected void init() {
super.init();
IBootstrapSettings settings = Bootstrap.getSettings();
settings.setThemeProvider(new BootswatchThemeProvider(BootswatchTheme.Sandstone));
}
示例7: init
import de.agilecoders.wicket.themes.markup.html.bootswatch.BootswatchTheme; //导入依赖的package包/类
@Override
protected void init() {
super.init();
final IBootstrapSettings settings = Bootstrap.getSettings();
settings.setThemeProvider(new BootswatchThemeProvider(BootswatchTheme.Flatly));
settings.setActiveThemeProvider(new EcpCrmUserSettingsThemeProvider(settings));
}
示例8: initBootstrap
import de.agilecoders.wicket.themes.markup.html.bootswatch.BootswatchTheme; //导入依赖的package包/类
private void initBootstrap() {
BootstrapSettings settings = new BootstrapSettings();
final ThemeProvider themeProvider = new BootswatchThemeProvider(BootswatchTheme.Spacelab);
settings.setThemeProvider(themeProvider);
Bootstrap.install(this, settings);
}
示例9: init
import de.agilecoders.wicket.themes.markup.html.bootswatch.BootswatchTheme; //导入依赖的package包/类
@Override
protected void init() {
super.init();
final IBootstrapSettings settings = Bootstrap.getSettings();
settings.setThemeProvider(new BootswatchThemeProvider(BootswatchTheme.Flatly));
settings.setActiveThemeProvider(new DomainAppUserSettingsThemeProvider(settings));
}
示例10: init
import de.agilecoders.wicket.themes.markup.html.bootswatch.BootswatchTheme; //导入依赖的package包/类
@Override
protected void init() {
super.init();
final IBootstrapSettings settings = Bootstrap.getSettings();
settings.setThemeProvider(new BootswatchThemeProvider(BootswatchTheme.Flatly));
settings.setActiveThemeProvider(new UserSettingsThemeProvider(settings));
}
示例11: init
import de.agilecoders.wicket.themes.markup.html.bootswatch.BootswatchTheme; //导入依赖的package包/类
@Override
protected void init() {
super.init();
getDebugSettings().setOutputMarkupContainerClassName(true);
getMarkupSettings().setStripWicketTags(true);
getDebugSettings().setAjaxDebugModeEnabled(false);
IBootstrapSettings settings = Bootstrap.getSettings();
settings.setThemeProvider(new BootswatchThemeProvider(BootswatchTheme.Flatly));
}
示例12: configureBootstrap
import de.agilecoders.wicket.themes.markup.html.bootswatch.BootswatchTheme; //导入依赖的package包/类
private void configureBootstrap() {
final IBootstrapSettings settings = new BootstrapSettings();
settings.useCdnResources(true);
final ThemeProvider themeProvider = new BootswatchThemeProvider(BootswatchTheme.Spacelab);
settings.setThemeProvider(themeProvider);
Bootstrap.install(this, settings);
BootstrapLess.install(this);
}