public static class ResourceLoader.ResourceLoadEvent extends Object
| Constructor and Description |
|---|
ResourceLoadEvent(ResourceLoader loader,
String resourceUrl,
boolean preload)
Creates a new event.
|
| Modifier and Type | Method and Description |
|---|---|
ResourceLoader |
getResourceLoader()
Gets the resource loader that has fired this event
|
String |
getResourceUrl()
Gets the absolute url of the loaded resource.
|
boolean |
isPreload()
Returns true if the resource has been preloaded, false if it's fully
loaded
|
public ResourceLoadEvent(ResourceLoader loader, String resourceUrl, boolean preload)
loader - the resource loader that has loaded the resourceresourceUrl - the url of the loaded resourcepreload - true if the resource has only been preloaded, false if
it's fully loadedpublic ResourceLoader getResourceLoader()
public String getResourceUrl()
public boolean isPreload()
ResourceLoader.preloadResource(String, ResourceLoadListener)Copyright © 2016 Vaadin Ltd. All rights reserved.