com.github.gwtbootstrap.client.ui.resources
Class ResourceInjector

java.lang.Object
  extended by com.github.gwtbootstrap.client.ui.resources.ResourceInjector

public class ResourceInjector
extends Object

Utility class to inject our resources into modules page. Use it to inject JavaScript and CSS files.

Since:
2.0.4.0
Author:
Carlos Alexandro Becker

Constructor Summary
ResourceInjector()
           
 
Method Summary
static void configure()
          Injects the required CSS styles and JavaScript files into the document header.
static void configureWithCssFile()
          Injects the required CSS styles and JavaScript files into the document header.
static void injectResourceCssAsFile(String filename)
          Inject public resource css file as a file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceInjector

public ResourceInjector()
Method Detail

configureWithCssFile

public static void configureWithCssFile()
Injects the required CSS styles and JavaScript files into the document header.
 It's for NoStyle Module.
 


configure

public static void configure()
Injects the required CSS styles and JavaScript files into the document header.


injectResourceCssAsFile

public static void injectResourceCssAsFile(String filename)
Inject public resource css file as a file.

Parameters:
filename - inject file name


Copyright © 2012 gwtbootstrap. All Rights Reserved.