Interactivity / IInputHandler
IInputHandler Interface
Section titled “IInputHandler Interface”Namespace: Nodify.Interactivity
Assembly: Nodify
Derived: InputElementState<TElement>, InputElementState<TElement>, InputElementStateStack<TElement>, InputElementStateStack<TElement>.IInputElementState<TElement>, InputElementStateStack<TElement>.IInputElementState<TElement>, InputElementState<BaseConnection>, InputElementState<Connector>, InputElementStateStack<ItemContainer>, InputElementState<NodifyEditor>, InputElementStateStack<TElement>.IInputElementState<TElement>, InputElementState<TElement>, InputElementStateStack<TElement>, InputElementStateStack<TElement>.IInputElementState<TElement>, InputElementState<TElement>, InputElementStateStack<TElement>, InputProcessor.Shared<TElement>, InputElementState<Minimap>
References: InputProcessor
Defines a contract for handling input events within an element or system.
public interface IInputHandler
Properties
Section titled “Properties”ProcessHandledEvents
Section titled “ProcessHandledEvents”Gets or sets a value indicating whether events that have been handled should be processed too.
public virtual bool ProcessHandledEvents { get; set; }
Property Value
RequiresInputCapture
Section titled “RequiresInputCapture”Gets a value indicating whether the handler requires input capture to remain active.
public virtual bool RequiresInputCapture { get; set; }
Property Value
Methods
Section titled “Methods”HandleEvent(InputEventArgs)
Section titled “HandleEvent(InputEventArgs)”Handles a given input event, such as a mouse or keyboard interaction.
public virtual void HandleEvent(InputEventArgs e);
Parameters
e
InputEventArgs: The InputEventArgs representing the input event.