class CCoeControl : public CBase |
Control base class from which all other controls are derived.
Public Member Enumerations | |
---|---|
enum | TZoomType { EAbsoluteZoom, ERelativeZoom } |
Protected Attributes | |
---|---|
CCoeEnv * | iCoeEnv |
MCoeControlContext * | iContext |
TPoint | iPosition |
TSize | iSize |
Private Attributes | |
---|---|
CCoeControlStorage * | iData |
TInt | iFlags |
MObjectProvider * | iMopParent |
RDrawableWindow * | iWin |
CCoeControl | ( | const CCoeControl & | aControl | ) | [protected, inline] |
const CCoeControl & aControl |
IMPORT_C void | ClaimPointerGrab | ( | TBool | aSendUpEvent = ETrue | ) |
TBool aSendUpEvent = ETrue |
IMPORT_C CCoeControl * | ComponentControl | ( | TInt | aIndex | ) | const [virtual] |
TInt aIndex |
IMPORT_C void | ConstructFromResourceL | ( | TResourceReader & | aReader | ) | [virtual] |
TResourceReader & aReader |
void | ControlClaimPointerGrab | ( | TInt | aPointerNumber | ) | [private] |
TInt aPointerNumber |
CCoeEnv * | ControlEnv | ( | ) | const [inline] |
Gets the control environment object for this control.
The control's control environment object.
IMPORT_C void | CopyControlContextFrom | ( | const CCoeControl * | aControl | ) |
const CCoeControl * aControl |
IMPORT_C void | CreateBackedUpWindowL | ( | RWindowTreeNode & | aParent | ) | [protected] |
RWindowTreeNode & aParent |
IMPORT_C void | CreateBackedUpWindowL | ( | RWindowTreeNode & | aParent, |
TDisplayMode | aDisplayMode | |||
) | [protected] |
RWindowTreeNode & aParent | |
TDisplayMode aDisplayMode |
IMPORT_C void | CreateWindowL | ( | const CCoeControl * | aParent | ) | [protected] |
const CCoeControl * aParent |
IMPORT_C void | CreateWindowL | ( | RWindowTreeNode & | aParent | ) | [protected] |
RWindowTreeNode & aParent |
IMPORT_C void | CreateWindowL | ( | RWindowGroup * | aParent | ) | [protected] |
RWindowGroup * aParent |
IMPORT_C void | Draw | ( | const TRect & | aRect | ) | const [private, virtual] |
const TRect & aRect |
IMPORT_C void | DrawBackground | ( | const TRect & | aRect | ) | const |
const TRect & aRect |
void | DrawComponents | ( | const TRect & | aRect | ) | const [private] |
const TRect & aRect |
IMPORT_C void | DrawForeground | ( | const TRect & | aRect | ) | const |
const TRect & aRect |
void | DrawWindowOwningComponentsNow | ( | const TRect & | aRect | ) | const [private] |
const TRect & aRect |
IMPORT_C void | EnableReportControlStateChange | ( | TBool | aState | ) |
TBool aState |
IMPORT_C void | FocusChanged | ( | TDrawNow | aDrawNow | ) | [protected, virtual] |
TDrawNow aDrawNow |
IMPORT_C void | GetColorUseListL | ( | CArrayFix< TCoeColorUse > & | aColorUseList | ) | const [virtual] |
CArrayFix< TCoeColorUse > & aColorUseList |
IMPORT_C void | GetHelpContext | ( | TCoeHelpContext & | aContext | ) | const [virtual] |
TCoeHelpContext & aContext |
IMPORT_C void | GetTextDrawer | ( | CCoeTextDrawerBase *& | aTextDrawer, |
const CCoeControl * | aDrawingControl, | |||
TInt | aKey | |||
) | const [private, virtual] |
CCoeTextDrawerBase *& aTextDrawer | |
const CCoeControl * aDrawingControl | |
TInt aKey |
IMPORT_C CCoeControl * | GrabbingComponent | ( | TInt | aPointer | ) | const [protected] |
TInt aPointer |
IMPORT_C void | HandleComponentControlsResourceChange | ( | TInt | aType | ) | [protected] |
TInt aType |
IMPORT_C void | HandleControlArrayEventL | ( | CCoeControlArray::TEvent | aEvent, |
const CCoeControlArray * | aArray, | |||
CCoeControl * | aControl, | |||
TInt | aControlId | |||
) | [protected, virtual] |
CCoeControlArray::TEvent aEvent | |
const CCoeControlArray * aArray | |
CCoeControl * aControl | |
TInt aControlId |
IMPORT_C void | HandlePointerEventL | ( | const TPointerEvent & | aPointerEvent | ) | [virtual] |
const TPointerEvent & aPointerEvent |
IMPORT_C void | HandleRedrawEvent | ( | const TRect & | aRect | ) | const [protected] |
const TRect & aRect |
IMPORT_C void | HandleResourceChange | ( | TInt | aType | ) | [virtual] |
TInt aType |
IMPORT_C TInt | Index | ( | const CCoeControl * | aControl | ) | const |
const CCoeControl * aControl |
TBool | IsGrabbed | ( | TInt | aPointerNumber = 0 | ) | const [private] |
TInt aPointerNumber = 0 |
IMPORT_C TTypeUid::Ptr | MopSupplyObject | ( | TTypeUid | aId | ) | [protected] |
TTypeUid aId |
void | NotifyFontChange | ( | const CCoeFontProvider * | aFontProvider | ) |
const CCoeFontProvider * aFontProvider |
IMPORT_C TKeyResponse | OfferKeyEventL | ( | const TKeyEvent & | aKeyEvent, |
TEventCode | aType | |||
) | [virtual] |
const TKeyEvent & aKeyEvent | |
TEventCode aType |
void | ProcessPointerEventL | ( | const TPointerEvent & | aPointerEvent | ) |
const TPointerEvent & aPointerEvent |
void | RecursivelyMergeInputCapabilities | ( | TCoeInputCapabilities & | aInputCapabilities | ) | const |
TCoeInputCapabilities & aInputCapabilities |
void | RecursivelyMergeTextDrawers | ( | CCoeTextDrawerBase *& | aTextDrawer, |
const CCoeControl * | aDrawingControl, | |||
TInt | aKey | |||
) | const [private] |
CCoeTextDrawerBase *& aTextDrawer | |
const CCoeControl * aDrawingControl | |
TInt aKey |
IMPORT_C TCoeInputCapabilities | RecursivelyMergedInputCapabilities | ( | ) | const |
void | ReportControlStateChange | ( | MCoeControlStateObserver::TCoeState | aType | ) | [private] |
MCoeControlStateObserver::TCoeState aType |
IMPORT_C void | ReportEventL | ( | MCoeControlObserver::TCoeEvent | aEvent | ) | [protected] |
MCoeControlObserver::TCoeEvent aEvent |
IMPORT_C TBool | RequestRelayout | ( | const CCoeControl * | aChildControl | ) | [virtual] |
const CCoeControl * aChildControl |
IMPORT_C const CFont & | ScreenFont | ( | const TCoeFont & | aFont | ) | const [protected] |
const TCoeFont & aFont |
const CCoeControl * | SearchParent | ( | const CCoeControl * | aParentToFind | ) | const [private] |
const CCoeControl * aParentToFind |
IMPORT_C void | SetBackground | ( | const MCoeControlBackground * | aBackground | ) |
const MCoeControlBackground * aBackground |
IMPORT_C void | SetComponentsToInheritVisibility | ( | TBool | aInherit = ETrue | ) |
TBool aInherit = ETrue |
IMPORT_C void | SetContainerWindowL | ( | const CCoeControl & | aContainer | ) | [virtual] |
const CCoeControl & aContainer |
IMPORT_C void | SetContainerWindowL | ( | RWindow & | aWindow | ) |
RWindow & aWindow |
IMPORT_C void | SetContainerWindowL | ( | RBackedUpWindow & | aWindow | ) |
RBackedUpWindow & aWindow |
IMPORT_C void | SetControlContext | ( | MCoeControlContext * | aContext | ) |
MCoeControlContext * aContext |
IMPORT_C void | SetCornerAndSize | ( | TGulAlignment | aCorner, |
const TSize & | aSize | |||
) | [protected] |
TGulAlignment aCorner | |
const TSize & aSize |
IMPORT_C TInt | SetCustomGc | ( | CWindowGc * | aGraphicsContext | ) |
CWindowGc * aGraphicsContext |
IMPORT_C void | SetExtent | ( | const TPoint & | aPosition, |
const TSize & | aSize | |||
) |
TInt | SetFontProvider | ( | const CCoeFontProvider * | aFontProvider | ) | [private] |
const CCoeFontProvider * aFontProvider |
IMPORT_C void | SetFontProviderL | ( | const CCoeFontProvider & | aFontProvider | ) |
const CCoeFontProvider & aFontProvider |
TInt | SetGc | ( | CWindowGc * | aGraphicsContext | ) | const [inline] |
Deprecated. See CCoeControl::SetCustomGc().
CWindowGc * aGraphicsContext |
IMPORT_C TInt | SetHitTest | ( | const MCoeControlHitTest * | aHitTestControl | ) |
const MCoeControlHitTest * aHitTestControl |
IMPORT_C void | SetLayoutManagerL | ( | MCoeLayoutManager * | aLayout | ) | [virtual] |
MCoeLayoutManager * aLayout |
IMPORT_C void | SetMopParent | ( | MObjectProvider * | aParent | ) |
MObjectProvider * aParent |
IMPORT_C void | SetNeighbor | ( | CCoeControl * | aNeighbor | ) | [virtual] |
CCoeControl * aNeighbor |
IMPORT_C void | SetObserver | ( | MCoeControlObserver * | aObserver | ) |
MCoeControlObserver * aObserver |
IMPORT_C TInt | SetParent | ( | CCoeControl * | aParent | ) | [virtual] |
CCoeControl * aParent |
IMPORT_C void | SetPointerCapture | ( | TBool | aCapture = ETrue | ) |
TBool aCapture = ETrue |
IMPORT_C void | SetPosition | ( | const TPoint & | aPosition | ) |
const TPoint & aPosition |
IMPORT_C void | SetSizeWithoutNotification | ( | const TSize & | aSize | ) | [protected] |
const TSize & aSize |
IMPORT_C void | SetTextBaselineSpacing | ( | TInt | aSpacing | ) | [virtual] |
TInt aSpacing |
IMPORT_C void | SetZoomFactorL | ( | TInt | aZoomFactor, |
TZoomType | aZoomType = ERelativeZoom | |||
) |
TInt | SetZoomWithType | ( | TCoeZoomWithType * | aZoomWithType | ) | [private] |
TCoeZoomWithType * aZoomWithType |
IMPORT_C TInt | TextBaselineOffset | ( | const TSize & | aSize | ) | const [virtual] |
const TSize & aSize |
IMPORT_C CCoeTextDrawerBase & | TextDrawer | ( | TInt | aKey = KErrNotFound | ) | const [protected] |
TInt aKey = KErrNotFound |
TInt | ValidateAdvancedPointerNumber | ( | const TPointerEvent & | aPointerEvent | ) | const [private] |
const TPointerEvent & aPointerEvent |
IMPORT_C void | WriteInternalStateL | ( | RWriteStream & | aWriteStream | ) | const [protected, virtual] |
RWriteStream & aWriteStream |
void | WriteInternalStateNowL | ( | RWriteStream & | aWriteStream | ) | const |
RWriteStream & aWriteStream |
CCoeControl & | operator= | ( | const CCoeControl & | aControl | ) | [protected, inline] |
const CCoeControl & aControl |