Package com.vaadin.client
Class ResourceLoader.ResourceLoadEvent
java.lang.Object
com.vaadin.client.ResourceLoader.ResourceLoadEvent
- Enclosing class:
ResourceLoader
Event fired when a resource has been loaded.
-
Constructor Summary
ConstructorsConstructorDescriptionResourceLoadEvent(ResourceLoader loader, String resourceData) Creates a new event. -
Method Summary
Modifier and TypeMethodDescriptionGets the absolute url or content of the loaded resource or the JS expression that imports the resource.Gets the resource loader that has fired this event.
-
Constructor Details
-
ResourceLoadEvent
Creates a new event.- Parameters:
loader- the resource loader that has loaded the resourceresourceData- the url or content of the loaded resource or the JS expression that imports the resource
-
-
Method Details
-
getResourceLoader
Gets the resource loader that has fired this event.- Returns:
- the resource loader
-
getResourceData
Gets the absolute url or content of the loaded resource or the JS expression that imports the resource.- Returns:
- the absolute url or content of the loaded resource or the JS expression that imports the resource
-