javauis/lcdui_akn/lcdui/inc/CMIDChoiceGroupListBox.h
branchRCL_3
changeset 25 9ac0a0a7da70
parent 24 0fd27995241b
child 60 6c158198356e
--- a/javauis/lcdui_akn/lcdui/inc/CMIDChoiceGroupListBox.h	Tue May 11 16:07:20 2010 +0300
+++ b/javauis/lcdui_akn/lcdui/inc/CMIDChoiceGroupListBox.h	Tue May 25 12:34:19 2010 +0300
@@ -76,6 +76,14 @@
      * visible element in ChoiceGroup from top of Form.
      */
     TInt TopVisibleItemIndex();
+
+    /**
+     * Fuction sets ESingleClickDisabledHighlight - item drawer flags
+     * and reports current highlight element change event
+     */
+    void SingleClickDisableHighlightL(TBool aDisable);
+    void SetHighlight(TBool aVisible);
+
 #endif // RD_JAVA_S60_RELEASE_9_2
 
 #ifdef RD_TACTILE_FEEDBACK
@@ -92,12 +100,21 @@
 private:
     void SetTextColors();
 
+    /**
+     * Checks if highlight is needed
+     * @param aCurrentSelected - currently selected item
+     * @param aKeyEvent
+     * @return EFalse when highlight is not needed
+     */
+    TBool IsHighlightNeeded(TInt aCurrentSelected, const TKeyEvent& aKeyEvent);
+
 #ifdef RD_JAVA_S60_RELEASE_9_2
     /**
      * Fuction calculates index of element, which is the first
      * visible element in ChoiceGroup from top of Form.
      */
     void UpdateTopVisibleItemIndex();
+
 #endif // RD_JAVA_S60_RELEASE_9_2
 
 private: