Location:
eikctgrp.h
Link against:
eikcoctl.lib
CEikControlGroup
Supported from 6.0
This class holds an array of controls wrapped with related information. This related information is an ID, whether the control is of a fixed size or is stretchable and, if a set size, the control’s length.
|
Defined in CEikControlGroup
:
AddControlL()
, CEikControlGroup()
, ComponentControl()
, ConstructL()
, Control()
, ControlArray()
, ControlById()
, ControlId()
, CountComponentControls()
, DeleteControl()
, EFromBottomLeft
, EFromBottomRight
, EFromTopLeft
, EFromTopRight
, ELayHorizontally
, ELayVertically
, GetColorUseListL()
, HandleResourceChange()
, IndexById()
, InsertControlL()
, LayoutControls()
, MinimumSize()
, Reset()
, SetBreadthInPixels()
, SetControlLayout()
, SetControlSpacing()
, SetControlsAllSameSize()
, SetLengthInPixels()
, SetNumberOfLines()
, TOrientation
, TStartCorner
, iControlArray
, ~CEikControlGroup()
Inherited from CBase
:
operator new()
Inherited from CCoeControl
:
ActivateGc()
,
ActivateL()
,
BackedUpWindow()
,
CapturesPointer()
,
ClaimPointerGrab()
,
CloseWindow()
,
ConstructFromResourceL()
,
ControlContext()
,
ControlEnv()
,
CopyControlContextFrom()
,
CreateBackedUpWindowL()
,
CreateWindowL()
,
DeactivateGc()
,
DrawDeferred()
,
DrawNow()
,
DrawableWindow()
,
EnableDragEvents()
,
FocusChanged()
,
GetColor()
,
GetHelpContext()
,
GrabbingComponent()
,
HandleComponentControlsResourceChange()
,
HandlePointerBufferReadyL()
,
HandlePointerEventL()
,
HandleRedrawEvent()
,
IgnoreEventsUntilNextPointerUp()
,
Index()
,
InputCapabilities()
,
IsActivated()
,
IsBackedUp()
,
IsBeingDestroyed()
,
IsBlank()
,
IsDimmed()
,
IsFocused()
,
IsNonFocusing()
,
IsReadyToDraw()
,
IsVisible()
,
MakeVisible()
,
Observer()
,
OfferKeyEventL()
,
OverrideColorL()
,
OwnsWindow()
,
Position()
,
PositionChanged()
,
PositionRelativeToScreen()
,
PrepareForFocusGainL()
,
PrepareForFocusLossL()
,
Rect()
,
RecursivelyMergedInputCapabilities()
,
ReportEventL()
,
ResetGc()
,
SetAllowStrayPointers()
,
SetBlank()
,
SetCanDrawOutsideRect()
,
SetComponentsToInheritVisibility()
,
SetContainerWindow()
,
SetContainerWindowL()
,
SetControlContext()
,
SetCornerAndSize()
,
SetCornerAndSizeL()
,
SetDimmed()
,
SetExtent()
,
SetExtentL()
,
SetExtentToWholeScreen()
,
SetExtentToWholeScreenL()
,
SetFocus()
,
SetFocusing()
,
SetGloballyCapturing()
,
SetNeighbor()
,
SetNonFocusing()
,
SetObserver()
,
SetPointerCapture()
,
SetPosition()
,
SetRect()
,
SetRectL()
,
SetSize()
,
SetSizeL()
,
SetSizeWithoutNotification()
,
SetSizeWithoutNotificationL()
,
Size()
,
SizeChanged()
,
SizeChangedL()
,
SystemGc()
,
Window()
Inherited from CEikBorderedControl
:
Border()
,
Draw()
,
HasBorder()
,
SetAdjacent()
,
SetBorder()
,
iBorder
void ConstructL(TStartCorner aStart,TOrientation aOrientation);
Completes construction of the control group.
|
void AddControlL(CCoeControl* aControl,TInt aId);
Wraps, then adds, a control to the control group array. Wraps aControl
with aId
to generate a TEikGroupControl
which is appended to the control group array.
|
void AddControlL(TEikGroupControl& aGroupControl);
Adds a wrapped control to the control group array.
|
void InsertControlL(TEikGroupControl& aGroupControl,TInt aIndex);
Adds a wrapped control to the control group array at the given index position.
|
void DeleteControl(TInt aIndex,TInt aCount);
Deletes the specified controls.
|
CCoeControl* Control(TInt aIndex) const;
Gets the control identified by the given index.
|
|
TInt IndexById(TInt aId) const;
Gets the index of the control with the given ID.
|
|
CCoeControl* ControlById(TInt aId) const;
Gets the control identified by the given ID.
|
|
TInt ControlId(CCoeControl* aControl) const;
Gets the specified control’s ID.
|
|
CArrayFix<TEikGroupControl>* ControlArray() const;
Gets the control array.
|
TInt CountComponentControls() const;
Gets the number of controls in the control group.
|
virtual void GetColorUseListL(CArrayFix<TCoeColorUse>& aColorUseList) const;
Gets the list of logical colours used to draw the control. Appends the list to aColorUseList
paired with an explanation of how the colours are used.
|
protected:
CCoeControl* ComponentControl(TInt aIndex) const;
Gets the component control identified by the given index.
|
|
TSize MinimumSize();
Gets the minimum size required to draw the control group.
|
void SetBreadthInPixels(TInt aBreadth);
Sets the control group’s breadth in pixels.
|
void SetLengthInPixels(TInt aLength);
Sets the control group’s length in pixels.
|
void SetControlLayout(TStartCorner aStart,TOrientation aOrientation);
Sets the control group’s layout.
|
void SetControlSpacing(TInt aHSpacing,TInt aVSpacing);
Sets the control group’s horizontal and vertical spacing.
|
void SetControlsAllSameSize();
Sets all controls within the control group to be the same size.
void SetNumberOfLines(TInt aNumLines,TBool aDistributeEvenly);
Sets the control group’s number of lines and whether to distribute the controls in the group evenly.
|
virtual void HandleResourceChange(TInt aType);
Handles a change to the control's resources which are shared across the environment. For example, colours or fonts.
|
TOrientation
Specifies the control group’s orientation.
|
TStartCorner
Specifies the corner of the control group from which to start control layout.
|
CArrayFix<TEikGroupControl>* iControlArray
Array of wrapped controls.