com.github.gwtbootstrap.client.ui.resources
Interface Resources

All Superinterfaces:
ClientBundle

public interface Resources
extends ClientBundle

Interface that provides the Bootstrap resources.

Since:
2.0.4.0
Author:
Carlos Alexandro Becker, Dominik Mayer

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

RESOURCES

static final Resources RESOURCES
Method Detail

bootstrapCss

@ClientBundle.Source(value="css/bootstrap.min.css")
TextResource bootstrapCss()
Returns the Bootstrap CSS file.

Override this method to use your own CSS file.

Returns:
the Bootstrap CSS file

jquery

@ClientBundle.Source(value="js/jquery-1.7.1.min.js")
TextResource jquery()
Returns the required jQuery version.

By default, GWT Bootstrap uses jQuery 1.7.1. Override this method to provide a different version of jQuery.

Returns:
the jQuery JavaScript Library

bootstrapJs

@ClientBundle.Source(value="js/bootstrap.min.js")
TextResource bootstrapJs()
Returns a version of Bootstrap with all plugins included.

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!

Returns:
the Bootstrap JavaScript

bootstrapResponsiveCss

@ClientBundle.Source(value="css/bootstrap-responsive.min.css")
TextResource bootstrapResponsiveCss()
Returns the responsive extension to Bootstrap.

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!

Returns:
the Bootstrap responsive extension JavaScript

gwtBootstrapCss

@ClientBundle.Source(value="css/gwt-bootstrap.css")
TextResource gwtBootstrapCss()
Returns the GWT-Bootstrap CSS.

It contains styles that overrides conflicting GWT styles.

Don't override this unless you know what you're doing!

Returns:
the GWT-Bootstrap styles

fontAwesomeCss

@ClientBundle.Source(value="css/font-awesome.css")
TextResource fontAwesomeCss()


Copyright © 2012 gwtbootstrap. All Rights Reserved.