search

goog.ui.ac.AutoComplete

Provided By
Extends
All Implemented Interfaces
All Known Direct Subclasses

This is the central manager class for an AutoComplete instance. The matcher can specify disabled rows that should not be hilited or selected by implementing isRowDisabled(row):boolean for each autocomplete row. No row will be considered disabled if this method is not implemented.

new AutoComplete( matcher, renderer, selectionHandler )

Parameters
matcher(Object|null)

A data source and row matcher, implements requestMatchingRows(token, maxMatches, matchCallback).

renderer(goog.events.EventTarget|null)

An object that implements isVisible():boolean
renderRows(rows:Array, token:string, target:Element);
hiliteId(row-id:number);
dismiss();
dispose():
.

selectionHandler(Object|null)

An object that implements selectRow(row);
update(opt_force);
.

Instance Methods

Instance Properties

Static Properties

Enumerations