diff -r 42e9659b68d1 -r 41890dfa56f5 org.symbian.wrttools.doc.WRTKit/html/WRTKit_View_Class-GUID-e673fe1a-cf46-46f5-b243-ce7422c69cc5.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/org.symbian.wrttools.doc.WRTKit/html/WRTKit_View_Class-GUID-e673fe1a-cf46-46f5-b243-ce7422c69cc5.html Thu Mar 04 15:42:37 2010 -0800 @@ -0,0 +1,203 @@ + + + + + + + + + + + + + + +WRTKit View Class + + + + + +

+WRTKit View Class

+ +
+ +

+Description

+ + +

+ + 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. +

+ +
+ +

+Inherits from

+ + +

+ + +UIElement +

+ +
+ +

+Events

+ + +
+ +
+ +
+ +
+ +
+
+ +

+getFocusedControl()

+ +
+ +

+Syntax

+ + +
+[Control] View.getFocusedControl(void)
+ +
+ +

+Description

+ + +

+ + Retrieves the currently focused control in the view or null if none. +

+ +
+ +

+Arguments

+ + +

+ + This method does not take any arguments. +

+ +
+ +

+Return value

+ + +

+ + The current focused control or null if none. +

+ +
+ +
+ +
+ +
+ +

+focusFirstControl()

+ +
+ +

+Syntax

+ + +
+[Control] View.focusFirstControl(void)
+ +
+ +

+Description

+ + +

+ + 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. +

+ +
+ +

+Arguments

+ + +

+ + This method does not take any arguments. +

+ +
+ +

+Return value

+ + +

+ + This method does not return a value. +

+ +
+ +
+ +
+ + + + \ No newline at end of file