public interface IKendoUILibrarySettings
extends org.apache.wicket.settings.IJavaScriptLibrarySettings
public class MyApplication extends WebApplication
{
public void init()
{
super.init();
this.getMarkupSettings().setStripWicketTags(true);
this.setJavaScriptLibrarySettings(new MyJQueryLibrarySettings());
}
static class MyJQueryLibrarySettings extends JQueryLibrarySettings implements IKendoUILibrarySettings
{
private static ResourceReference THEME_CSS_RR = new CssResourceReference(...);
private static ResourceReference COMMON_CSS_RR = new CssResourceReference(...);
private static ResourceReference JAVASCRIPT_RR = new JavaScriptResourceReference(...);
public ResourceReference getKendoUICommonStyleSheetReference()
{
return COMMON_CSS_RR; //may be null; will use the one declared in the markup
}
public ResourceReference getKendoUIThemeStyleSheetReference()
{
return THEME_CSS_RR; //may be null; will use the one declared in the markup
}
public ResourceReference getKendoUIJavaScriptReference()
{
return JAVASCRIPT_RR; //may be null; will use the embedded one
}
}
}
| Modifier and Type | Method and Description |
|---|---|
org.apache.wicket.request.resource.ResourceReference |
getKendoUICommonStyleSheetReference()
Gets the Kendo UI common stylesheet resource reference
|
org.apache.wicket.request.resource.ResourceReference |
getKendoUIJavaScriptReference()
Gets the Kendo UI javascript resource reference
|
org.apache.wicket.request.resource.ResourceReference |
getKendoUIThemeStyleSheetReference()
Gets the Kendo UI theme stylesheet resource reference
|
org.apache.wicket.request.resource.ResourceReference getKendoUICommonStyleSheetReference()
ResourceReferenceorg.apache.wicket.request.resource.ResourceReference getKendoUIThemeStyleSheetReference()
ResourceReferenceorg.apache.wicket.request.resource.ResourceReference getKendoUIJavaScriptReference()
ResourceReferenceCopyright © 2014 7thWeb. All Rights Reserved.