dagon
class SortFilterProxy
since 0.1.0-alpha.1linux
- bases
ITextListModel
Constructors
new
new(ITextListModel source)Fields
batchDepth_
int batchDepth_comparator_
(string, string) => int | None comparator_dispatching_
bool dispatching_filter_
(string) => bool | None filter_handlers_
Array<(ModelEvent) => void> handlers_nextHandlerToken_
int nextHandlerToken_pendingCount_
int pendingCount_pendingFirst_
int pendingFirst_pendingIsMixed_
bool pendingIsMixed_pendingKind_
ModelChange | None pendingKind_proxyToSource_
Array<int> proxyToSource_sortedTexts_
Array<string> sortedTexts_source_
ITextListModel source_sourceChangeToken_
int sourceChangeToken_sourceToProxy_
Array<int> sourceToProxy_tokens_
Array<int> tokens_Methods
applyUpdatedRow
applyUpdatedRow(int r) -> voidbeginBatch
beginBatch() -> voidcmp
cmp(string a, string b) -> intcount
count() -> intendBatch
endBatch() -> voidfireOne
fireOne(ModelEvent e) -> voidfullRebuildAndReset
fullRebuildAndReset() -> voidinsertionPoint
insertionPoint(string t) -> intoffChange
offChange(int t) -> voidonChange
onChange((ModelEvent) => void h) -> intonSourceEvent
onSourceEvent(ModelEvent e) -> voidonSourceInsertedOne
onSourceInsertedOne(int first) -> voidonSourceRemovedOne
onSourceRemovedOne(int first) -> voidonSourceUpdated
onSourceUpdated(int first, int count) -> voidpasses
passes(string s) -> boolproxyInsertVisible
proxyInsertVisible(int sourceRow, string text) -> voidproxyRemoveVisible
proxyRemoveVisible(int sourceRow, int p) -> voidproxyRow
proxyRow(int srcRow) -> intrebuild
rebuild() -> voidrecordForBatch
recordForBatch(ModelChange kind, int first, int count) -> voidsetComparator
setComparator((string, string) => int | None c) -> voidsetFilter
setFilter((string) => bool | None f) -> voidsourceRow
sourceRow(int proxyRow) -> inttext
text(int row) -> string