// Copyright (c) The Perspex Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
namespace Perspex.Input
{
///
/// Defines the interface for classes that handle keyboard navigation for a window.
///
public interface IKeyboardNavigationHandler
{
///
/// Sets the owner of the keyboard navigation handler.
///
/// The owner.
///
/// This method can only be called once, typically by the owner itself on creation.
///
void SetOwner(IInputRoot owner);
///
/// Moves the focus in the specified direction.
///
/// The current element.
/// The direction to move.
void Move(IInputElement element, FocusNavigationDirection direction);
}
}