CTelBubbleCustomElement Class Reference

class CTelBubbleCustomElement : public CBase

Wraps extension control and binds it to UI element.

BMCustomization.lib
Since
S60 v5.0
Usage:

// Display custom icon in big call indicator position CTelBubbleImage* image = CTelBubbleImage::NewL() ; image->SetPicture( bitmap, mask ); CTelBubbleCustomElement* element = CTelBubbleCustomElement::NewL ( image, CTelBubbleCustomElement::EBigCallIndicator );

Inherits from

Public Member Functions
~CTelBubbleCustomElement ()
IMPORT_C CCoeControl * Control ()
IMPORT_C TControlType ControlType ()
IMPORT_C TElementType ElementType ()
IMPORT_C CTelBubbleCustomElement * NewL ( CCoeControl *, TElementType )
IMPORT_C CTelBubbleCustomElement * NewL ( CTelBubbleAnim *, TElementType )
IMPORT_C CTelBubbleCustomElement * NewL ( CTelBubbleLabel *, TElementType )
IMPORT_C CTelBubbleCustomElement * NewL ( CTelBubbleImage *, TElementType )
IMPORT_C CTelBubbleCustomElement * NewL ( CTelBubbleCallImage *, TElementType )
Private Member Functions
CTelBubbleCustomElement ( CCoeControl *, TElementType )
CTelBubbleCustomElement ( CTelBubbleAnim *, TElementType )
CTelBubbleCustomElement ( CTelBubbleLabel *, TElementType )
CTelBubbleCustomElement ( CTelBubbleImage *, TElementType )
CTelBubbleCustomElement ( CTelBubbleCallImage *, TElementType )
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Public Member Enumerations
enum TControlType { EBubbleImage , EBubbleAnimation , EBubbleControl , EBubbleLabel , EBubbleCallImage }
enum TElementType {
EBigCallIndicator  = 0, ENumberTypeIcon , ESmallCallIndicator , EBrandImage , ECallImage , ECustomElementCount
}
Private Attributes
CCoeControl * iControl
TControlType iControlType
TElementType iElementType

Constructor & Destructor Documentation

CTelBubbleCustomElement(CCoeControl *, TElementType)

CTelBubbleCustomElement ( CCoeControl * aControl,
TElementType aElement
) [private]

Parameters

CCoeControl * aControl
TElementType aElement

CTelBubbleCustomElement(CTelBubbleAnim *, TElementType)

CTelBubbleCustomElement ( CTelBubbleAnim * aControl,
TElementType aElement
) [private]

Parameters

CTelBubbleAnim * aControl
TElementType aElement

CTelBubbleCustomElement(CTelBubbleLabel *, TElementType)

CTelBubbleCustomElement ( CTelBubbleLabel * aControl,
TElementType aElement
) [private]

Parameters

CTelBubbleLabel * aControl
TElementType aElement

CTelBubbleCustomElement(CTelBubbleImage *, TElementType)

CTelBubbleCustomElement ( CTelBubbleImage * aControl,
TElementType aElement
) [private]

Parameters

CTelBubbleImage * aControl
TElementType aElement

CTelBubbleCustomElement(CTelBubbleCallImage *, TElementType)

CTelBubbleCustomElement ( CTelBubbleCallImage * aControl,
TElementType aElement
) [private]

Parameters

CTelBubbleCallImage * aControl
TElementType aElement

~CTelBubbleCustomElement()

IMPORT_C ~CTelBubbleCustomElement ( ) [virtual]

Destructor

Member Functions Documentation

Control()

IMPORT_C CCoeControl * Control ( ) const

Returns custom control.

ControlType()

IMPORT_C TControlType ControlType ( ) const

Returns control type.

ElementType()

IMPORT_C TElementType ElementType ( ) const

Return constomized UI element.

NewL(CCoeControl *, TElementType)

IMPORT_C CTelBubbleCustomElement * NewL ( CCoeControl * aControl,
TElementType aElement
) [static]

Two phase constructor

Parameters

CCoeControl * aControl Sets owned control, ownership is transferred
TElementType aElement Sets place where control is shown

NewL(CTelBubbleAnim *, TElementType)

IMPORT_C CTelBubbleCustomElement * NewL ( CTelBubbleAnim * aControl,
TElementType aElement
) [static]

Parameters

CTelBubbleAnim * aControl
TElementType aElement

NewL(CTelBubbleLabel *, TElementType)

IMPORT_C CTelBubbleCustomElement * NewL ( CTelBubbleLabel * aControl,
TElementType aElement
) [static]

Parameters

CTelBubbleLabel * aControl
TElementType aElement

NewL(CTelBubbleImage *, TElementType)

IMPORT_C CTelBubbleCustomElement * NewL ( CTelBubbleImage * aControl,
TElementType aElement
) [static]

Parameters

CTelBubbleImage * aControl
TElementType aElement

NewL(CTelBubbleCallImage *, TElementType)

IMPORT_C CTelBubbleCustomElement * NewL ( CTelBubbleCallImage * aControl,
TElementType aElement
) [static]

Parameters

CTelBubbleCallImage * aControl
TElementType aElement

Member Enumerations Documentation

Enum TControlType

Enumerators

EBubbleImage
EBubbleAnimation
EBubbleControl
EBubbleLabel
EBubbleCallImage

Enum TElementType

Enumerators

EBigCallIndicator = 0
ENumberTypeIcon
ESmallCallIndicator
EBrandImage
ECallImage
ECustomElementCount

Member Data Documentation

CCoeControl * iControl

CCoeControl * iControl [private]

TControlType iControlType

TControlType iControlType [private]

TElementType iElementType

TElementType iElementType [private]