pub struct EventTreeNodeBase { /* private fields */ }Expand description
A node of the tree of routed events of the events page: the owner of a group of events or one event, with the check box that enables the recording of the events below it.
Implementations§
Source§impl EventTreeNodeBase
impl EventTreeNodeBase
Sourcepub fn kind(&self) -> &EventTreeNodeKind
pub fn kind(&self) -> &EventTreeNodeKind
The part of the deriving class.
Sourcepub fn as_event_tree_node(&self) -> Option<&EventTreeNode>
pub fn as_event_tree_node(&self) -> Option<&EventTreeNode>
The node as an EventTreeNode (C# node as EventTreeNode).
Sourcepub fn as_event_owner_tree_node(&self) -> Option<&EventOwnerTreeNode>
pub fn as_event_owner_tree_node(&self) -> Option<&EventOwnerTreeNode>
The node as an EventOwnerTreeNode (C# node as EventOwnerTreeNode).
Sourcepub fn children(&self) -> Option<FerroList<Rc<EventTreeNodeBase>>>
pub fn children(&self) -> Option<FerroList<Rc<EventTreeNodeBase>>>
The child nodes; None for a node without children.
Sourcepub fn visible_children(&self) -> Option<Rc<FerroList<Rc<EventTreeNodeBase>>>>
pub fn visible_children(&self) -> Option<Rc<FerroList<Rc<EventTreeNodeBase>>>>
The visible children, in their order: the child rows of the node in the TreeDataGrid of the
events page, which follow the filter of the page (sync_visible_nodes); None for a node
without children. The same list every time, so that the rows of the children are kept
while the node notifies other changes.
Deviation (DEVIATIONS.md, Developer tools): upstream’s tree view hides the items of the nodes that are not visible; the rows of a TreeDataGrid are the nodes of its source.
pub fn is_expanded(&self) -> bool
pub fn set_is_expanded(&self, value: bool)
Sourcepub fn is_enabled(&self) -> Option<bool>
pub fn is_enabled(&self) -> Option<bool>
Whether the events of the node are recorded: None when some of the
events below the node are and some are not.
Sourcepub fn set_is_enabled(&self, value: Option<bool>)
pub fn set_is_enabled(&self, value: Option<bool>)
The virtual setter of IsEnabled: the override of the deriving class
(EventOwnerTreeNode or EventTreeNode).
pub fn is_visible(&self) -> bool
pub fn set_is_visible(&self, value: bool)
pub fn parent(&self) -> Option<Rc<EventTreeNodeBase>>
pub fn text(&self) -> &str
Trait Implementations§
Source§impl INotifyPropertyChanged for EventTreeNodeBase
impl INotifyPropertyChanged for EventTreeNodeBase
Source§fn property_changed(&self) -> &Event<str>
fn property_changed(&self) -> &Event<str>
Source§fn as_notify_property_changing(&self) -> Option<&dyn INotifyPropertyChanging>
fn as_notify_property_changing(&self) -> Option<&dyn INotifyPropertyChanging>
INotifyPropertyChanging, when it also raises the event of a property
that is about to change; None by default. Read moreSource§impl MarkupTyped for EventTreeNodeBase
impl MarkupTyped for EventTreeNodeBase
Source§const MARKUP: &'static MarkupType
const MARKUP: &'static MarkupType
Auto Trait Implementations§
impl !Freeze for EventTreeNodeBase
impl !RefUnwindSafe for EventTreeNodeBase
impl !Send for EventTreeNodeBase
impl !Sync for EventTreeNodeBase
impl !UnwindSafe for EventTreeNodeBase
impl Unpin for EventTreeNodeBase
impl UnsafeUnpin for EventTreeNodeBase
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
affects_render, metadata
overrides). Read more