com.github.gwtbootstrap.client.ui.config
Class DefaultConfigurator
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultConfigurator
public DefaultConfigurator()
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.