@mozilla.org/accessibleRetrieval;1

This component implements the following interfaces:

Constants

State Transition Flags

These flags indicate the various states that documents and requests may transition through as they are being loaded. These flags are mutually exclusive.

STATE_START This flag indicates the start of a request.

STATE_REDIRECTING This flag indicates that a request is being redirected. When a redirect occurs, a new request is generated automatically to process the new request. Expect a corresponding STATE_START event for the new request, and a STATE_STOP for the redirected request.

STATE_TRANSFERRING This flag indicates that data for a request is being transferred to an end consumer. This flag indicates that the request has been targeted, and that the user may start seeing content corresponding to the request.

STATE_NEGOTIATING This flag is not used.

STATE_STOP This flag indicates the completion of a request.

PRUint32 nsIWebProgressListener.STATE_START = 1
PRUint32 nsIWebProgressListener.STATE_REDIRECTING = 2
PRUint32 nsIWebProgressListener.STATE_TRANSFERRING = 4
PRUint32 nsIWebProgressListener.STATE_NEGOTIATING = 8
PRUint32 nsIWebProgressListener.STATE_STOP = 16
State Type Flags

These flags further describe the entity for which the state transition is occuring. These flags are NOT mutually exclusive (i.e., an onStateChange event may indicate some combination of these flags).

STATE_IS_REQUEST This flag indicates that the state transition is for a request, which includes but is not limited to document requests (e.g., this includes inline image requests and stylesheets).

STATE_IS_DOCUMENT This flag indicates that the state transition is for a document request, which includes documents in sub-frames.

STATE_IS_NETWORK This flag indicates that the state transition corresponds to a toplevel document, and is accompanied by either STATE_START or STATE_STOP. This flag can be used to determine when an entire frameset finishes loading.

STATE_IS_WINDOW This flag indicates that the state transition corresponds to a DOM window. (Each nsIWebProgress instance has an associated nsIDOMWindow.) This flag is accompanied by either STATE_START or STATE_STOP.

PRUint32 nsIWebProgressListener.STATE_IS_REQUEST = 65536
PRUint32 nsIWebProgressListener.STATE_IS_DOCUMENT = 131072
PRUint32 nsIWebProgressListener.STATE_IS_NETWORK = 262144
PRUint32 nsIWebProgressListener.STATE_IS_WINDOW = 524288
State Security Flags

A combination of these flags comprises the aState parameter to the onSecurityChange method. These flags are mutually exclusive.

STATE_IS_INSECURE This flag indicates that the data corresponding to the request was received over an insecure channel.

STATE_IS_BROKEN This flag indicates an unknown security state. This may mean that the request is being loaded as part of a page in which some content was received over an insecure channel.

STATE_IS_SECURE This flag indicates that the data corresponding to the request was received over a secure channel. The degree of security is expressed by STATE_SECURE_HIGH, STATE_SECURE_MED, or STATE_SECURE_LOW.

PRUint32 nsIWebProgressListener.STATE_IS_INSECURE = 4
PRUint32 nsIWebProgressListener.STATE_IS_BROKEN = 1
PRUint32 nsIWebProgressListener.STATE_IS_SECURE = 2
PRUint32 nsIWebProgressListener.STATE_SECURE_HIGH = 262144
PRUint32 nsIWebProgressListener.STATE_SECURE_MED = 65536
PRUint32 nsIWebProgressListener.STATE_SECURE_LOW = 131072

Methods

InterfaceMethod
nsIAccessibilityService nsIAccessible createHTML4ButtonAccessible ( nsISupports frame )
nsIAccessibilityService nsIAccessible createHTMLAccessibleByMarkup ( nsISupports frame )
nsIAccessibilityService nsIAccessible createHTMLAreaAccessible ( nsIWeakReference presShell , nsIDOMNode DOMNode , nsIAccessible accParent )
nsIAccessibilityService nsIAccessible createHTMLBlockAccessible ( nsISupports frame )
nsIAccessibilityService nsIAccessible createHTMLButtonAccessible ( nsISupports frame )
nsIAccessibilityService nsIAccessible createHTMLButtonAccessibleXBL ( nsIDOMNode node )
nsIAccessibilityService nsIAccessible createHTMLCheckboxAccessible ( nsISupports frame )
nsIAccessibilityService nsIAccessible createHTMLCheckboxAccessibleXBL ( nsIDOMNode node )
nsIAccessibilityService nsIAccessible createHTMLComboboxAccessible ( nsIDOMNode node , nsISupports presShell )
nsIAccessibilityService nsIAccessible createHTMLGenericAccessible ( nsISupports frame )
nsIAccessibilityService nsIAccessible createHTMLGroupboxAccessible ( nsISupports frame )
nsIAccessibilityService nsIAccessible createHTMLHRAccessible ( nsISupports frame )
nsIAccessibilityService nsIAccessible createHTMLImageAccessible ( nsISupports frame )
nsIAccessibilityService nsIAccessible createHTMLLabelAccessible ( nsISupports frame )
nsIAccessibilityService nsIAccessible createHTMLLIAccessible ( nsISupports frame , nsISupports bulletFrame , AString bulletText )
nsIAccessibilityService nsIAccessible createHTMLListboxAccessible ( nsIDOMNode node , nsISupports presShell )
nsIAccessibilityService nsIAccessible createHTMLObjectFrameAccessible ( nsObjectFrame* frame )
nsIAccessibilityService nsIAccessible createHTMLRadioButtonAccessible ( nsISupports frame )
nsIAccessibilityService nsIAccessible createHTMLRadioButtonAccessibleXBL ( nsIDOMNode node )
nsIAccessibilityService nsIAccessible createHTMLSelectOptionAccessible ( nsIDOMNode node , nsIAccessible accParent , nsISupports presShell )
nsIAccessibilityService nsIAccessible createHTMLTableAccessible ( nsISupports frame )
nsIAccessibilityService nsIAccessible createHTMLTableCaptionAccessible ( nsIDOMNode DOMNode )
nsIAccessibilityService nsIAccessible createHTMLTableCellAccessible ( nsISupports frame )
nsIAccessibilityService nsIAccessible createHTMLTableHeadAccessible ( nsIDOMNode DOMNode )
nsIAccessibilityService nsIAccessible createHTMLTextAccessible ( nsISupports frame )
nsIAccessibilityService nsIAccessible createHTMLTextFieldAccessible ( nsISupports frame )
nsIAccessibilityService nsIAccessible createOuterDocAccessible ( nsIDOMNode node )
nsIAccessibilityService nsIAccessible createRootAccessible ( nsIPresShell shell , nsIDocument document )
nsIAccessibilityService nsIAccessible createXULButtonAccessible ( nsIDOMNode node )
nsIAccessibilityService nsIAccessible createXULCheckboxAccessible ( nsIDOMNode node )
nsIAccessibilityService nsIAccessible createXULColorPickerAccessible ( nsIDOMNode node )
nsIAccessibilityService nsIAccessible createXULColorPickerTileAccessible ( nsIDOMNode node )
nsIAccessibilityService nsIAccessible createXULComboboxAccessible ( nsIDOMNode node )
nsIAccessibilityService nsIAccessible createXULDropmarkerAccessible ( nsIDOMNode node )
nsIAccessibilityService nsIAccessible createXULGroupboxAccessible ( nsIDOMNode node )
nsIAccessibilityService nsIAccessible createXULImageAccessible ( nsIDOMNode node )
nsIAccessibilityService nsIAccessible createXULListboxAccessible ( nsIDOMNode node )
nsIAccessibilityService nsIAccessible createXULListitemAccessible ( nsIDOMNode node )
nsIAccessibilityService nsIAccessible createXULMenubarAccessible ( nsIDOMNode node )
nsIAccessibilityService nsIAccessible createXULMenuitemAccessible ( nsIDOMNode node )
nsIAccessibilityService nsIAccessible createXULMenupopupAccessible ( nsIDOMNode node )
nsIAccessibilityService nsIAccessible createXULMenuSeparatorAccessible ( nsIDOMNode node )
nsIAccessibilityService nsIAccessible createXULProgressMeterAccessible ( nsIDOMNode node )
nsIAccessibilityService nsIAccessible createXULRadioButtonAccessible ( nsIDOMNode node )
nsIAccessibilityService nsIAccessible createXULRadioGroupAccessible ( nsIDOMNode node )
nsIAccessibilityService nsIAccessible createXULSelectListAccessible ( nsIDOMNode node )
nsIAccessibilityService nsIAccessible createXULSelectOptionAccessible ( nsIDOMNode node )
nsIAccessibilityService nsIAccessible createXULStatusBarAccessible ( nsIDOMNode node )
nsIAccessibilityService nsIAccessible createXULTabAccessible ( nsIDOMNode node )
nsIAccessibilityService nsIAccessible createXULTabBoxAccessible ( nsIDOMNode node )
nsIAccessibilityService nsIAccessible createXULTabPanelsAccessible ( nsIDOMNode node )
nsIAccessibilityService nsIAccessible createXULTabsAccessible ( nsIDOMNode node )
nsIAccessibilityService nsIAccessible createXULTextAccessible ( nsIDOMNode node )
nsIAccessibilityService nsIAccessible createXULTextBoxAccessible ( nsIDOMNode node )
nsIAccessibilityService nsIAccessible createXULToolbarAccessible ( nsIDOMNode node )
nsIAccessibilityService nsIAccessible createXULToolbarSeparatorAccessible ( nsIDOMNode node )
nsIAccessibilityService nsIAccessible createXULTooltipAccessible ( nsIDOMNode node )
nsIAccessibilityService nsIAccessible createXULTreeAccessible ( nsIDOMNode node )
nsIAccessibilityService nsIAccessible createXULTreeColumnitemAccessible ( nsIDOMNode node )
nsIAccessibilityService nsIAccessible createXULTreeColumnsAccessible ( nsIDOMNode node )
nsIAccessibilityService [noscript] nsIAccessible getAccessible ( nsIDOMNode node , nsIPresShell presShell , nsIWeakReference weakShell , inout nsIFrame frameHint , out PRBool isHidden )
nsIAccessibleRetrieval nsIAccessible getAccessibleFor ( nsIDOMNode node )
nsIAccessibleRetrieval nsIAccessible getAccessibleInShell ( nsIDOMNode node , nsIPresShell presShell )
nsIAccessibleRetrieval nsIAccessible getAccessibleInWeakShell ( nsIDOMNode node , nsIWeakReference presShell )
nsIAccessibleRetrieval nsIAccessible getAccessibleInWindow ( nsIDOMNode node , nsIDOMWindow DOMWin )
nsIAccessibleRetrieval nsIAccessible getCachedAccessible ( nsIDOMNode node , nsIWeakReference shell )
nsIAccessibleRetrieval nsIAccessNode getCachedAccessNode ( nsIDOMNode node , nsIWeakReference shell )
nsISupportsWeakReference nsIWeakReference GetWeakReference ( )
nsIObserver void observe ( nsISupports subject , char* topic , PRUnichar* data )
nsIWebProgressListener void onLocationChange ( nsIWebProgress webProgress , nsIRequest request , nsIURI location )
nsIWebProgressListener void onProgressChange ( nsIWebProgress webProgress , nsIRequest request , PRInt32 curSelfProgress , PRInt32 maxSelfProgress , PRInt32 curTotalProgress , PRInt32 maxTotalProgress )
nsIWebProgressListener void onSecurityChange ( nsIWebProgress webProgress , nsIRequest request , PRUint32 state )
nsIWebProgressListener void onStateChange ( nsIWebProgress webProgress , nsIRequest request , PRUint32 stateFlags , nsresult status )
nsIWebProgressListener void onStatusChange ( nsIWebProgress webProgress , nsIRequest request , nsresult status , PRUnichar* message )

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com