AknListBoxLinesTemplate< T > Class Template Reference

API published in: S60 1st Ed

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

Capability Information

Required Capabilities

None


#include <aknlists.h>

Inherited by CAknDouble2GraphicLargeGraphicStyleListBox, CAknDoubleGraphicStyleListBox, CAknDoubleLargeStyleListBox, CAknDoubleStyleListBox, CAknSettingNumberStyleListBox, CAknSingleHeadingStyleListBox, CAknSingleNumberHeadingStyleListBox, and CAknSingleNumberStyleListBox.


Detailed Description

template<class T>
class AknListBoxLinesTemplate< T >

This adds correct horizontal and vertival lines to the listbox and handles empty listbox!

This class is only useful if you're writing your own list layout. Please use the predefined layouts instead, for example CAknSingleStyleListBox.


Public Member Functions

IMPORT_C  AknListBoxLinesTemplate (TInt aResourceId)
  AknListBoxLinesTemplate.
IMPORT_C void  SizeChanged ()
  SizeChanged().
IMPORT_C void  Draw (const TRect &aRect) const
  Draw().
IMPORT_C TInt  CountComponentControls () const
  CountComponentControls().
IMPORT_C CCoeControl *  ComponentControl (TInt aIndex) const
  CountComponentControls().

Constructor & Destructor Documentation

template<class T>
IMPORT_C AknListBoxLinesTemplate< T >::AknListBoxLinesTemplate TInt  aResourceId  ) 
 

AknListBoxLinesTemplate.

Read AVKON_LISTBOX_LINES resources.

The following predefined lines are available: R_LIST_PANE_LINES_A_COLUMN R_LIST_PANE_LINES_AB_COLUMN R_LIST_PANE_LINES_AB_COLUMN_X R_LIST_PANE_LINES_AB_COLUMN_XX R_LIST_PANE_LINES_BC_COLUMN R_LIST_PANE_LINES_BC_COLUMN_X R_LIST_PANE_LINES_BC_COLUMN_XX


Member Function Documentation

template<class T>
IMPORT_C CCoeControl* AknListBoxLinesTemplate< T >::ComponentControl TInt  aIndex  )  const
 

CountComponentControls().

Choose controls to use as child controls

template<class T>
IMPORT_C TInt AknListBoxLinesTemplate< T >::CountComponentControls  )  const
 

CountComponentControls().

Choose controls to use as child controls

template<class T>
IMPORT_C void AknListBoxLinesTemplate< T >::Draw const TRect &  aRect  )  const
 

Draw().

Draws the lines

template<class T>
IMPORT_C void AknListBoxLinesTemplate< T >::SizeChanged  ) 
 

SizeChanged().

Determines position of the lines

Reimplemented in CAknSingleStyleListBox, CAknSingleNumberStyleListBox, CAknSingleHeadingStyleListBox, CAknSingleGraphicStyleListBox, CAknSingleGraphicHeadingStyleListBox, CAknSingleNumberHeadingStyleListBox, CAknSingleLargeStyleListBox, CAknDoubleStyleListBox, CAknDoubleStyle2ListBox, CAknDoubleNumberStyleListBox, CAknDoubleTimeStyleListBox, CAknDoubleLargeStyleListBox, CAknDoubleGraphicStyleListBox, CAknDouble2GraphicStyleListBox, CAknDouble2LargeStyleListBox, CAknDouble2GraphicLargeGraphicStyleListBox, CAknFormDoubleGraphicStyleListBox, CAknFormDoubleStyleListBox, CAknSettingStyleListBox, and CAknSettingNumberStyleListBox.


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

Copyright © Nokia Corporation 2001-2008
Back to top