import "sbIMediaListViewTreeView.idl";
Public Member Functions | |
long | getNextRowIndexForKeyNavigation (in AString aKeyString, in unsigned long aStartFrom) |
Calculates the first row index based on a series of keystrokes. | |
Public Attributes | |
attribute sbIMediaListViewTreeViewObserver | observer |
Get and set an observer for this media list tree view. This observer must support nsIWeakReference. |
Definition at line 71 of file sbIMediaListViewTreeView.idl.
long sbIMediaListViewTreeView::getNextRowIndexForKeyNavigation | ( | in AString | aKeyString, | |
in unsigned long | aStartFrom | |||
) |
Calculates the first row index based on a series of keystrokes.
This method helps optimize the behavior of the tree view. When keyboard input occurs we want to select the next row that matches the keys that were pressed.
aKeyString | - The accumulated keystrokes to be matched. | |
aStartFrom | - The index from which to start searching |