AutomationPeerImpl
trait · ferroui-controls · v0.5.0
trait AutomationPeerImpl: FerroObjectImpl + $crate::Upcast<AutomationPeer>
The overridable members introduced by the class.
Members
get_localized_control_type_corebring_into_view_coreget_accelerator_key_coreget_access_key_coreget_automation_control_type_coreget_automation_id_coreget_bounding_rectangle_coreget_or_create_children_coreget_class_name_coreget_labeled_by_coreget_name_coreget_help_text_coreget_placeholder_text_coreget_landmark_type_coreget_heading_level_coreget_item_type_coreget_item_status_coreget_parent_corehas_keyboard_focus_coreis_content_element_coreis_control_element_coreis_enabled_coreis_keyboard_focusable_coreis_offscreen_coreset_focus_coreshow_context_menu_coreget_live_setting_coreget_control_type_override_coreget_class_name_override_coreget_automation_root_coreget_visual_root_coreto_screen_coreis_content_element_override_coreis_control_element_override_coreget_provider_coretry_set_parentis_element_available_core
get_localized_control_type_core
fn get_localized_control_type_core(this: &Self) -> String
Gets a human-readable localized string that represents the type of the control that is associated with this automation peer.
bring_into_view_core
fn bring_into_view_core(this: &Self)
get_accelerator_key_core
fn get_accelerator_key_core(this: &Self) -> Option<String>
get_access_key_core
fn get_access_key_core(this: &Self) -> Option<String>
get_automation_control_type_core
fn get_automation_control_type_core(this: &Self) -> AutomationControlType
get_automation_id_core
fn get_automation_id_core(this: &Self) -> Option<String>
get_bounding_rectangle_core
fn get_bounding_rectangle_core(this: &Self) -> Rect
get_or_create_children_core
fn get_or_create_children_core(this: &Self) -> Rc<Vec<Ref<AutomationPeer>>>
get_class_name_core
fn get_class_name_core(this: &Self) -> String
get_labeled_by_core
fn get_labeled_by_core(this: &Self) -> Option<Ref<AutomationPeer>>
get_name_core
fn get_name_core(this: &Self) -> Option<String>
get_help_text_core
fn get_help_text_core(this: &Self) -> Option<String>
get_placeholder_text_core
fn get_placeholder_text_core(this: &Self) -> Option<String>
get_landmark_type_core
fn get_landmark_type_core(this: &Self) -> Option<AutomationLandmarkType>
get_heading_level_core
fn get_heading_level_core(this: &Self) -> i32
get_item_type_core
fn get_item_type_core(this: &Self) -> Option<String>
get_item_status_core
fn get_item_status_core(this: &Self) -> Option<String>
get_parent_core
fn get_parent_core(this: &Self) -> Option<Ref<AutomationPeer>>
has_keyboard_focus_core
fn has_keyboard_focus_core(this: &Self) -> bool
is_content_element_core
fn is_content_element_core(this: &Self) -> bool
is_control_element_core
fn is_control_element_core(this: &Self) -> bool
is_enabled_core
fn is_enabled_core(this: &Self) -> bool
is_keyboard_focusable_core
fn is_keyboard_focusable_core(this: &Self) -> bool
is_offscreen_core
fn is_offscreen_core(this: &Self) -> bool
set_focus_core
fn set_focus_core(this: &Self)
show_context_menu_core
fn show_context_menu_core(this: &Self) -> bool
get_live_setting_core
fn get_live_setting_core(this: &Self) -> AutomationLiveSetting
get_control_type_override_core
fn get_control_type_override_core(this: &Self) -> AutomationControlType
get_class_name_override_core
fn get_class_name_override_core(this: &Self) -> String
get_automation_root_core
fn get_automation_root_core(this: &Self) -> Option<Ref<AutomationPeer>>
Gets the root of the automation tree of the peer (not for use outside the framework).
get_visual_root_core
fn get_visual_root_core(this: &Self) -> Option<Ref<AutomationPeer>>
Gets the peer of the visual root of the element (not for use outside the framework).
to_screen_core
fn to_screen_core(this: &Self, rect: Rect) -> Option<Rect>
Converts a rectangle in the coordinates of the visual root to screen coordinates (not for use outside the framework).
is_content_element_override_core
fn is_content_element_override_core(this: &Self) -> bool
is_control_element_override_core
fn is_control_element_override_core(this: &Self) -> bool
get_provider_core
fn get_provider_core(this: &Self, provider_type: ValueType) -> Option<BoxedValue>
Gets the handle of the provider contract provider_type (the
type of the handle, for example Rc<dyn IInvokeProvider>) if the
peer provides it.
try_set_parent
fn try_set_parent(this: &Self, parent: Option<Ref<AutomationPeer>>) -> bool
Sets the parent of the peer; returns whether the peer accepted it.
is_element_available_core
fn is_element_available_core(this: &Self) -> bool
Whether the element of the peer still exists (true by default;
a ControlAutomationPeer whose control is gone answers false).
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.