com.github.gwtbootstrap.client.ui.config
Class DefaultConfigurator

java.lang.Object
  extended by com.github.gwtbootstrap.client.ui.config.DefaultConfigurator
All Implemented Interfaces:
Configurator
Direct Known Subclasses:
ResponsiveConfigurator

public class DefaultConfigurator
extends Object
implements Configurator

This class is the default Configurator implementation.

Since:
2.0.4.0
Author:
ohashi keisuke

Constructor Summary
DefaultConfigurator()
           
 
Method Summary
 Resources getResources()
          Get the Bootstrap Resources that should be used for this project.
 boolean hasResponsiveDesign()
          Determines whether the project uses a responsive design.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultConfigurator

public DefaultConfigurator()
Method Detail

getResources

public Resources getResources()
Get the Bootstrap Resources that should be used for this project.

Specified by:
getResources in interface Configurator
Returns:
the Bootstrap Resources

hasResponsiveDesign

public boolean hasResponsiveDesign()
Determines whether the project uses a responsive design.

If the responsive design is enabled, the interface can adapt to the screen size and show different content on smartphones, tablets and desktop computers.

Specified by:
hasResponsiveDesign in interface Configurator
Returns:
true if the responsive features should be enabled. Default: false
See Also:
IsResponsive, Bootstrap documentation


Copyright © 2012 gwtbootstrap. All Rights Reserved.