LEVIATHAN v962456e · 962456eee1

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_

sourceChangeToken_

int sourceChangeToken_

sourceToProxy_

Array<int> sourceToProxy_

tokens_

Array<int> tokens_

Methods

applyUpdatedRow

applyUpdatedRow(int r) -> void

beginBatch

beginBatch() -> void

cmp

cmp(string a, string b) -> int

count

count() -> int

endBatch

endBatch() -> void

fireOne

fireOne(ModelEvent e) -> void

fullRebuildAndReset

fullRebuildAndReset() -> void

insertionPoint

insertionPoint(string t) -> int

offChange

offChange(int t) -> void

onChange

onChange((ModelEvent) => void h) -> int

onSourceEvent

onSourceEvent(ModelEvent e) -> void

onSourceInsertedOne

onSourceInsertedOne(int first) -> void

onSourceRemovedOne

onSourceRemovedOne(int first) -> void

onSourceUpdated

onSourceUpdated(int first, int count) -> void

passes

passes(string s) -> bool

proxyInsertVisible

proxyInsertVisible(int sourceRow, string text) -> void

proxyRemoveVisible

proxyRemoveVisible(int sourceRow, int p) -> void

proxyRow

proxyRow(int srcRow) -> int

rebuild

rebuild() -> void

recordForBatch

recordForBatch(ModelChange kind, int first, int count) -> void

setComparator

setComparator((string, string) => int | None c) -> void

setFilter

setFilter((string) => bool | None f) -> void

sourceRow

sourceRow(int proxyRow) -> int

text

text(int row) -> string