|
1 /* |
|
2 * Copyright (c) 2002-2006 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: Provides the TAknFepUiInputStateCandidateRetroActive definition. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 #ifndef __AKN_FEP_UI_INPUT_STATE_CANDIDATE_RETROACTIVE_H__ |
|
30 #define __AKN_FEP_UI_INPUT_STATE_CANDIDATE_RETROACTIVE_H__ |
|
31 |
|
32 // INCLUDES |
|
33 #include <e32std.h> |
|
34 |
|
35 #include "AknFepUiInputStateEntryJapaneseMultitap.h" |
|
36 |
|
37 // CONSTANTS |
|
38 |
|
39 // MACROS |
|
40 |
|
41 // DATA TYPES |
|
42 |
|
43 // FUNCTION PROTOTYPES |
|
44 |
|
45 // FORWARD DECLARATIONS |
|
46 |
|
47 // CLASS DECLARATION |
|
48 class MAknFepUIManagerStateInterface; |
|
49 class CAknFepUICtrlJapaneseCandidatePane; |
|
50 enum TKeyPressLength; |
|
51 |
|
52 /** |
|
53 * TAknFepUiInputStateCandidateRetroActive class. |
|
54 * |
|
55 * @lib AknFep.lib |
|
56 * @since 2.6 |
|
57 */ |
|
58 class TAknFepUiInputStateCandidateRetroActive |
|
59 :public TAknFepUiInputStateEntryJapaneseMultitap |
|
60 { |
|
61 public: // Constructors and destructor |
|
62 /** |
|
63 * C++ default constructor |
|
64 * |
|
65 * @since 2.6 |
|
66 * @param aOwner Object derived MAknFepUIManagerStateInterfa |
|
67 * @param aUIContainer MAknFepUICtrlContainerJapanese object |
|
68 */ |
|
69 TAknFepUiInputStateCandidateRetroActive( |
|
70 MAknFepUIManagerStateInterface* aOwner, |
|
71 MAknFepUICtrlContainerJapanese* aUIContainer); |
|
72 |
|
73 public: // Functions from base classes |
|
74 /** |
|
75 * From TAknFepUiInputStateEntryJapaneseMultitap |
|
76 * Initialize state |
|
77 * |
|
78 * @since 2.6 |
|
79 */ |
|
80 void InitializeStateL(); |
|
81 |
|
82 /** |
|
83 * From TAknFepUiInputStateEntryJapaneseMultitap |
|
84 * Processing of Closeing UI |
|
85 * |
|
86 * @since 2.6 |
|
87 */ |
|
88 void CloseUI(); |
|
89 |
|
90 protected:// Functions from base classes |
|
91 /** |
|
92 * From TAknFepUiInputStateEntryJapaneseMultitap |
|
93 * Handling short keypress events of the numeric and the star. |
|
94 * |
|
95 * @since 2.6 |
|
96 * @param aKey The event key code |
|
97 * @return ETrue |
|
98 */ |
|
99 TBool HandleNumericShortKeyL(TInt aKey); |
|
100 |
|
101 /** |
|
102 * From TAknFepUiInputStateEntryJapaneseMultitap |
|
103 * Handling navigate keypress events. |
|
104 * |
|
105 * @since 2.6 |
|
106 * @param aKey The event key code |
|
107 * @param aLength The Length of keypress |
|
108 * @return ETure |
|
109 */ |
|
110 TBool HandleNaviKeyL(TInt aKey, TKeyPressLength aLength); |
|
111 |
|
112 /** |
|
113 * From TAknFepUiInputStateEntryJapaneseMultitap |
|
114 * Handling auxiliary keypress events including OK and Backspace. |
|
115 * |
|
116 * @since 2.6 |
|
117 * @param aKey The event key code |
|
118 * @param aLength The Length of keypress |
|
119 * @return ETure |
|
120 */ |
|
121 TBool HandleAuxKeyL(TInt aKey, TKeyPressLength aLength); |
|
122 |
|
123 /** |
|
124 * From TAknFepInputStateBase |
|
125 * Handling Command events. This Method is called by CAknFepUIManagerJapanese. |
|
126 * |
|
127 * @since 2.6 |
|
128 * @param aCommandId Command ID value |
|
129 */ |
|
130 void HandleCommandL(TInt aCommandId); |
|
131 |
|
132 private: // New Functions |
|
133 void ShowListL(TInt aCommandId, TInt aIndex = 0); |
|
134 void ShowPredictiveListL(); |
|
135 void DoSelectItemL(); |
|
136 void DoCommitItemL(); |
|
137 |
|
138 }; |
|
139 #endif //__AKN_FEP_UI_INPUT_STATE_CANDIDATE_RETROACTIVE_H__ |
|
140 // End of file |