org.mozilla.webclient
Class DocumentLoadEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.mozilla.webclient.WebclientEvent
          extended by org.mozilla.webclient.DocumentLoadEvent
All Implemented Interfaces:
java.io.Serializable

public class DocumentLoadEvent
extends WebclientEvent

Event class for the DocumentLoadListener interface.

See Also:
Serialized Form

Field Summary
static long END_AJAX_EVENT_MASK
          This event indicates the current fetch is an Ajax transaction in that has completed.
static long END_DOCUMENT_LOAD_EVENT_MASK
          The type of the event to indicate the end of a document load.
static long END_URL_LOAD_EVENT_MASK
          If the current document is a compound document, this event will be generated, indicating the end of a URL load within a document load for that compound document.
static long ERROR_AJAX_EVENT_MASK
          This event indicates the current fetch is an Ajax transaction in an error state.
static long FETCH_INTERRUPT_EVENT_MASK
          This event indicates the current fetch was interrupted.
static long PROGRESS_URL_LOAD_EVENT_MASK
          This event indicates a progress message from the browser.
static long START_AJAX_EVENT_MASK
          This event indicates the current fetch is the start of an Ajax transaction.
static long START_DOCUMENT_LOAD_EVENT_MASK
          The type of the event to indicate the start of a document load.
static long START_URL_LOAD_EVENT_MASK
          If the current document is a compound document, this event will be generated, indicating the start of a URL load within a document load for that compound document.
static long STATUS_URL_LOAD_EVENT_MASK
          This event indicates a status message from the browser.
static long UNKNOWN_CONTENT_EVENT_MASK
          This event indicates the browser encountered an unknown content that it does not know how to display.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
DocumentLoadEvent(java.lang.Object source, long newType, java.lang.Object newEventData)
          Create a new DocumentLoadListener instance.
 
Method Summary
 
Methods inherited from class org.mozilla.webclient.WebclientEvent
getEventData, getType
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

START_DOCUMENT_LOAD_EVENT_MASK

public static final long START_DOCUMENT_LOAD_EVENT_MASK

The type of the event to indicate the start of a document load.

See Also:
Constant Field Values

END_DOCUMENT_LOAD_EVENT_MASK

public static final long END_DOCUMENT_LOAD_EVENT_MASK

The type of the event to indicate the end of a document load.

See Also:
Constant Field Values

START_URL_LOAD_EVENT_MASK

public static final long START_URL_LOAD_EVENT_MASK

If the current document is a compound document, this event will be generated, indicating the start of a URL load within a document load for that compound document.

See Also:
Constant Field Values

END_URL_LOAD_EVENT_MASK

public static final long END_URL_LOAD_EVENT_MASK

If the current document is a compound document, this event will be generated, indicating the end of a URL load within a document load for that compound document.

See Also:
Constant Field Values

PROGRESS_URL_LOAD_EVENT_MASK

public static final long PROGRESS_URL_LOAD_EVENT_MASK

This event indicates a progress message from the browser.

See Also:
Constant Field Values

STATUS_URL_LOAD_EVENT_MASK

public static final long STATUS_URL_LOAD_EVENT_MASK

This event indicates a status message from the browser. For example, "completed."

See Also:
Constant Field Values

UNKNOWN_CONTENT_EVENT_MASK

public static final long UNKNOWN_CONTENT_EVENT_MASK

This event indicates the browser encountered an unknown content that it does not know how to display.

See Also:
Constant Field Values

FETCH_INTERRUPT_EVENT_MASK

public static final long FETCH_INTERRUPT_EVENT_MASK

This event indicates the current fetch was interrupted.

See Also:
Constant Field Values

START_AJAX_EVENT_MASK

public static final long START_AJAX_EVENT_MASK

This event indicates the current fetch is the start of an Ajax transaction.

See Also:
Constant Field Values

ERROR_AJAX_EVENT_MASK

public static final long ERROR_AJAX_EVENT_MASK

This event indicates the current fetch is an Ajax transaction in an error state.

See Also:
Constant Field Values

END_AJAX_EVENT_MASK

public static final long END_AJAX_EVENT_MASK

This event indicates the current fetch is an Ajax transaction in that has completed.

See Also:
Constant Field Values
Constructor Detail

DocumentLoadEvent

public DocumentLoadEvent(java.lang.Object source,
                         long newType,
                         java.lang.Object newEventData)

Create a new DocumentLoadListener instance.

Parameters:
source - the source of the event, passed to super. This will be the EventRegistration instance for this BrowserControl.
newType - the eventType. Depends on the WebclientEventListener sub-interface.
newEventData - the eventType. Depends on the WebclientEventListener sub-interface.


Copyright 2002-2007 Mozilla.org All Rights Reserved.