goog.ui.tree.TypeAhead
Classgoog.ui.tree.TypeAhead()
Constructs a TypeAhead object.
goog.ui.tree.TypeAhead.Offset
EnumEnum for offset values that are used for ctrl-key navigation among the multiple matches of a given typeahead buffer. … more
.clear()
Clears the typeahead buffer.
.handleNavigation(e)
Handles navigation keys.
e
{goog.events.BrowserEvent
}
boolean
}
.handleTypeAheadChar(e)
Handles the character presses.
e
{goog.events.BrowserEvent
}
boolean
}
.removeNodeFromMap(node)
Removes the given node from the nodemap.
node
{goog.ui.tree.BaseNode
}
.setNodeInMap(node)
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.
node
{goog.ui.tree.BaseNode
}