WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

@mozilla.org/typeaheadfind;1

This component implements the following interfaces:

Constants

PRInt16 nsISelectionListener.NO_REASON = 0
PRInt16 nsISelectionListener.DRAG_REASON = 1
PRInt16 nsISelectionListener.MOUSEDOWN_REASON = 2
PRInt16 nsISelectionListener.MOUSEUP_REASON = 4
PRInt16 nsISelectionListener.KEYPRESS_REASON = 8
PRInt16 nsISelectionListener.SELECTALL_REASON = 16
PRUint16 nsITypeAheadFind.FIND_FOUND = 0
PRUint16 nsITypeAheadFind.FIND_NOTFOUND = 1
PRUint16 nsITypeAheadFind.FIND_WRAPPED = 2

Properties

PRBool nsITypeAheadFind.caseSensitive

readonly nsIDOMWindow nsITypeAheadFind.currentWindow

readonly nsIDOMElement nsITypeAheadFind.foundEditable

readonly nsIDOMElement nsITypeAheadFind.foundLink

readonly AString nsITypeAheadFind.searchString

Methods

InterfaceMethod
nsITypeAheadFind void collapseSelection ( )
nsITypeAheadFind PRUint16 find ( AString searchString , PRBool linksOnly )
nsITypeAheadFind PRUint16 findAgain ( PRBool findBackwards , PRBool linksOnly )
nsISupportsWeakReference nsIWeakReference GetWeakReference ( )
nsIDOMEventListener void handleEvent ( nsIDOMEvent event )
nsITypeAheadFind void init ( nsIDocShell docShell )
nsITimerCallback void notify ( nsITimer timer )
nsISelectionListener void notifySelectionChanged ( nsIDOMDocument doc , nsISelection sel , PRInt16 reason )
nsIObserver void observe ( nsISupports subject , char* topic , PRUnichar* data )
nsITypeAheadFind void setDocShell ( nsIDocShell docShell )
nsITypeAheadFind void setSelectionModeAndRepaint ( PRInt16 toggle )

Reference documentation is generated from Mozilla's source.

Copyright © 1999-2006 XULPlanet.com