Singleton class for handling focus
Coded by Danko Kozar

C# | Visual Basic | Visual C++ |
public class FocusManager
Public Class FocusManager
public ref class FocusManager

All Members | Methods | Properties | Fields | ||
Icon | Member | Description |
---|---|---|
![]() ![]() | AutoCorrectUnityFocus |
Should the framework correct improper Unity focus?
|
![]() | Blur()()()() |
Blurs everything
|
![]() | Blur(InteractiveComponent) |
Blurs the referenced component but only if currently in focus
Use this if you really know what you are doing; else you get en exception
|
![]() | ComponentToHighlight |
The component to hightlight
|
![]() ![]() | DebugMode | |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize()()()() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | FocusedComponent |
Focused component
|
![]() | FocusedComponentUid |
Focused component UID
|
![]() | GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType()()()() | Gets the type of the current instance. (Inherited from Object.) |
![]() | HasFocusedComponent(InteractiveComponent) |
Checks if the specified component is in focus
|
![]() | HasFocusedComponent(String) |
Checks if the component having the specified ID is in focus
|
![]() | HasFocusedComponents(array<String>[]()[][]) |
Returns true if one of the specified component is in focus
|
![]() ![]() | Instance |
Singleton instance
|
![]() ![]() | IsFocusCandidate(InteractiveComponent) |
Gets the info if this is a focus candidate (for tabbing etc.)
|
![]() | IsFocused |
Is any of the components in focus
|
![]() | MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | SetFocus(InteractiveComponent) |
Sets focus to the component
Blurs previously focused component
Called internaly by InteractiveComponent
|
![]() | TabbedToFocus |
The flag indicating the component has been focused with tabbing This flag shoud be set prior to SetFocus call When setting the focus, the system will react depending of this flag, and then reset the flag back to false |
![]() | ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) |

Object | |
![]() | FocusManager |