MouseConsoleComponent Class
Definition
Section titled “Definition”A base class that implements ProcessMouse(IScreenObject, MouseScreenObjectState, out bool) of IComponent.
public abstract class MouseConsoleComponent : IComponentInheritance object
Implements IComponent
Constructors
Section titled “Constructors”MouseConsoleComponent()
Section titled “MouseConsoleComponent()”protected MouseConsoleComponent()Properties
Section titled “Properties”SortOrder
Section titled “SortOrder”Indicates priority to other components.
public uint SortOrder { get; set; }Methods
Section titled “Methods”ProcessMouse(IScreenObject, MouseScreenObjectState, out bool)
Section titled “ProcessMouse(IScreenObject, MouseScreenObjectState, out bool)”Called by a host when the mouse is being processed.
public abstract void ProcessMouse(IScreenObject host, MouseScreenObjectState state, out bool handled)Parameters
Section titled “Parameters”host IScreenObject
The host calling the component.
state MouseScreenObjectState
The state of the mouse in relation to the console.
handled bool
When set to true informs the host caller that we handled the mouse and to stop others from handling.
OnAdded(IScreenObject)
Section titled “OnAdded(IScreenObject)”Called when the component is added to a host.
public virtual void OnAdded(IScreenObject host)Parameters
Section titled “Parameters”host IScreenObject
The host that added the component.
OnRemoved(IScreenObject)
Section titled “OnRemoved(IScreenObject)”Called when the component is removed from the host.
public virtual void OnRemoved(IScreenObject host)Parameters
Section titled “Parameters”host IScreenObject
The host that removed the component.