MEikEnhancedButtonGroup Class Reference

#include <mw/eikbtgrp.h>

class MEikEnhancedButtonGroup : public MEikButtonGroup

Inherits from

Public Member Functions
pure virtual IMPORT_C TBoolIsCommandInGroup(const TInt)
pure virtual IMPORT_C voidOfferCommandListL(const RArray< TInt > &)
pure virtual IMPORT_C voidOfferCommandListL(const TInt)
pure virtual IMPORT_C voidReplaceCommand(const TInt, const TInt)
Inherited Functions
MEikButtonGroup::AddCommandL(TInt,TInt,const TDesC *,const CFbsBitmap *,const CFbsBitmap *)
MEikButtonGroup::AddCommandSetToStackL(TInt)
MEikButtonGroup::AddCommandToStackL(TInt,TInt)
MEikButtonGroup::AddCommandToStackL(TInt,TInt,const TDesC *,const CFbsBitmap *,const CFbsBitmap *)
MEikButtonGroup::AnimateCommand(TInt)
MEikButtonGroup::AnimateCommandByPosition(TInt)
MEikButtonGroup::AsControl()
MEikButtonGroup::AsControl()const
MEikButtonGroup::ButtonCount()const
MEikButtonGroup::ButtonGroupFlags()const
MEikButtonGroup::CalcMinimumSizeL(TInt)
MEikButtonGroup::CommandId(TInt)const
MEikButtonGroup::CommandPos(TInt)const
MEikButtonGroup::DimCommand(TInt,TBool)
MEikButtonGroup::DimCommandByPosition(TInt,TBool)
MEikButtonGroup::GroupControlAsButton(TInt)const
MEikButtonGroup::GroupControlById(TInt)const
MEikButtonGroup::IsCommandDimmed(TInt)const
MEikButtonGroup::IsCommandDimmedByPosition(TInt)const
MEikButtonGroup::IsCommandVisible(TInt)const
MEikButtonGroup::IsCommandVisibleByPosition(TInt)const
MEikButtonGroup::MakeCommandVisible(TInt,TBool)
MEikButtonGroup::MakeCommandVisibleByPosition(TInt,TBool)
MEikButtonGroup::ReduceRect(TRect &)const
MEikButtonGroup::Release()
MEikButtonGroup::RemoveCommandFromStack(TInt,TInt)
MEikButtonGroup::SetBoundingRect(const TRect &)
MEikButtonGroup::SetCommandL(TInt,TInt)
MEikButtonGroup::SetCommandL(TInt,TInt,const TDesC *,const CFbsBitmap *,const CFbsBitmap *)
MEikButtonGroup::SetCommandSetL(TInt)
MEikButtonGroup::SetDefaultCommand(TInt)
MEikButtonGroup::SetMSKCommandObserver(MEikCommandObserver *)

Detailed Description

Extends needed functions for enhanced cba.

Member Function Documentation

IsCommandInGroup ( const TInt )

IMPORT_C TBoolIsCommandInGroup(const TIntaCommandId)const [pure virtual]

Used to check if a certain command have been approved to the current command set.

ParameterDescription
aCommandIdThe id for command which existence should be checked.

Returns: ETrue if command is in control group, otherwise EFalse.

OfferCommandListL ( const RArray< TInt > & )

IMPORT_C voidOfferCommandListL(const RArray< TInt > &aCommandList)[pure virtual]

Used to offer list of commands for softkeys.

ParameterDescription
aCommandListA list of command ids to be offered for softkeys.

OfferCommandListL ( const TInt )

IMPORT_C voidOfferCommandListL(const TIntaResourceId)[pure virtual]

Used to offer list of commands for softkeys.

ParameterDescription
aResourceIdId for CBA resource that defines enhanced cba buttons.

ReplaceCommand ( const TInt, const TInt )

IMPORT_C voidReplaceCommand(const TIntaCommandId,
const TIntaResourceId
)[pure virtual]

Replace existing command with a new command.

ParameterDescription
aCommandIdId for command that should be replaced.
aResourceIdResource id for new enhanced cba button.