CAknColumnListBox Class Reference

API published in: S60 1st Ed

Link against: avkon.lib eikctl.lib eikcoctl.lib

Capability Information

Required Capabilities

None


#include <aknlists.h>

Inherits CEikColumnListBox.

Inherited by AknListBoxLinesTemplate< CAknColumnListBox >.


Detailed Description

Avkon version of eikon's column listbox.

Content for list items are tab-separated strings.

See methods CEikListBox::ConstructFromResourceL() CEikListBox::ConstructL() CEikTextListBox::SetItemArray() CEikColumnListBoxData::SetIconArray()

Related flags for ConstructL() (avkon.hrh) EAknListBoxSelectionList EAknListBoxMenuList EAknListBoxMarkableList EAknListBoxMultiselectionList EAknListBoxViewerFlags

Related flags for dialogs (avkon.hrh) EAknDialogSelectionList EAknDialogMenuList EAknDialogMultiselectionList


Public Member Functions

virtual IMPORT_C CListBoxView MakeViewClassInstanceL ()
  Creates new CAknColumnListBoxView object and returns pointer to it.
virtual IMPORT_C void  CreateModelL ()
  Creates CAknFilteredTextListBoxModel object.
virtual IMPORT_C TInt  AdjustRectHeightToWholeNumberOfItems (TRect &aRect) const
  Listbox rectangle calculation.
IMPORT_C void  HandlePointerEventL (const TPointerEvent &aPointerEvent)
  From CCoeControl.

Member Function Documentation

virtual IMPORT_C TInt CAknColumnListBox::AdjustRectHeightToWholeNumberOfItems TRect &  aRect  )  const [virtual]
 

Listbox rectangle calculation.

Rounds down the height of the rectangle (if necessary) so that only a whole number of items can be displayed inside the list box.

Parameters:
aRect  The size of the listbox.
Returns:
The number of pixels reduced.

Reimplemented from CEikListBox.

virtual IMPORT_C void CAknColumnListBox::CreateModelL  )  [virtual]
 

Creates CAknFilteredTextListBoxModel object.

Reimplemented from CEikColumnListBox.

IMPORT_C void CAknColumnListBox::HandlePointerEventL const TPointerEvent &  aPointerEvent  )  [virtual]
 

From CCoeControl.

Handles pointer events

Reimplemented from CEikColumnListBox.

Reimplemented in CAknSingleStyleListBox, CAknSingleGraphicStyleListBox, CAknSingleGraphicHeadingStyleListBox, and CAknSingleLargeStyleListBox.

virtual IMPORT_C CListBoxView* CAknColumnListBox::MakeViewClassInstanceL  )  [virtual]
 

Creates new CAknColumnListBoxView object and returns pointer to it.

Returns:
Pointer to the list box view which displays the list items which are currently visible in a list box.

Reimplemented from CEikColumnListBox.

Reimplemented in CAknSingleGraphicHeadingStyleListBox.


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

Copyright © Nokia Corporation 2001-2008
Back to top