nsIAutoCompleteController

IID:CF2ACA0C-4FB1-42e4-8A54-23E832CB2A98
Inherits From:nsISupports

This interface is implemented by the following components:


Constants

PRUint16 STATUS_NONE = 1
PRUint16 STATUS_SEARCHING = 2
PRUint16 STATUS_COMPLETE_NO_MATCH = 3
PRUint16 STATUS_COMPLETE_MATCH = 4
PRUint16 KEY_UP = 1
PRUint16 KEY_DOWN = 2
PRUint16 KEY_LEFT = 3
PRUint16 KEY_RIGHT = 4
PRUint16 KEY_PAGE_UP = 5
PRUint16 KEY_PAGE_DOWN = 6
PRUint16 KEY_HOME = 7
PRUint16 KEY_END = 8

Properties

nsIAutoCompleteInput input

readonly PRUint32 matchCount

readonly PRUint16 searchStatus


Methods

AString getCommentAt ( PRInt32 index ) AString getStyleAt ( PRInt32 index ) AString getValueAt ( PRInt32 index ) PRBool handleDelete ( ) void handleEndComposition ( ) PRBool handleEnter ( ) PRBool handleEscape ( ) PRBool handleKeyNavigation ( PRUint16 key ) void handleStartComposition ( ) void handleTab ( ) void handleText ( PRBool ignoreSelection ) void setSearchString ( AString searchString ) void startSearch ( AString searchString )

AString getCommentAt ( PRInt32 index )

Arguments:
index

AString getStyleAt ( PRInt32 index )

Arguments:
index

AString getValueAt ( PRInt32 index )

Arguments:
index

PRBool handleDelete ( )


void handleEndComposition ( )


PRBool handleEnter ( )


PRBool handleEscape ( )


PRBool handleKeyNavigation ( PRUint16 key )

Arguments:
key

void handleStartComposition ( )


void handleTab ( )


void handleText ( PRBool ignoreSelection )

Arguments:
ignoreSelection

void setSearchString ( AString searchString )

Arguments:
searchString

void startSearch ( AString searchString )

Arguments:
searchString

References

This interface is the type of the following properties:

nsIAutoCompleteInput.controller

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com