|
1 /* |
|
2 * Copyright (c) 2002-2005 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: Multi rows list without icon for drop-down list objects |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef C_LISTMULTIROWWITHOUTICONWITHBUBBLE_H |
|
19 #define C_LISTMULTIROWWITHOUTICONWITHBUBBLE_H |
|
20 |
|
21 // INCLUDES |
|
22 #include <e32std.h> |
|
23 #include <w32std.h> |
|
24 |
|
25 #include "peninputlist.h" |
|
26 #include "peninputcandidate.h" |
|
27 #include "peninputlistexpandablemultirowwithouticon.h" |
|
28 |
|
29 class MFepCtrlDropdownListContext; |
|
30 /** |
|
31 * Multi rows list without icon for drop-down list |
|
32 * |
|
33 * @lib FepCtrlDropdownList.lib |
|
34 * @since S60 v3.2 |
|
35 */ |
|
36 NONSHARABLE_CLASS(CListMultiRowWithoutIconWithBubble) : public CListExpandableMultiRowWithoutIcon |
|
37 { |
|
38 |
|
39 public: // Methods |
|
40 |
|
41 /** |
|
42 * Create a object of CListMultiRowWithIcon, static method |
|
43 * |
|
44 * @since S60 v3.2 |
|
45 * @param aManager Pointer to the list manager |
|
46 * @param iOwner The drop down list |
|
47 * @return The CListMultiRowWithIcon pointer. |
|
48 */ |
|
49 static CListMultiRowWithoutIconWithBubble* NewL(CListManager* aManager, |
|
50 MFepCtrlDropdownListContext* iOwner); |
|
51 |
|
52 /** |
|
53 * Destructor |
|
54 * |
|
55 * @since S60 v3.2 |
|
56 */ |
|
57 virtual ~CListMultiRowWithoutIconWithBubble(); |
|
58 |
|
59 // from base class CListMultiRowWithIcon |
|
60 |
|
61 /** |
|
62 * Deal with the pointer down event. |
|
63 * |
|
64 * @since S60 v3.2 |
|
65 * @param aPoint The point of the mouse |
|
66 * @return None. |
|
67 */ |
|
68 virtual void HandlePointerDownL(const TPoint& aPoint); |
|
69 |
|
70 /** |
|
71 * Deal with the pointer up event. |
|
72 * |
|
73 * @since S60 v3.2 |
|
74 * @param aPoint The point of the mouse |
|
75 * @return None. |
|
76 */ |
|
77 virtual void HandlePointerUpL(const TPoint& aPoint); |
|
78 |
|
79 /** |
|
80 * Deal with the pointer drag event. |
|
81 * |
|
82 * @since S60 v3.2 |
|
83 * @param aPoint The point of the mouse |
|
84 * @return None. |
|
85 */ |
|
86 virtual void HandlePointerDragL(const TPoint& aPoint); |
|
87 |
|
88 protected: // Methods |
|
89 |
|
90 /** |
|
91 * Constructor. |
|
92 * |
|
93 * @param aManager The list manager |
|
94 * @param aOwner The context of the drop down list |
|
95 * @since S60 v3.2 |
|
96 */ |
|
97 CListMultiRowWithoutIconWithBubble(CListManager* aManager, MFepCtrlDropdownListContext* aOwner); |
|
98 |
|
99 // from base class CList |
|
100 |
|
101 /** |
|
102 * Compare rects equal or not. |
|
103 * |
|
104 * @since S60 v3.2 |
|
105 * @param aSrcRect The source rect |
|
106 * @param aDesRect The destination rect |
|
107 * @return ETrue If the two rects are equal. |
|
108 */ |
|
109 virtual TBool CompareRect(const TRect& aSrcRect, const TRect& aDesRect); |
|
110 |
|
111 protected: |
|
112 |
|
113 }; |
|
114 |
|
115 #endif // C_LISTMULTIROWWITHOUTICONWITHBUBBLE_H |
|
116 |
|
117 // End Of File |