Linux Mac OSX Windows

Implemented by


  
[scriptable, uuid(6f08d134-8536-4b28-b456-d150fbaa66a9)]
interface nsIAutoCompleteController : nsISupports

Constants


        
const unsigned short STATUS_NONE = 1

        
const unsigned short STATUS_SEARCHING = 2

        
const unsigned short STATUS_COMPLETE_NO_MATCH = 3

        
const unsigned short STATUS_COMPLETE_MATCH = 4

Attributes


        
attribute nsIAutoCompleteInput input

        
readonly attribute unsigned long matchCount

        
readonly attribute unsigned short searchStatus

        
attribute AString searchString

Methods


        
AString getCommentAt(in long index)

        
AString getImageAt(in long index)

        
AString getStyleAt(in long index)

        
AString getValueAt(in long index)

        
boolean handleDelete()

        
void handleEndComposition()

        
boolean handleEnter(in boolean aIsPopupSelection)

        
boolean handleEscape()

        
boolean handleKeyNavigation(in unsigned long key)

        
void handleStartComposition()

        
void handleTab()

        
void handleText(in boolean aIgnoreSelection)

        
void startSearch(in AString searchString)

        
void stopSearch()