FindTab
tab panel for searching through the patch
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Private Members | ||
private |
_canceledSearch: number |
|
private |
_closed: boolean |
|
private |
_eleInput: * |
|
private |
_eleResults: * |
|
private |
_findTimeoutId: number |
|
private |
_inputId: * |
|
private |
_lastClicked: * |
|
private |
_lastSearch: string |
|
private |
|
|
private |
_listenerids: *[] |
|
private |
_maxIdx: * |
|
private |
_onTrigger: * |
|
private |
|
|
private |
|
|
private |
_resultsVars: *[] |
|
private |
_tab: * |
|
private |
_tabs: * |
|
private |
_toggles: string[] |
|
private |
_updateCb: * |
|
private |
|
Method Summary
Public Methods | ||
public |
focus() |
|
public |
highlightWord(word: *, str: *): * |
|
public |
isClosed(): * |
|
public |
isVisible(): * |
|
public |
search(str: *, userInvoked: *) |
|
public |
|
|
public |
setClicked(num: *) |
|
public |
setSearchInputValue(str: *) |
|
public |
setSelectedOp(opid: *) |
|
public |
|
Private Methods | ||
private |
_addResultOp(op: *, result: *, idx: *): * |
|
private |
_addResultTrigger(v: *): * |
|
private |
_addResultVar(v: *): * |
|
private |
_doSearch(str: *, userInvoked: *, ops: *, results: *): * |
|
private |
_doSearchTriggers(str: *, userInvoked: *, ops: *, results: *): * |
|
private |
_doSearchVars(str: *, userInvoked: *, ops: *, results: *): * |
|
private |
_updateTriggers(n: *) |
Public Constructors
public constructor() source
Private Members
private _canceledSearch: number source
private _closed: boolean source
private _eleInput: * source
private _eleResults: * source
private _findTimeoutId: number source
private _inputId: * source
private _lastClicked: * source
private _lastSearch: string source
private _lastSelected: * source
private _listenerids: *[] source
private _maxIdx: * source
private _onTrigger: * source
private _resultsTriggers: * source
private _resultsTriggersTimes: {} source
private _resultsVars: *[] source
private _tab: * source
private _tabs: * source
private _toggles: string[] source
private _updateCb: * source
private _updateVarsInterval: * source
Public Methods
public focus() source
public highlightWord(word: *, str: *): * source
Params:
Name | Type | Attribute | Description |
word | * | ||
str | * |
Return:
* |
public search(str: *, userInvoked: *) source
Params:
Name | Type | Attribute | Description |
str | * | ||
userInvoked | * |
public searchAfterPatchUpdate() source
public setClicked(num: *) source
Params:
Name | Type | Attribute | Description |
num | * |
public setSearchInputValue(str: *) source
Params:
Name | Type | Attribute | Description |
str | * |
public setSelectedOp(opid: *) source
Params:
Name | Type | Attribute | Description |
opid | * |
public updateHistory() source
Private Methods
private _addResultOp(op: *, result: *, idx: *): * source
Params:
Name | Type | Attribute | Description |
op | * | ||
result | * | ||
idx | * |
Return:
* |
private _doSearch(str: *, userInvoked: *, ops: *, results: *): * source
Params:
Name | Type | Attribute | Description |
str | * | ||
userInvoked | * | ||
ops | * | ||
results | * |
Return:
* |
private _doSearchTriggers(str: *, userInvoked: *, ops: *, results: *): * source
Params:
Name | Type | Attribute | Description |
str | * | ||
userInvoked | * | ||
ops | * | ||
results | * |
Return:
* |
private _doSearchVars(str: *, userInvoked: *, ops: *, results: *): * source
Params:
Name | Type | Attribute | Description |
str | * | ||
userInvoked | * | ||
ops | * | ||
results | * |
Return:
* |
private _updateTriggers(n: *) source
Params:
Name | Type | Attribute | Description |
n | * |