Class in charge of managing the focus inside a Panel.
Each Panel should have an instance of this class. The instance holds the currently focused VisualElement and is responsible for changing it.
Additional resources: IPanel
| Property | Description |
|---|---|
| focusedElement | The currently focused VisualElement. |
| Constructor | Description |
|---|---|
| FocusController | Constructor. |
| Method | Description |
|---|---|
| IgnoreEvent | Instructs the FocusController to ignore the given event. This will prevent the event from changing the current focused VisualElement or triggering focus events. |