TreeDataGridCheckBoxCell
struct · ferroui-controls-treedatagrid · v0.5.0
struct TreeDataGridCheckBoxCell
A cell that shows a CheckBoxCell model.
Members
TYPEto_refis_read_only_propertyis_three_state_propertyvalue_propertyconstructnewis_read_onlyset_is_read_onlyis_three_stateset_is_three_statevalueset_value
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<TreeDataGridCheckBoxCell>
Returns a strong reference to this object.
is_read_only_property
fn is_read_only_property() -> &'static DirectProperty<TreeDataGridCheckBoxCell, bool>
Defines the IsReadOnly property.
is_three_state_property
fn is_three_state_property() -> &'static DirectProperty<TreeDataGridCheckBoxCell, bool>
Defines the IsThreeState property.
value_property
fn value_property() -> &'static DirectProperty<TreeDataGridCheckBoxCell, Option<bool>>
Defines the Value property.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
is_read_only
fn is_read_only(self: &Self) -> bool
Whether the value cannot be changed.
set_is_read_only
fn set_is_read_only(self: &Self, value: bool)
is_three_state
fn is_three_state(self: &Self) -> bool
Whether the check box has an indeterminate state.
set_is_three_state
fn set_is_three_state(self: &Self, value: bool)
value
fn value(self: &Self) -> Option<bool>
The value of the cell. Setting it writes the value to the model.
set_value
fn set_value(self: &Self, value: Option<bool>)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeTreeDataGridCellImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyInputElementImplExtInteractiveImplExtLayoutableImplExtFerroObjectImplExtStyledElementImplExtClassDefaultsVisualImplExtErasedDestructorIntoEitherTemplatedControlImplExtControlImplExtDerefUpcast<T>Upcast<TreeDataGridCheckBoxCell>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplStyledElementImplVisualImplLayoutableImplInteractiveImplTemplatedControlImplInputElementImplControlImplTreeDataGridCellImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.