org.onebusaway.presentation.impl.resources
Class CssResourceImpl

java.lang.Object
  extended by org.onebusaway.presentation.impl.resources.ResourcePrototypeImpl
      extended by org.onebusaway.presentation.impl.resources.CssResourceImpl
All Implemented Interfaces:
com.google.gwt.resources.client.CssResource, com.google.gwt.resources.client.CssResourceBase, com.google.gwt.resources.client.ResourcePrototype, InvocationHandler, LocalResource, ResourceWithUrl

public class CssResourceImpl
extends ResourcePrototypeImpl
implements com.google.gwt.resources.client.CssResource, ResourceWithUrl, LocalResource, InvocationHandler


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.google.gwt.resources.client.CssResource
com.google.gwt.resources.client.CssResource.ClassName, com.google.gwt.resources.client.CssResource.Import, com.google.gwt.resources.client.CssResource.ImportedWithPrefix, com.google.gwt.resources.client.CssResource.NotStrict, com.google.gwt.resources.client.CssResource.Shared, com.google.gwt.resources.client.CssResource.Strict
 
Field Summary
 
Fields inherited from class org.onebusaway.presentation.impl.resources.ResourcePrototypeImpl
_context, _initialized, _localFile, _localFileLength, _localUrl, _parentBundle
 
Constructor Summary
CssResourceImpl(ClientBundleContext context, ClientBundleImpl parentBundle, String name, URL cssUrl)
           
 
Method Summary
 boolean ensureInjected()
          CssResource Interface
 String getText()
           
 String getUrl()
          ResourceWithUrl
 Object invoke(Object proxy, Method method, Object[] args)
          InvocationHandler Interface
protected  void refresh()
          Private Methods
 
Methods inherited from class org.onebusaway.presentation.impl.resources.ResourcePrototypeImpl
constructURL, getLastModifiedTime, getLocalUrl, getName, isUpToDate, setLocalFile, setUpToDate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.gwt.resources.client.ResourcePrototype
getName
 
Methods inherited from interface org.onebusaway.presentation.impl.resources.LocalResource
getLastModifiedTime, getLocalUrl
 

Constructor Detail

CssResourceImpl

public CssResourceImpl(ClientBundleContext context,
                       ClientBundleImpl parentBundle,
                       String name,
                       URL cssUrl)
Method Detail

ensureInjected

public boolean ensureInjected()
CssResource Interface

Specified by:
ensureInjected in interface com.google.gwt.resources.client.CssResource

getText

public String getText()
Specified by:
getText in interface com.google.gwt.resources.client.CssResource

getUrl

public String getUrl()
ResourceWithUrl

Specified by:
getUrl in interface ResourceWithUrl

invoke

public Object invoke(Object proxy,
                     Method method,
                     Object[] args)
              throws Throwable
InvocationHandler Interface

Specified by:
invoke in interface InvocationHandler
Throws:
Throwable

refresh

protected void refresh()
Private Methods

Overrides:
refresh in class ResourcePrototypeImpl


Copyright © 2012 OneBusAway. All Rights Reserved.