nsITypeAheadFind

IID:AD1C62CC-72F4-4c5b-BE78-503854F9E0D8
Inherits From:nsISupports

This interface is implemented by the following components:


Properties

readonly PRBool isActive


Methods

PRBool backOneChar ( ) void cancelFind ( ) void findNext ( PRBool reverse , nsISupportsInterfacePointer callerWindowSupports ) PRBool getAutoStart ( nsIDOMWindow window ) void setAutoStart ( nsIDOMWindow window , PRBool isAutoStartOn ) void startNewFind ( nsIDOMWindow window , PRBool linksOnly )

PRBool backOneChar ( )


void cancelFind ( )


void findNext ( PRBool reverse , nsISupportsInterfacePointer callerWindowSupports )

Find next recurrence if typeaheadfind was the last used find, as opposed to regular find. Returns false in nsISupportsPRBool if we don't handle the request.

Arguments:
reverse
callerWindowSupports

PRBool getAutoStart ( nsIDOMWindow window )

Arguments:
window

void setAutoStart ( nsIDOMWindow window , PRBool isAutoStartOn )

Will find as you type start automatically if the user types with the focus on page content other than a textfield or select? If autostart is off, the startNewFind() method can be used to enact type ahead find, as well as cmd_findTypeLinks or cmd_findTypeText.

Arguments:
window
isAutoStartOn

void startNewFind ( nsIDOMWindow window , PRBool linksOnly )

Arguments:
window
linksOnly

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com