Class ButterfacesProperties
- java.lang.Object
-
- org.joinfaces.autoconfigure.butterfaces.ButterfacesProperties
-
- All Implemented Interfaces:
ServletContextInitParameterProperties
@ConfigurationProperties(prefix="joinfaces.butterfaces") public class ButterfacesProperties extends java.lang.Object implements ServletContextInitParameterProperties
Configuration properties of ButterFaces. Taken from https://butterfaces.gitbooks.io/butterfaces/content/configuration.html and org.butterfaces.resolver.WebXmlParameters.java
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ButterfacesProperties.Glyphicon
Glyphicon class of collapsing, expansion, options, refresh and order properties.static class
ButterfacesProperties.Integration
Integration class of primefaces properties.static class
ButterfacesProperties.Treebox
Treebox class of specific tree box properties.
-
Constructor Summary
Constructors Constructor Description ButterfacesProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.lang.Boolean
getAjaxDisableRenderRegionsOnRequest()
b:commandLink components comes with ajaxDisableRenderRegionsOnRequest to crossfade render regions while ajax request is running.java.lang.String
getAjaxProcessingGlyphiconOnRequest()
java.lang.String
getAjaxProcessingTextOnRequest()
java.lang.Boolean
getAutoTrimInputFields()
By default all input fields will be trimed after submit.ButterfacesProperties.Glyphicon
getGlyphicon()
ButterfacesProperties.Integration
getIntegration()
java.lang.String
getMaxLengthText()
When using maxlength parameter counting text will be {0} of {1} characters.java.lang.String
getNoEntriesText()
b:tree and b:treeBox are trivial components and can be configured by components attribute or by changeing following parameters.java.lang.Boolean
getProvideBootstrap()
As default ButterFaces comes with an actual version of Bootstrap 3.x.java.lang.Boolean
getProvideJQuery()
As default ButterFaces comes with an actual version of jQuery 2.x.java.lang.String
getSpinnerText()
b:tree and b:treeBox are trivial components and can be configured by components attribute or by changeing following parameters.ButterfacesProperties.Treebox
getTreebox()
java.lang.Boolean
getUseCompressedResources()
Each components comes up with it's own javascript and css resources.int
hashCode()
void
setAjaxDisableRenderRegionsOnRequest(java.lang.Boolean ajaxDisableRenderRegionsOnRequest)
b:commandLink components comes with ajaxDisableRenderRegionsOnRequest to crossfade render regions while ajax request is running.void
setAjaxProcessingGlyphiconOnRequest(java.lang.String ajaxProcessingGlyphiconOnRequest)
void
setAjaxProcessingTextOnRequest(java.lang.String ajaxProcessingTextOnRequest)
void
setAutoTrimInputFields(java.lang.Boolean autoTrimInputFields)
By default all input fields will be trimed after submit.void
setMaxLengthText(java.lang.String maxLengthText)
When using maxlength parameter counting text will be {0} of {1} characters.void
setNoEntriesText(java.lang.String noEntriesText)
b:tree and b:treeBox are trivial components and can be configured by components attribute or by changeing following parameters.void
setProvideBootstrap(java.lang.Boolean provideBootstrap)
As default ButterFaces comes with an actual version of Bootstrap 3.x.void
setProvideJQuery(java.lang.Boolean provideJQuery)
As default ButterFaces comes with an actual version of jQuery 2.x.void
setSpinnerText(java.lang.String spinnerText)
b:tree and b:treeBox are trivial components and can be configured by components attribute or by changeing following parameters.void
setUseCompressedResources(java.lang.Boolean useCompressedResources)
Each components comes up with it's own javascript and css resources.java.lang.String
toString()
-
-
-
Method Detail
-
getAjaxDisableRenderRegionsOnRequest
public java.lang.Boolean getAjaxDisableRenderRegionsOnRequest()
b:commandLink components comes with ajaxDisableRenderRegionsOnRequest to crossfade render regions while ajax request is running. To configure this for global usage add following parameter
-
getAjaxProcessingGlyphiconOnRequest
public java.lang.String getAjaxProcessingGlyphiconOnRequest()
-
getAjaxProcessingTextOnRequest
public java.lang.String getAjaxProcessingTextOnRequest()
-
getAutoTrimInputFields
public java.lang.Boolean getAutoTrimInputFields()
By default all input fields will be trimed after submit.
-
getProvideBootstrap
public java.lang.Boolean getProvideBootstrap()
As default ButterFaces comes with an actual version of Bootstrap 3.x. To disable ButterFaces Boostrap version because of using your own version you have to change following parameter
-
getGlyphicon
public ButterfacesProperties.Glyphicon getGlyphicon()
-
getTreebox
public ButterfacesProperties.Treebox getTreebox()
-
getProvideJQuery
public java.lang.Boolean getProvideJQuery()
As default ButterFaces comes with an actual version of jQuery 2.x. To disable ButterFaces jQuery version because of using your own version you have to change following parameter
-
getMaxLengthText
public java.lang.String getMaxLengthText()
When using maxlength parameter counting text will be {0} of {1} characters.
-
getNoEntriesText
public java.lang.String getNoEntriesText()
b:tree and b:treeBox are trivial components and can be configured by components attribute or by changeing following parameters.
-
getSpinnerText
public java.lang.String getSpinnerText()
b:tree and b:treeBox are trivial components and can be configured by components attribute or by changeing following parameters.
-
getUseCompressedResources
public java.lang.Boolean getUseCompressedResources()
Each components comes up with it's own javascript and css resources. If you want to use ButterFaces resources (i.e. Bootstrap or jQuery) without any ButterFaces component use b:activateLibraries to load all resources to html. This tags add javascript and css resources for all existing components. In addition to that you may activate compression by web.xml This only works if you are using PROJECT_STAGE = Production
-
getIntegration
public ButterfacesProperties.Integration getIntegration()
-
setAjaxDisableRenderRegionsOnRequest
public void setAjaxDisableRenderRegionsOnRequest(java.lang.Boolean ajaxDisableRenderRegionsOnRequest)
b:commandLink components comes with ajaxDisableRenderRegionsOnRequest to crossfade render regions while ajax request is running. To configure this for global usage add following parameter
-
setAjaxProcessingGlyphiconOnRequest
public void setAjaxProcessingGlyphiconOnRequest(java.lang.String ajaxProcessingGlyphiconOnRequest)
-
setAjaxProcessingTextOnRequest
public void setAjaxProcessingTextOnRequest(java.lang.String ajaxProcessingTextOnRequest)
-
setAutoTrimInputFields
public void setAutoTrimInputFields(java.lang.Boolean autoTrimInputFields)
By default all input fields will be trimed after submit.
-
setProvideBootstrap
public void setProvideBootstrap(java.lang.Boolean provideBootstrap)
As default ButterFaces comes with an actual version of Bootstrap 3.x. To disable ButterFaces Boostrap version because of using your own version you have to change following parameter
-
setProvideJQuery
public void setProvideJQuery(java.lang.Boolean provideJQuery)
As default ButterFaces comes with an actual version of jQuery 2.x. To disable ButterFaces jQuery version because of using your own version you have to change following parameter
-
setMaxLengthText
public void setMaxLengthText(java.lang.String maxLengthText)
When using maxlength parameter counting text will be {0} of {1} characters.
-
setNoEntriesText
public void setNoEntriesText(java.lang.String noEntriesText)
b:tree and b:treeBox are trivial components and can be configured by components attribute or by changeing following parameters.
-
setSpinnerText
public void setSpinnerText(java.lang.String spinnerText)
b:tree and b:treeBox are trivial components and can be configured by components attribute or by changeing following parameters.
-
setUseCompressedResources
public void setUseCompressedResources(java.lang.Boolean useCompressedResources)
Each components comes up with it's own javascript and css resources. If you want to use ButterFaces resources (i.e. Bootstrap or jQuery) without any ButterFaces component use b:activateLibraries to load all resources to html. This tags add javascript and css resources for all existing components. In addition to that you may activate compression by web.xml This only works if you are using PROJECT_STAGE = Production
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-