Symbian
 Developer Library

DEVELOPER LIBRARY

[Index] [Glossary] [Previous] [Next]



Uikon Core Controls Overview


Purpose

Provides core controls that are common to every UI variant. Further controls are available through the UI variant-specific APIs.

Note that in v7.0s, this API was moved out of Symbian OS and into the TechView test UI supplied on Symbian OS Development Kits. Where appropriate, equivalent classes will be provided by the relevant phone-specific UI.

[Top]


Architectural relationships

The controls include:

Note some control types, such as menus, are usually defined with resources.

As with all controls, the Uikon Core Controls are derived from the UI Control Framework.

[Top]


Description

The API has a large number of control classes. The main groups are: buttons, button groups, editable text windows, images, list boxes, menus, scroll bars, and status panes.


Uikon control base class

Many Uikon controls can have a rectangular border, and are derived from a base class that provides handling for this. The base class is CEikBorderedControl.


Buttons

Support is provided for buttons of various types, such as latchable buttons, and buttons displaying images. The base class is CEikButtonBase, and the basic button CEikCommandButton, resource CMBUT.


Button groups

UI variants typically use groups of buttons, such as toolbars and CBAs, for quick command input. Toolbar and band classes and resources are CEikToolBar, TOOLBAR, TOOLBAND, TBAR_CTRL, TBAR_BUTTON, and TBAR_PICBUT. CBA classes and resources are CEikButtonGroupContainer, CBA, and CBA_BUTTON.


Editable text window

A highly functional editable text window is provided, including facilities for clipboard, text layout, search and replace, and undo. The class is CEikEdwin, resource EDWIN.


Labels

Labels are simple controls that display text. The label classes is CEikLabel, resource LABEL.


Images

Bitmaps images can be used as controls through CEikImage, resource IMAGE.


List boxes

Base classes for list boxes are provided, together with concrete controls for text-based list boxes, and snaking (multi-column) list boxes. The class structure separates the main list box class (CEikListBox based, resource LISTBOX), drawing the current items on view (CListBoxView based), drawing an individual item (CListItemDrawer), and list box data (MListBoxModel).


Menus

Menu bars, panes, and items are provided through a family of classes whose names begin CEikMenuBar, resources MENU_BAR, MENU_PANE, MENU_TITLE, and MENU_ITEM. Hotkeys can be defined through HOTKEYS and HOTKEY.


Scroll bars

Scroll bars are provided by CEikScrollBar, and CEikArrowHeadScrollBar, a scroll bar without a shaft and two small nudge buttons for scrolling.


Status pane

Application status pane's are provided through a family of classes whose names begin CEikStatusPane.

[Top]


See also

UI Control Framework Overview