KeyboardConsoleComponent Class
Definition
Section titled “Definition”A base class that implements ProcessKeyboard(IScreenObject, Keyboard, out bool) of IComponent.
public abstract class KeyboardConsoleComponent : IComponentInheritance object
Implements IComponent
Constructors
Section titled “Constructors”KeyboardConsoleComponent()
Section titled “KeyboardConsoleComponent()”protected KeyboardConsoleComponent()Properties
Section titled “Properties”SortOrder
Section titled “SortOrder”Indicates priority to other components.
public uint SortOrder { get; set; }Methods
Section titled “Methods”ProcessKeyboard(IScreenObject, Keyboard, out bool)
Section titled “ProcessKeyboard(IScreenObject, Keyboard, out bool)”Called by a host when the keyboard is being processed.
public abstract void ProcessKeyboard(IScreenObject host, Keyboard keyboard, out bool handled)Parameters
Section titled “Parameters”host IScreenObject
The host calling the component.
keyboard Keyboard
The state of the keyboard.
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.