API published in: S60 1st Ed
Link against: avkon.lib eikctl.lib eikcoctl.lib
Required Capabilities
None
#include <eiklbv.h>
Inherits CListBoxView.
Public Member Functions |
|
IMPORT_C | ~CSnakingListBoxView () |
IMPORT_C | CSnakingListBoxView () |
TInt | ColumnWidth () const |
IMPORT_C void | SetColumnWidth (TInt aColumnWidth) |
virtual IMPORT_C void | MoveCursorL (TCursorMovement aCursorMovement, TSelectionMode aSelectionMode) |
virtual IMPORT_C void | SetTopItemIndex (TInt aItemIndex) |
Sets the item at the top of the view by its index in the list of all items. |
|
virtual IMPORT_C void | SetItemHeight (TInt aItemHeight) |
Sets the item height. |
|
virtual IMPORT_C TBool | XYPosToItemIndex (TPoint aPosition, TInt &aItemIndex) const |
Converts a pixel position into an item index. |
|
virtual IMPORT_C TInt | NumberOfItemsThatFitInRect (const TRect &aRect) const |
Gets the number of items that will fit into a given rectangle. |
|
virtual IMPORT_C void | HScroll (TInt aHScrollAmount) |
Scrolls horizontally by the specified number of pixels. |
|
virtual IMPORT_C void | CalcDataWidth () |
Recalculates the data width of this list box view from the item width of its list item drawer. |
|
virtual IMPORT_C void | CalcBottomItemIndex () |
Recalculates the index of the bottom item in the list by using the top item index and the size of the display. |
|
virtual IMPORT_C void | Draw (const TRect *aClipRect=NULL) const |
Draws every visible item into the specified rectangle. |
|
virtual IMPORT_C TInt | VisibleWidth (const TRect &aRect) const |
Gets the visible width of the specified rectangle in pixels. |
|
virtual IMPORT_C TBool | ScrollToMakeItemVisible (TInt aItemIndex) |
Scrolls vertically to make a particular item visible. |
|
virtual IMPORT_C TInt | CalculateHScrollOffsetSoItemIsVisible (TInt aItemIndex) |
virtual IMPORT_C TInt | CalcNewTopItemIndexSoItemIsVisible (TInt aItemIndex) const |
Calculates which item should be selected in order to make a particular item visible. |
|
virtual IMPORT_C TPoint | ItemPos (TInt aItemIndex) const |
Gets the on-screen position of an item. |
|
virtual IMPORT_C TSize | ItemSize (TInt aItemIndex=0) const |
Gets the on-screen size of an item. |
|
IMPORT_C void | CalcRowAndColIndexesFromItemIndex (TInt aItemIndex, TInt &aRowIndex, TInt &aColIndex) const |
IMPORT_C void | CalcItemIndexFromRowAndColIndexes (TInt &aItemIndex, TInt aRowIndex, TInt aColIndex) const |
virtual IMPORT_C TInt | NumberOfItemsPerColumn () const |
Protected Member Functions |
|
virtual IMPORT_C void | DrawItemRange (TInt aStartItemIndex, TInt aEndItemIndex) const |
IMPORT_C void | DrawColumnRange (TInt aStartColIndex, TInt aEndColIndex) const |
IMPORT_C void | MoveToPreviousColumnL (TSelectionMode aSelectionMode) |
IMPORT_C void | MoveToNextColumnL (TSelectionMode aSelectionMode) |
IMPORT_C void | ClearUnusedItemSpace (TInt aStartItemIndex, TInt aEndItemIndex) const |
IMPORT_C void | UpdateHScrollOffsetBasedOnTopItemIndex () |
Protected Attributes |
|
TInt | iColumnWidth |
|
|
|
Recalculates the index of the bottom item in the list by using the top item index and the size of the display. This function is called by the owning list box control when either the size of the list box or the number of items in its model changes. Reimplemented from CListBoxView. |
|
Recalculates the data width of this list box view from the item width of its list item drawer.
This method is called directly by Reimplemented from CListBoxView. |
|
|
Calculates which item should be selected in order to make a particular item visible.
Calling
Reimplemented from CListBoxView. |
|
|
|
|
|
Draws every visible item into the specified rectangle.
As implemented in
Reimplemented from CListBoxView. |
|
|
|
Scrolls horizontally by the specified number of pixels.
Reimplemented from CListBoxView. |
|
Gets the on-screen position of an item.
Reimplemented from CListBoxView. |
|
Gets the on-screen size of an item.
As implemented in
Reimplemented from CListBoxView. |
|
|
|
|
|
Gets the number of items that will fit into a given rectangle.
Reimplemented from CListBoxView. |
|
Scrolls vertically to make a particular item visible.
Reimplemented from CListBoxView. |
|
|
Sets the item height.
Reimplemented from CListBoxView. |
|
Sets the item at the top of the view by its index in the list of all items.
This function also invokes
Reimplemented from CListBoxView. |
|
|
Gets the visible width of the specified rectangle in pixels.
This function is called by
Reimplemented from CListBoxView. |
|
Converts a pixel position into an item index.
The function returns
Reimplemented from CListBoxView. |
|