S60 3rd Edition API Reference: CEikEnhancedCbaButton Class Reference

CEikEnhancedCbaButton Class Reference

API published in: S60 1st Ed

Link against: eikcoctl.lib avkon.lib

Capability Information

Required Capabilities

None


#include <eikcba.h>

Inherits CEikCbaButton.


Detailed Description

Specialization of
CEikCbaButton for the new Enhanced CBA button.

Public Member Functions

 CEikEnhancedCbaButton ()
 default constructor
 ~CEikEnhancedCbaButton ()
 default destructor
TInt CommandType () const
 returns command's type for current button
void SetCommandType (const TInt aCommandType)
 Sets command type for current button.
TInt CommandId () const
 returns command id for current button
void ConstructFromResourceL (TResourceReader &aReader)
 constructs button based on resource definition
void ConstructEmptyButtonL ()
 Constructs empty button with id EAknSoftkeyEmpty.
TPtrC * LabelText ()
 Used to get the label text for the button.

Constructor & Destructor Documentation

CEikEnhancedCbaButton::CEikEnhancedCbaButton  ) 
 

default constructor

CEikEnhancedCbaButton::~CEikEnhancedCbaButton  ) 
 

default destructor


Member Function Documentation

TInt CEikEnhancedCbaButton::CommandId  )  const
 

returns command id for current button

Returns:
TInt command's id
TInt CEikEnhancedCbaButton::CommandType  )  const
 

returns command's type for current button

Returns:
TInt command's type
void CEikEnhancedCbaButton::ConstructEmptyButtonL  ) 
 

Constructs empty button with id EAknSoftkeyEmpty.

Reimplemented from CEikCbaButton.

void CEikEnhancedCbaButton::ConstructFromResourceL TResourceReader &  aReader  ) 
 

constructs button based on resource definition

Parameters:
aReader created resource reader for reading information from resource file
TPtrC* CEikEnhancedCbaButton::LabelText  ) 
 

Used to get the label text for the button.

Returns:
TPtrC pointer to the label text
void CEikEnhancedCbaButton::SetCommandType const TInt  aCommandType  ) 
 

Sets command type for current button.

Parameters:
aCommandType Command type to be set

The documentation for this class was generated from the following file:

Copyright © Nokia Corporation 2001-2007
Back to top