org.mozilla.webclient
Interface DocumentLoadListener

All Superinterfaces:
WebclientEventListener
All Known Subinterfaces:
PageInfoListener
All Known Implementing Classes:
AjaxListener

public interface DocumentLoadListener
extends WebclientEventListener

The WebclientEventListener.eventDispatched(org.mozilla.webclient.WebclientEvent) method is passed a DocumentLoadEvent instance. The type property of the event will be one of the types defined as a public static final int constant in DocumentLoadEvent.

The eventData property of the DocumentLoadEvent instance will be a java.util.Map. For all types in DocumentLoadEvent the map will contain an entry under the key "URI" without the quotes. This will be the fully qualified URI for the event.

For the PROGRESS_URL_LOAD_EVENT_MASK there will be an entry in the map for the key "message" without the quotes. This will be the progress message from the browser.

For extended information about the event, implement PageInfoListener.


Method Summary
 
Methods inherited from interface org.mozilla.webclient.WebclientEventListener
eventDispatched
 



Copyright 2002-2007 Mozilla.org All Rights Reserved.