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