CAknGMSPopupGrid Class Reference

API published in: S60 1st Ed

Link against: avkon.lib

Capability Information

Required Capabilities

None


#include <akngmsstylegrid.h>

Inherits CAknPopupList.


Detailed Description

The window part of a gms grid.

Public Member Functions

IMPORT_C void  SetupWindowLayout (AknPopupLayouts::TAknPopupLayouts)
  Setup the whole window layout; window position, grid and heading position, shadow for the window.
IMPORT_C void  HandlePointerEventL (const TPointerEvent &aPointerEvent)
  From CCoeControl.

Static Public Member Functions

static IMPORT_C CAknGMSPopupGrid NewL (CEikListBox *aListBox, TInt aCbaResource, AknPopupLayouts::TAknPopupLayouts aType=AknPopupLayouts::EMenuWindow)
  Creates a window for the grid.
static IMPORT_C void  CalcPopupGridLargeGraphicWindow (TAknPopupWindowLayoutDef &aDef, TRect aClientRect, TInt aNumberOfLinesInListBox)
  Calculate grid window position.
static IMPORT_C void  SetupPopupGridLargeGraphicWindow (TAknPopupWindowLayoutDef &aDef, TInt aNumberOfLinesInListBox, TBool aHeading)
  Calculate grid and heading position.
static IMPORT_C void  PopupGridLargeGraphicGraphics (TAknPopupWindowLayoutDef &aDef)
  Setup shadow for the window.

Member Function Documentation

static IMPORT_C void CAknGMSPopupGrid::CalcPopupGridLargeGraphicWindow TAknPopupWindowLayoutDef aDef,
TRect  aClientRect,
TInt  aNumberOfLinesInListBox
[static]
 

Calculate grid window position.

IMPORT_C void CAknGMSPopupGrid::HandlePointerEventL const TPointerEvent &  aPointerEvent  ) 
 

From CCoeControl.

Handles pointer events

Reimplemented from CAknPopupList.

static IMPORT_C CAknGMSPopupGrid* CAknGMSPopupGrid::NewL CEikListBox aListBox,
TInt  aCbaResource,
AknPopupLayouts::TAknPopupLayouts  aType = AknPopupLayouts::EMenuWindow
[static]
 

Creates a window for the grid.

Parameters:
aListBox  The grid used.
aCbaResource  The softkeys used.
aType  The layout used

Reimplemented from CAknPopupList.

static IMPORT_C void CAknGMSPopupGrid::PopupGridLargeGraphicGraphics TAknPopupWindowLayoutDef aDef  )  [static]
 

Setup shadow for the window.

static IMPORT_C void CAknGMSPopupGrid::SetupPopupGridLargeGraphicWindow TAknPopupWindowLayoutDef aDef,
TInt  aNumberOfLinesInListBox,
TBool  aHeading
[static]
 

Calculate grid and heading position.

IMPORT_C void CAknGMSPopupGrid::SetupWindowLayout AknPopupLayouts::TAknPopupLayouts   )  [virtual]
 

Setup the whole window layout; window position, grid and heading position, shadow for the window.

Parameters:
aLayoutId  A choice of layout -- not used by the implementation.

Reimplemented from CAknPopupList.


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

Copyright © Nokia Corporation 2001-2008
Back to top