ITreeDataGridRows
trait · ferroui-controls-treedatagrid · v0.5.0
trait ITreeDataGridRows
The rows of a presentation, which realize the cells (ITreeDataGridRows).
Members
countgetget_row_atmodel_index_to_row_indexrow_index_to_model_indexrealize_cellunrealize_celladd_collection_changedremove_collection_changedtry_recycle_cellas_any
count
fn count(self: &Self) -> usize
get
fn get(self: &Self, index: usize) -> RowRef
get_row_at
fn get_row_at(self: &Self, y: f64) -> (i32, f64)
The index and top edge of the row at y (GetRowAt).
model_index_to_row_index
fn model_index_to_row_index(self: &Self, model_index: &IndexPath) -> i32
row_index_to_model_index
fn row_index_to_model_index(self: &Self, row_index: i32) -> IndexPath
realize_cell
fn realize_cell(self: &Self, column: &ColumnRef, column_index: i32, row_index: i32) -> CellRef
The cell of column (at column_index) in the row at row_index.
unrealize_cell
fn unrealize_cell(self: &Self, cell: &CellRef, column_index: i32, row_index: i32)
add_collection_changed
fn add_collection_changed(self: &Self, handler: Rc<RowsChangedHandler>) -> u64
CollectionChanged.
remove_collection_changed
fn remove_collection_changed(self: &Self, token: u64)
try_recycle_cell
fn try_recycle_cell(self: &Self, _column: &ColumnRef, _cell: &CellRef) -> bool
Returns a cell to the pool of its column (IRecyclingCellRows.TryRecycleCell).
as_any
fn as_any(self: &Self) -> &dyn Any
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.