API published in: S60 1st Ed
Link against: eikdlg.lib eikcoctl.lib
Required Capabilities
None
#include <eikctgrp.h>
Inherits CEikBorderedControl.
Inherited by CEikCba, and CEikToolBar.
Public Types |
|
enum | TStartCorner { EFromTopLeft = SLafControlGroup::EFromTopLeft, EFromTopRight = SLafControlGroup::EFromTopRight, EFromBottomLeft = SLafControlGroup::EFromBottomLeft, EFromBottomRight = SLafControlGroup::EFromBottomRight } |
enum | TOrientation { ELayHorizontally = SLafControlGroup::ELayHorizontally, ELayVertically = SLafControlGroup::ELayVertically } |
Public Member Functions |
|
IMPORT_C | CEikControlGroup () |
Constructor. |
|
IMPORT_C | ~CEikControlGroup () |
Destructor. |
|
IMPORT_C void | ConstructL (TStartCorner aStart, TOrientation aOrientation) |
ConstructL() constructs the CEikControlGroup. |
|
virtual IMPORT_C void | AddControlL (CCoeControl *aControl, TInt aId) |
AddControlL() adds a new control to the controlgroup. |
|
virtual IMPORT_C void | AddControlL (TEikGroupControl &aGroupControl) |
AddControlL() adds new control to the controlgroup. |
|
IMPORT_C void | InsertControlL (TEikGroupControl &aGroupControl, TInt aIndex) |
InsertControlL() inserts a control to specific position. |
|
IMPORT_C void | DeleteControl (TInt aIndex, TInt aCount) |
DeleteControl() removes control from the group. |
|
IMPORT_C void | SetLengthInPixels (TInt aLength) |
SetLengthInPixels() sets length of the control group in pixels. |
|
IMPORT_C void | SetBreadthInPixels (TInt aBreadth) |
SetBreadthInPixels() sets width of the control group. |
|
IMPORT_C void | SetControlSpacing (TInt aHSpacing, TInt aVSpacing) |
SetControlSpacing sets horizontal and vertical spacing. |
|
IMPORT_C void | SetControlLayout (TStartCorner aStart, TOrientation aOrientation) |
SetControlLayout sets control layout parameters. |
|
IMPORT_C void | SetNumberOfLines (TInt aNumLines, TBool aDistributeEvenly) |
SetNumberOfLines() sets number of lines of the control group. |
|
IMPORT_C void | SetControlsAllSameSize () |
SetControlsAllSameSize() sets all controls to be the same size. |
|
IMPORT_C void | LayoutControls () |
LayoutControls layouts the controls. |
|
IMPORT_C CCoeControl * | ControlById (TInt aId) const |
ControlById() fetches individual controls by id. |
|
IMPORT_C TInt | IndexById (TInt aId) const |
IndexById() gets array index from id. |
|
IMPORT_C void | Reset () |
Reset() clears the control array. |
|
IMPORT_C TInt | ControlId (CCoeControl *aControl) const |
ControlId() finds id of the control based on CCoeCOntrol pointer. |
|
IMPORT_C CCoeControl * | Control (TInt aIndex) const |
Control() returns CCoeControl pointer based on array index. |
|
IMPORT_C CArrayFix< TEikGroupControl > * | ControlArray () const |
ControlArray() access to the actual array representation. |
|
IMPORT_C TOrientation | Orientation () const |
Orientation orientation of the control group. |
|
IMPORT_C void | ControlSpacing (TInt &aHSpacing, TInt &aVSpacing) const |
ControlSpacing() gets control's spacing modifies variable to get horizontal spacing modifies variable to get vertical spacing. |
|
IMPORT_C TSize | MinimumSize () |
MinimumSize() gets minimumsize. |
|
IMPORT_C TInt | CountComponentControls () const |
CountComponentControls returns component controls count. |
|
virtual IMPORT_C void | GetColorUseListL (CArrayFix< TCoeColorUse > &aColorUseList) const |
GetColorUseListL() sets the color use list of the control group. |
|
virtual IMPORT_C void | HandleResourceChange (TInt aType) |
HandleResourceChange() handles resource change event. |
|
IMPORT_C void | HandlePointerEventL (const TPointerEvent &aPointerEvent) |
HandlePointerEventL() handles touch pointer events. |
|
Protected Types |
|
enum | { EDistributeEvenly = 0x40, EAllSameSize = 0x80, EDisableMSKDrawing = 0x100 } |
Protected Member Functions |
|
IMPORT_C CCoeControl * | ComponentControl (TInt aIndex) const |
IMPORT_C void | WriteInternalStateL (RWriteStream &aWriteStream) const |
Writes the internal state of the control and its components to aWriteStream . |
|
void | SetMSKVisibility (TBool aEnable) |
Protected Attributes |
|
CArrayFix< TEikGroupControl > * | iControlArray |
Friends |
|
class | CTestControlGroup |
class | CEikCba |
|
|
|
|
Constructor. |
|
Destructor. |
|
AddControlL() adds new control to the controlgroup.
Reimplemented in CEikToolBar. |
|
AddControlL() adds a new control to the controlgroup.
Reimplemented in CEikToolBar. |
|
|
ConstructL() constructs the CEikControlGroup.
|
|
Control() returns CCoeControl pointer based on array index.
|
|
ControlArray() access to the actual array representation.
|
|
ControlById() fetches individual controls by id.
|
|
ControlId() finds id of the control based on CCoeCOntrol pointer.
|
|
ControlSpacing() gets control's spacing modifies variable to get horizontal spacing modifies variable to get vertical spacing. |
|
CountComponentControls returns component controls count. |
|
DeleteControl() removes control from the group.
|
|
GetColorUseListL() sets the color use list of the control group. Reimplemented from CEikBorderedControl. Reimplemented in CEikCba, and CEikToolBar. |
|
HandlePointerEventL() handles touch pointer events. Reimplemented from CEikBorderedControl. Reimplemented in CEikCba, and CEikToolBar. |
|
HandleResourceChange() handles resource change event. Reimplemented from CEikBorderedControl. Reimplemented in CEikCba, and CEikToolBar. |
|
IndexById() gets array index from id.
|
|
InsertControlL() inserts a control to specific position.
Reimplemented in CEikCba. |
|
LayoutControls layouts the controls. |
|
MinimumSize() gets minimumsize. Reimplemented in CEikCba. |
|
Orientation orientation of the control group.
|
|
Reset() clears the control array. |
|
SetBreadthInPixels() sets width of the control group.
|
|
SetControlLayout sets control layout parameters.
|
|
SetControlsAllSameSize() sets all controls to be the same size. |
|
SetControlSpacing sets horizontal and vertical spacing.
|
|
SetLengthInPixels() sets length of the control group in pixels.
|
|
|
SetNumberOfLines() sets number of lines of the control group.
|
|
Writes the internal state of the control and its components to Does nothing in release mode. Designed to be overridden and base called from subclasses.
From
Reimplemented from CEikBorderedControl. Reimplemented in CEikToolBar. |
|
|
|