CEikEnhancedCbaButton Class Reference

class CEikEnhancedCbaButton : public CEikCbaButton

Specialization of CEikCbaButton for the new Enhanced CBA button.

eikcoctl.lib S60 3.0

Inherits from

Public Member Functions
CEikEnhancedCbaButton()
~CEikEnhancedCbaButton()
TInt CommandId()
TInt CommandType()
voidConstructEmptyButtonL()
voidConstructFromResourceL(TResourceReader &)
TPtrC *LabelText()
voidSetCommandType(const TInt)
Inherited Functions
CAknControl::CAknControl()
CAknControl::~CAknControl()
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()
CCoeControl::AccumulatedZoom()const
CCoeControl::ActivateGc()const
CCoeControl::ActivateL()
CCoeControl::BackedUpWindow()const
CCoeControl::Background()const
CCoeControl::CCoeControl()
CCoeControl::CCoeControl(CCoeEnv *)
CCoeControl::CCoeControl(const CCoeControl &)
CCoeControl::CapturesPointer()const
CCoeControl::ClaimPointerGrab(TBool)
CCoeControl::ClaimPointerGrab(TInt,TBool)
CCoeControl::CloseWindow()
CCoeControl::ComponentArrayExists()const
CCoeControl::Components()
CCoeControl::Components()const
CCoeControl::ControlContext()const
CCoeControl::ControlEnv()const
CCoeControl::CopyControlContextFrom(const CCoeControl *)
CCoeControl::CreateBackedUpWindowL(RWindowTreeNode &)
CCoeControl::CreateBackedUpWindowL(RWindowTreeNode &,TDisplayMode)
CCoeControl::CreateWindowL()
CCoeControl::CreateWindowL(RWindowGroup *)
CCoeControl::CreateWindowL(RWindowTreeNode &)
CCoeControl::CreateWindowL(const CCoeControl *)
CCoeControl::CustomGc()const
CCoeControl::DeactivateGc()const
CCoeControl::DrawBackground(const TRect &)const
CCoeControl::DrawDeferred()const
CCoeControl::DrawForeground(const TRect &)const
CCoeControl::DrawNow()const
CCoeControl::DrawNow(const TRect &)const
CCoeControl::DrawableWindow()const
CCoeControl::EnableDragEvents()
CCoeControl::EnableReportControlStateChange(TBool)
CCoeControl::EnableWindowTransparency()
CCoeControl::FindBackground()const
CCoeControl::FindFontProvider()const
CCoeControl::FocusChanged(TDrawNow)
CCoeControl::GetColor(TInt,TRgb &)const
CCoeControl::GetColorUseListL(CArrayFix< TCoeColorUse > &)const
CCoeControl::GetGc()const
CCoeControl::GetHelpContext(TCoeHelpContext &)const
CCoeControl::GrabbingComponent()const
CCoeControl::GrabbingComponent(TInt)const
CCoeControl::HandleComponentControlsResourceChange(TInt)
CCoeControl::HandleControlArrayEventL(CCoeControlArray::TEvent,const CCoeControlArray *,CCoeControl *,TInt)
CCoeControl::HandlePointerBufferReadyL()
CCoeControl::HandleRedrawEvent(const TRect &)const
CCoeControl::HandleResourceChange(TInt)
CCoeControl::HasBorder()const
CCoeControl::HitTest()const
CCoeControl::IgnoreEventsUntilNextPointerUp()
CCoeControl::Index(const CCoeControl *)const
CCoeControl::InitComponentArrayL()
CCoeControl::InputCapabilities()const
CCoeControl::IsActivated()const
CCoeControl::IsBackedUp()const
CCoeControl::IsBeingDestroyed()const
CCoeControl::IsBlank()const
CCoeControl::IsDimmed()const
CCoeControl::IsFocused()const
CCoeControl::IsNonFocusing()const
CCoeControl::IsReadyToDraw()const
CCoeControl::IsVisible()const
CCoeControl::LayoutManager()const
CCoeControl::MakeVisible(TBool)
CCoeControl::MaximumWidth()const
CCoeControl::MopSupplyObject(TTypeUid)
CCoeControl::NotifyFontChange(const CCoeFontProvider *)
CCoeControl::Observer()const
CCoeControl::OfferKeyEventL(const TKeyEvent &,TEventCode)
CCoeControl::OverrideColorL(TInt,TRgb)
CCoeControl::OwnsWindow()const
CCoeControl::Parent()
CCoeControl::Parent()const
CCoeControl::Position()const
CCoeControl::PositionChanged()
CCoeControl::PositionRelativeToScreen()const
CCoeControl::PrepareForFocusGainL()
CCoeControl::PrepareForFocusLossL()
CCoeControl::ProcessPointerBufferReadyL()
CCoeControl::ProcessPointerEventL(const TPointerEvent &)
CCoeControl::Rect()const
CCoeControl::RecursivelyMergeInputCapabilities(TCoeInputCapabilities &)const
CCoeControl::RecursivelyMergedInputCapabilities()const
CCoeControl::RefetchPixelMappingL()
CCoeControl::RemoveFromParent()
CCoeControl::ReportEventL(MCoeControlObserver::TCoeEvent)
CCoeControl::RequestRelayout(const CCoeControl *)
CCoeControl::ResetGc()const
CCoeControl::ScreenFont(const TCoeFont &)const
CCoeControl::SetAdjacent(TInt)
CCoeControl::SetAllowStrayPointers()
CCoeControl::SetBackground(const MCoeControlBackground *)
CCoeControl::SetBlank()
CCoeControl::SetCanDrawOutsideRect()
CCoeControl::SetComponentsToInheritVisibility(TBool)
CCoeControl::SetContainerWindowL(RBackedUpWindow &)
CCoeControl::SetContainerWindowL(RWindow &)
CCoeControl::SetControlContext(MCoeControlContext *)
CCoeControl::SetCornerAndSize(TGulAlignment,const TSize &)
CCoeControl::SetCustomGc(CWindowGc *)
CCoeControl::SetExtent(const TPoint &,const TSize &)
CCoeControl::SetExtentToWholeScreen()
CCoeControl::SetFocus(TBool,TDrawNow)
CCoeControl::SetFocusing(TBool)
CCoeControl::SetFontProviderL(const CCoeFontProvider &)
CCoeControl::SetGc(CWindowGc *)const
CCoeControl::SetGloballyCapturing(TBool)
CCoeControl::SetHitTest(const MCoeControlHitTest *)
CCoeControl::SetLayoutManagerL(MCoeLayoutManager *)
CCoeControl::SetMaximumWidth(TInt)
CCoeControl::SetMopParent(MObjectProvider *)
CCoeControl::SetNeighbor(CCoeControl *)
CCoeControl::SetNonFocusing()
CCoeControl::SetObserver(MCoeControlObserver *)
CCoeControl::SetParent(CCoeControl *)
CCoeControl::SetPointerCapture(TBool)
CCoeControl::SetPosition(const TPoint &)
CCoeControl::SetRect(const TRect &)
CCoeControl::SetSize(const TSize &)
CCoeControl::SetSizeWithoutNotification(const TSize &)
CCoeControl::SetTextBaselineSpacing(TInt)
CCoeControl::SetUniqueHandle(TInt)
CCoeControl::SetZoomFactorL(TInt,TZoomType)
CCoeControl::Size()const
CCoeControl::SystemGc()const
CCoeControl::TextBaselineOffset(const TSize &)const
CCoeControl::TextDrawer(TInt)const
CCoeControl::UniqueHandle()const
CCoeControl::Window()const
CCoeControl::WriteInternalStateL(RWriteStream &)const
CCoeControl::WriteInternalStateNowL(RWriteStream &)const
CCoeControl::ZoomWithType()const
CCoeControl::operator=(const CCoeControl &)
CCoeControl::~CCoeControl()
CEikCbaButton::AddCommandL(const TDesC &)
CEikCbaButton::ConstructFromResourceL(TResourceReader &,TGulAlignmentValue)
CEikCbaButton::ConstructL(TGulAlignmentValue)
CEikCbaButton::DrawToContext(CBitmapContext &,CBitmapContext &,const TPoint &)const
CEikCbaButton::FullLabelText()
CEikCbaButton::HandlePointerEventL(const TPointerEvent &)
CEikCbaButton::IndexFromCommandId(TInt)
CEikCbaButton::IsEmptyText()const
CEikCbaButton::IsImageOn()const
CEikCbaButton::MinimumSize()
CEikCbaButton::PopCommand()
CEikCbaButton::PressedDown()const
CEikCbaButton::PushCommandL(TInt,const TDesC &)
CEikCbaButton::RemoveCommand(TInt)
CEikCbaButton::RemovePreviousCommand()
CEikCbaButton::ReplaceImageByLabel()
CEikCbaButton::SetContainerWindowL(const CCoeControl &)
CEikCbaButton::SetDimmed(TBool)
CEikCbaButton::SetImage(CEikImage &)
CEikCbaButton::SetLabelFont(const CFont *)
CEikCbaButton::SetPressedDown(const TBool)
CEikCbaButton::SetTextBitmapMode(TBool)
CEikCbaButton::SwitchToShortTextL(TBool)
CEikCbaButton::TruncateLabelText()
CEikCbaButton::UpdateLabelText(TPtrC)
CEikCbaButton::~CEikCbaButton()
Inherited Enumerations
CCoeControl:TZoomType
Private Attributes
TInt iCommandId
TInt iCommandType
Inherited Attributes
CCoeControl::iCoeEnv
CCoeControl::iContext
CCoeControl::iPosition
CCoeControl::iSize
CEikCbaButton::iButtonOptions
CEikCbaButton::iDoImage
CEikCbaButton::iFullLabelText
CEikCbaButton::iImage
CEikCbaButton::iLabel
CEikCbaButton::iLongLabelText
CEikCbaButton::iMask
CEikCbaButton::iPressedDown
CEikCbaButton::iSfeMask
CEikCbaButton::iShortLabelText
CEikCbaButton::iText
CEikCbaButton::iUseTextBitmap

Constructor & Destructor Documentation

CEikEnhancedCbaButton()

CEikEnhancedCbaButton()

Default constructor.

~CEikEnhancedCbaButton()

~CEikEnhancedCbaButton()

Destructor.

Member Functions Documentation

CommandId()

TInt CommandId()const

Returns the command id for current button.

The command id.

CommandType()

TInt CommandType()const

Returns the command type for current button.

The command type.

ConstructEmptyButtonL()

voidConstructEmptyButtonL()

Constructs empty button with id EAknSoftkeyEmpty.

ConstructFromResourceL(TResourceReader &)

voidConstructFromResourceL(TResourceReader &aReader)[virtual]

Constructs a button based on resource definition.

Parameters

TResourceReader & aReaderResource reader for reading information from resource file.

LabelText()

TPtrC *LabelText()

Used to get the label text for the button.

Pointer to the label text.

SetCommandType(const TInt)

voidSetCommandType(const TIntaCommandType)

Sets command type for current button.

Parameters

const TInt aCommandTypeCommand type to be set.

Member Data Documentation

TInt iCommandId

TInt iCommandId[private]

TInt iCommandType

TInt iCommandType[private]