goog.ui.tree.TypeAhead
Provided By |
---|
Constructs a TypeAhead object.
new TypeAhead()
Parameters | None. |
---|
Instance Methods
expand_more
this.clear() → void
void
Clears the typeahead buffer.
expand_more
this.handleNavigation( e ) → boolean
boolean
Handles navigation keys.
Parameters |
| ||||
---|---|---|---|---|---|
Returns |
|
expand_more
this.handleTypeAheadChar( e ) → boolean
boolean
Handles the character presses.
Parameters |
| ||||
---|---|---|---|---|---|
Returns |
|
expand_more
this.removeNodeFromMap( node ) → void
void
Removes the given node from the nodemap.
Parameters |
|
---|
expand_more
this.setNodeInMap( node ) → void
void
Adds or updates the given node in the nodemap. The label text is used as a key and the node id is used as a value. In the case that the key already exists, such as when more than one node exists with the same label, then this function creates an array to hold the multiple nodes.
Parameters |
|
---|