selection
module · ferroui-treedatagrid-core · v0.5.0
module selection
Selection/: the tree selection model and the row and cell selection of a source.
Virtual members
The selection classes of the reference form a small hierarchy with virtual members; as in the framework's selection, they are plain shared structs whose virtual members are modelled explicitly:
SelectionNodeBaseholds the state of the base of the nodes; its inherent methods are the base implementations, andSelectionNodeBaseImplthe overridable members, implemented byTreeSelectionNode. The base holds the node weakly, for the virtual calls and as the listener of the changes of its source.TreeSelectionModelBaseowns the root node; its overridable members (GetChildren,TryGetItemAt,OnSourceCollectionChangeFinished,OnNodeCollectionReset) areTreeSelectionModelHooks, implemented by the type deriving from the model and registered weakly withTreeSelectionModelBase::set_hooks.
Items are Option<Rc<M>> (the reference's T?), untyped items Option<BoxedValue>
(object?); the untyped source of the contracts is UntypedModels.
Contents
downcast_selection— functionITreeDataGridSelection— traitbox_model— functiondowncast_models— functionerase_models— functionIReadOnlyList— traitITreeSelectionModel— traitReadOnlyList— structUntypedModels— type aliasIndexRange— structIndexRangeIndices— structIndexRanges— structCollectionChangeState— structSelectionNodeBase— structSelectionNodeBaseImpl— traitTreeSelectedIndexes— structTreeSelectedItems— structTreeSelectionChangedItems— structtyped_source— functionBatchUpdateOperation— structOperation— structTreeSelectionModelBase— structTreeSelectionModelHooks— traitTreeSelectionModelIndexesChangedEventArgs— structTreeSelectionModelSelectionChangedEventArgs— traitTreeSelectionModelSelectionChangedEventArgsOf— structUntypedItems— structTreeSelectionModelSourceResetEventArgs— structTreeSelectionNode— structColumnSelectionItem— structTreeDataGridCellSelectionChangedEventArgs— structTreeDataGridCellSelectionModel— structTreeDataGridRowSelectionModel— struct
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.