The View class is an abstract base class for all views. Views are containers for controls and are used to collect the set of controls that constitutes a logical view in a widget user interface. The displayed view is controlled by the UIManager. Don't instantiate View directly but rather one of its subclasses, e.g. ListView.
FocusedControlChanged
This event is fired when the focused control has changed in the view.
[Control] View.getFocusedControl(void)
Retrieves the currently focused control in the view or null if none.
This method does not take any arguments.
The current focused control or null if none.
[Control] View.focusFirstControl(void)
Attempts to focus the first focusable control in the view. Note that this method call might fail to actually focus the control in certain circumstances, such as when the view is not visible or if no focusable control exists.
This method is rarely needed because focus handling is to a high degree handled automatically by the user interface toolkit. For example when a new view is displayed the first focusable control is automatically given focus.
This method does not take any arguments.
This method does not return a value.