Package com.vaadin.client
Class ResourceLoader.ResourceLoadEvent
- java.lang.Object
-
- com.vaadin.client.ResourceLoader.ResourceLoadEvent
-
- Enclosing class:
- ResourceLoader
public static class ResourceLoader.ResourceLoadEvent extends Object
Event fired when a resource has been loaded.
-
-
Constructor Summary
Constructors Constructor Description ResourceLoadEvent(ResourceLoader loader, String resourceUrl)Creates a new event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceLoadergetResourceLoader()Gets the resource loader that has fired this event.StringgetResourceUrl()Gets the absolute url of the loaded resource.
-
-
-
Constructor Detail
-
ResourceLoadEvent
public ResourceLoadEvent(ResourceLoader loader, String resourceUrl)
Creates a new event.- Parameters:
loader- the resource loader that has loaded the resourceresourceUrl- the url of the loaded resource
-
-
Method Detail
-
getResourceLoader
public ResourceLoader getResourceLoader()
Gets the resource loader that has fired this event.- Returns:
- the resource loader
-
getResourceUrl
public String getResourceUrl()
Gets the absolute url of the loaded resource.- Returns:
- the absolute url of the loaded resource
-
-