class UIElementmethod isFocused()Returns true if this element currently has input focus.isFocused(): boolean;Relatedclass UIElement abstractThe base class for built-in UI view elements.