dagon
class TableView
since 0.1.0-alpha.1linux
- bases
Focusable,Scrollable,Bordered,Styleable
Constructors
new
new()Fields
activateHandlers_
Array<(int) => void> activateHandlers_activateTokens_
Array<int> activateTokens_columns_
Array<TableColumnSpec> columns_delegate_
IRowDelegate delegate_hoveredRow_
int hoveredRow_lastPressMs_
int lastPressMs_lastPressRow_
int lastPressRow_model_
ITableModel model_modelChangeToken_
int modelChangeToken_rowHeight_
int rowHeight_scroller_
RowScroller scroller_selected_
int selected_selectHandlers_
Array<(int) => void> selectHandlers_selectTokens_
Array<int> selectTokens_sortAsc_
bool sortAsc_sortColumn_
int sortColumn_sortHandlers_
Array<(int, bool) => void> sortHandlers_sortTokens_
Array<int> sortTokens_Methods
bodyHeight
bodyHeight() -> intcolumn
column(int idx, Constraint width, Align align, bool sortable) -> TableViewcolumnOffsets_
columnOffsets_() -> Array<int>columnWidths_
columnWidths_() -> Array<int>contentDesired
fireActivate
fireActivate(int idx) -> voidfireSelect
fireSelect(int idx) -> voidfireSort
fireSort(int col, bool asc) -> voidhandleHeaderPress
handleHeaderPress(int mouseX) -> voidmodel
model(ITableModel m) -> TableViewoffActivate
offActivate(int t) -> voidoffSelect
offSelect(int t) -> voidoffSort
offSort(int t) -> voidonActivate
onActivate((int) => void h) -> intonModelChange
onModelChange(ModelEvent e) -> voidonSelect
onSelect((int) => void h) -> intonSort
onSort((int, bool) => void h) -> intpaintChrome
paintChrome(Canvas c) -> voidpaintContent
paintContent(Canvas c) -> voidpaintHeader
refresh
refresh() -> voidrowAtY
rowAtY(Rect full, int bodyY, int y) -> intscrollTo
scrollTo(int x, int y) -> voidselectIndex
selectIndex(int idx) -> voidsyncColumns
syncColumns() -> void