fep/aknfep/UiPlugins/AknFepUiInterface/AvkonImpl/inc/AknFepUIAvkonCtrlJapaneseCandidateCellListBoxData.h
changeset 40 2cb9bae34d17
parent 31 f1bdd6b078d1
child 49 37f5d84451bd
equal deleted inserted replaced
31:f1bdd6b078d1 40:2cb9bae34d17
     1 /*
       
     2 * Copyright (c) 2003 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0""
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:            Candidate list
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 
       
    25 
       
    26 
       
    27 
       
    28 
       
    29 #ifndef CAKNFEPUICTRLJAPANESECANDIDATECELLLISTBOXDATA_H
       
    30 #define CAKNFEPUICTRLJAPANESECANDIDATECELLLISTBOXDATA_H
       
    31 
       
    32 // INCLUDES
       
    33 #include <eikfrlbd.h>   // CFormattedCellListBoxData
       
    34 
       
    35 // CONSTANTS
       
    36 
       
    37 // FORWARD DECLARATIONS
       
    38 
       
    39 // CLASS DECLARATION
       
    40 
       
    41 /**
       
    42 *  CAknFepUICtrlJapaneseCandidateHeadingPane class.
       
    43 *
       
    44 *  @lib AknFep.lib
       
    45 *  @since 2.6
       
    46 */
       
    47 NONSHARABLE_CLASS(CAknFepUICtrlJapaneseCandidateCellListBoxData)
       
    48         : public CFormattedCellListBoxData
       
    49     {
       
    50     public:  // Constructors and destructor
       
    51         /**
       
    52         * Two-phased constructor.
       
    53         */
       
    54         static CAknFepUICtrlJapaneseCandidateCellListBoxData* NewL();
       
    55 
       
    56     public: // Functions from CFormattedCellListBoxData
       
    57         /**
       
    58         * From CFormattedCellListBoxData Draw() is the most important method
       
    59         * in CAknFepUICtrlJapaneseCandidateCellListBoxData.
       
    60         * This is the only method that needs to be implemented in this class
       
    61         * and it draws the whole list item.
       
    62         * @since 2.6
       
    63         * @param aProperties Properties attached to the list item
       
    64         * @param aGc Graphics context used for drawing the list item
       
    65         * @param aText a text string describing the list item cells
       
    66         * @param aRect the area of the screen for the whole list item
       
    67         * @param aHighlight whether the list item is selected
       
    68         * @param aColors the colours used for drawing the item
       
    69         */
       
    70         virtual void Draw(TListItemProperties aProperties,
       
    71                           CWindowGc& aGc,
       
    72                           const TDesC* aText,
       
    73                           const TRect& aRect,
       
    74                           TBool aHighlight, 
       
    75                           const TColors& aColors) const;
       
    76 
       
    77         /**
       
    78         * From CFormattedCellListBoxData DrawDefaultHighlight() is ...
       
    79         * @since 2.6
       
    80         * @param aGc 
       
    81         * @param aItemRect
       
    82         * @param aHighlight
       
    83         */
       
    84         void DrawDefaultHighlight(CWindowGc& aGc,
       
    85                                   const TRect& aItemRect,
       
    86                                   TBool aHighlight) const;
       
    87     };
       
    88 
       
    89 #endif  // CAKNFEPUICTRLJAPANESECANDIDATECELLLISTBOXDATA_H
       
    90 
       
    91 // End of File