LEVIATHAN v962456e · 962456eee1

dagon

class ArrayTreeModel

since 0.1.0-alpha.1linux

bases
ITreeModel

Constructors

new

new()

Fields

batchDepth_

int batchDepth_

dispatching_

bool dispatching_

firstChild_

Array<int> firstChild_

handlers_

Array<(ModelEvent) => void> handlers_

lastChild_

Array<int> lastChild_

live_

Array<bool> live_

nextHandlerToken_

int nextHandlerToken_

nextId_

int nextId_

nextSibling_

Array<int> nextSibling_

parent_

Array<int> parent_

pendingCount_

int pendingCount_

pendingFirst_

int pendingFirst_

pendingIsMixed_

bool pendingIsMixed_

pendingKind_

ModelChange | None pendingKind_

prevSibling_

Array<int> prevSibling_

text_

Array<string> text_

tokens_

Array<int> tokens_

Methods

addChild

addChild(int parentId, string s) -> int

beginBatch

beginBatch() -> void

checkLive

checkLive(int node) -> void

child

child(int node, int i) -> int

childCount

childCount(int node) -> int

emit

emit(ModelChange kind, int first, int cnt) -> void

endBatch

endBatch() -> void

fireOne

fireOne(ModelEvent e) -> void

moveNode

moveNode(int id, int newParentId) -> void

offChange

offChange(int t) -> void

onChange

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

recordForBatch

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

removeNode

removeNode(int id) -> void

retireSubtree

retireSubtree(int id) -> void

setText

setText(int id, string s) -> void

text

text(int node) -> string