ColorViewImpl
trait · ferroui-controls-color-picker · v0.5.0
trait ColorViewImpl: TemplatedControlImpl + $crate::Upcast<ColorView>
The overridable members introduced by the class.
Members
validate_selection
fn validate_selection(this: &Self)
Obsolete. No-op. This method is no longer used and will be removed in a future release (the necessary validation is now handled by the tab control).
This method does nothing and should not be overridden or relied upon.
on_color_changed
fn on_color_changed(this: &Self, e: &ColorChangedEventArgs)
Raises the color changed event.
e defines the old/new colors.
on_coerce_color
fn on_coerce_color(this: &Self, value: Color) -> Color
Called when the Color property has to be coerced; returns the
coerced value.
on_coerce_hsv_color
fn on_coerce_hsv_color(this: &Self, value: HsvColor) -> HsvColor
Called when the HsvColor property has to be coerced; returns the
coerced value.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.