Package org.wicketstuff.select2
Class ApplicationSettings
- java.lang.Object
-
- org.wicketstuff.select2.ApplicationSettings
-
public class ApplicationSettings extends Object
Application-wide settings that apply to all Select2 components. The settings object is retreived via the staticget()
method and is usually configured in theWebApplication.init()
method.- Author:
- igor
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ApplicationSettings
get()
Retrieves the instance of settings object.ResourceReference
getCssReference()
ResourceReference
getJavaScriptReference()
ResourceReference
getJavaScriptReferenceFull()
boolean
isIncludeCss()
boolean
isIncludeJavascript()
boolean
isIncludeJavascriptFull()
ApplicationSettings
setCssReference(ResourceReference cssReference)
ApplicationSettings
setIncludeCss(boolean includeCss)
ApplicationSettings
setIncludeJavascript(boolean includeJavascript)
ApplicationSettings
setIncludeJavascriptFull(boolean includeJavascriptFull)
ApplicationSettings
setJavaScriptReference(ResourceReference javaScriptReference)
ApplicationSettings
setJavascriptReferenceFull(ResourceReference javaScriptReferenceFull)
-
-
-
Method Detail
-
isIncludeJavascript
public boolean isIncludeJavascript()
-
setIncludeJavascript
public ApplicationSettings setIncludeJavascript(boolean includeJavascript)
-
isIncludeCss
public boolean isIncludeCss()
-
setIncludeCss
public ApplicationSettings setIncludeCss(boolean includeCss)
-
getJavaScriptReference
public ResourceReference getJavaScriptReference()
-
setJavaScriptReference
public ApplicationSettings setJavaScriptReference(ResourceReference javaScriptReference)
-
getCssReference
public ResourceReference getCssReference()
-
setCssReference
public ApplicationSettings setCssReference(ResourceReference cssReference)
-
isIncludeJavascriptFull
public boolean isIncludeJavascriptFull()
-
setIncludeJavascriptFull
public ApplicationSettings setIncludeJavascriptFull(boolean includeJavascriptFull)
-
getJavaScriptReferenceFull
public ResourceReference getJavaScriptReferenceFull()
-
setJavascriptReferenceFull
public ApplicationSettings setJavascriptReferenceFull(ResourceReference javaScriptReferenceFull)
-
get
public static ApplicationSettings get()
Retrieves the instance of settings object.- Returns:
- settings instance
-
-