We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.client.
Class ResourceLoader.ResourceLoadEvent
- java.lang.Object
-
- com.vaadin.client.ResourceLoader.ResourceLoadEvent
-
Enclosing class:
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 Modifier and Type Method Description ResourceLoader
getResourceLoader()
Gets the resource loader that has fired this event.
String
getResourceUrl()
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
-
-