com.vaadin.client.
Interface ResourceLoader.ResourceLoadListener
-
Enclosing class:
public static interface ResourceLoader.ResourceLoadListener
Event listener that gets notified when a resource has been loaded.
-
-
Method Summary
All Methods Modifier and Type Method Description void
onError(ResourceLoader.ResourceLoadEvent event)
Notifies this ResourceLoadListener that a resource could not be loaded, e.g.
void
onLoad(ResourceLoader.ResourceLoadEvent event)
Notifies this ResourceLoadListener that a resource has been loaded.
-
-
-
Method Detail
-
onLoad
void onLoad(ResourceLoader.ResourceLoadEvent event)
Notifies this ResourceLoadListener that a resource has been loaded. Some browsers do not support any way of detecting load errors. In these cases, onLoad will be called regardless of the status.
Parameters:
event
- a resource load event with information about the loaded resourceSee Also:
-
onError
void onError(ResourceLoader.ResourceLoadEvent event)
Notifies this ResourceLoadListener that a resource could not be loaded, e.g. because the file could not be found or because the server did not respond. Some browsers do not support any way of detecting load errors. In these cases, onLoad will be called regardless of the status.
Parameters:
event
- a resource load event with information about the resource that could not be loaded.See Also:
-
-