dagon
class TreeView
since 0.1.0-alpha.1linux
- bases
Focusable,Scrollable,Bordered,Styleable
Constructors
new
new()Fields
activateHandlers_
Array<(int) => void> activateHandlers_activateTokens_
Array<int> activateTokens_delegate_
IRowDelegate delegate_expanded_
Map<int, bool> expanded_expandHandlers_
Array<(int, bool) => void> expandHandlers_expandTokens_
Array<int> expandTokens_flat_
model_
ITreeModel model_modelChangeToken_
int modelChangeToken_rowHeight_
int rowHeight_scroller_
RowScroller scroller_selected_
int selected_selectHandlers_
Array<(int) => void> selectHandlers_selectTokens_
Array<int> selectTokens_Methods
contentDesired
ensureVisible
ensureVisible(int idx) -> voidfireActivate
fireActivate(int idx) -> voidfireExpand
fireExpand(int node, bool value) -> voidfireSelect
fireSelect(int idx) -> voidflattenInto
handleLeft
handleLeft() -> voidhandleRight
handleRight() -> voidisExpanded
isExpanded(int node) -> boolmodel
model(ITreeModel m) -> TreeViewoffActivate
offActivate(int t) -> voidoffExpand
offExpand(int t) -> voidoffSelect
offSelect(int t) -> voidonActivate
onActivate((int) => void h) -> intonExpand
onExpand((int, bool) => void h) -> intonModelChange
onModelChange(ModelEvent e) -> voidonSelect
onSelect((int) => void h) -> intpaintChrome
paintChrome(Canvas c) -> voidpaintContent
paintContent(Canvas c) -> voidrebuildFlat
rebuildFlat() -> voidscrollTo
scrollTo(int x, int y) -> voidselectRow
selectRow(int idx) -> voidsetExpanded
setExpanded(int node, bool value) -> voidtoggleExpandAt
toggleExpandAt(int row) -> void