public interface Resources extends ClientBundle
ClientBundle.Source
Modifier and Type | Method and Description |
---|---|
TextResource |
bootstrapCss()
Returns the Bootstrap CSS file.
|
TextResource |
bootstrapJs()
Returns a version of Bootstrap with all plugins included.
|
TextResource |
bootstrapResponsiveCss()
Returns the responsive extension to Bootstrap.
|
TextResource |
fontAwesomeCss() |
TextResource |
gwtBootstrapCss()
Returns the GWT-Bootstrap CSS.
|
TextResource |
jquery()
Returns the required jQuery version.
|
@ClientBundle.Source(value="css/bootstrap.min.css") TextResource bootstrapCss()
Override this method to use your own CSS file.
@ClientBundle.Source(value="js/jquery-1.11.0.min.js") TextResource jquery()
By default, GWT Bootstrap uses jQuery 1.x. Override this method to provide a different version of jQuery.
@ClientBundle.Source(value="js/bootstrap.min.js") TextResource bootstrapJs()
The first three digits in the GWT Bootstrap version number specify the provided Bootstrap version. (GWT Bootstrap 2.0.4.0 uses Bootstrap 2.0.2. GWT Bootstrap 2.1.2.3 will use Bootstrap 2.1.2.)
Override this method to provide a different version of Bootstrap. You might want to chose a more lightweight implementation without some of the plugins. This may break some widgets!
@ClientBundle.Source(value="css/bootstrap-responsive.min.css") TextResource bootstrapResponsiveCss()
The responsive design is neither injected nor activated by default. You
have to implement your own Configurator
and let
Configurator.hasResponsiveDesign()
return true
.
Override this method to provide a different version of the responsive extension. This may break some widgets!
@ClientBundle.Source(value="css/gwt-bootstrap.css") TextResource gwtBootstrapCss()
It contains styles that overrides conflicting GWT styles.
Don't override this unless you know what you're doing!
@ClientBundle.Source(value="css/font-awesome.min.css") TextResource fontAwesomeCss()
Copyright © 2012-2014 gwtbootstrap. All Rights Reserved.