|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Resources
Interface that provides the Bootstrap resources.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.google.gwt.resources.client.ClientBundle |
---|
ClientBundle.Source |
Field Summary | |
---|---|
static Resources |
RESOURCES
|
Method Summary | |
---|---|
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. |
Field Detail |
---|
static final Resources RESOURCES
Method Detail |
---|
@ClientBundle.Source(value="css/bootstrap.min.css") TextResource bootstrapCss()
Override this method to use your own CSS file.
@ClientBundle.Source(value="js/jquery-1.7.1.min.js") TextResource jquery()
By default, GWT Bootstrap uses jQuery 1.7.1. 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.css") TextResource fontAwesomeCss()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |