760 * Allows the Control to decide which pointer events are good for long tap animation. |
759 * Allows the Control to decide which pointer events are good for long tap animation. |
761 */ |
760 */ |
762 virtual TBool IsLongTapAnimationCandidate(const TPointerEvent& aPointerEvent) const =0; |
761 virtual TBool IsLongTapAnimationCandidate(const TPointerEvent& aPointerEvent) const =0; |
763 |
762 |
764 virtual void DoControlSpecificFeedback(const TBool& aFirstTap, |
763 virtual void DoControlSpecificFeedback(const TBool& aFirstTap, |
765 const TBool& aTappedToChildRect, |
764 const TBool& aTappedToChildRect, |
766 const TPointerEvent& aPointerEvent) const = 0; |
765 const TPointerEvent& aPointerEvent) const = 0; |
767 |
766 |
768 virtual void PostMouseEventL(const TPointerEvent& aPointerEvent) = 0; |
767 virtual void PostMouseEventL(const TPointerEvent& aPointerEvent) = 0; |
769 }; |
768 }; |
770 |
769 |
771 |
770 |
772 /** |
771 /** |
954 |
953 |
955 /** |
954 /** |
956 * In case this is a ScrolledComposite, returns one of the possible physics actions defined in eswt.h |
955 * In case this is a ScrolledComposite, returns one of the possible physics actions defined in eswt.h |
957 */ |
956 */ |
958 virtual TInt ScrolledCompositePysicsAction() const = 0; |
957 virtual TInt ScrolledCompositePysicsAction() const = 0; |
959 |
958 |
960 /** |
959 /** |
961 * Draw scrollbar background. |
960 * Draw scrollbar background. |
962 */ |
961 */ |
963 virtual void DrawScrollBarBackground(const TRect& aRect) const = 0; |
962 virtual void DrawScrollBarBackground(const TRect& aRect) const = 0; |
964 }; |
963 }; |
1395 /** |
1394 /** |
1396 * True if Java paint listeners are registered to self or children. |
1395 * True if Java paint listeners are registered to self or children. |
1397 */ |
1396 */ |
1398 virtual TBool AsyncPainting() const = 0; |
1397 virtual TBool AsyncPainting() const = 0; |
1399 virtual void SetAsyncPainting(TBool aStatus) = 0; |
1398 virtual void SetAsyncPainting(TBool aStatus) = 0; |
1400 |
1399 |
1401 /** |
1400 /** |
1402 * Attached CBA to the Shell. Cannot be undone. |
1401 * Attached CBA to the Shell. Cannot be undone. |
1403 */ |
1402 */ |
1404 virtual void InstallCba() = 0; |
1403 virtual void InstallCba() = 0; |
1405 virtual TBool HasCba() const = 0; |
1404 virtual TBool HasCba() const = 0; |
|
1405 |
|
1406 /** |
|
1407 * Set task tip style. |
|
1408 */ |
|
1409 virtual void SetTaskTip() = 0; |
|
1410 virtual TBool IsTaskTip() const = 0; |
1406 }; |
1411 }; |
1407 |
1412 |
1408 /** |
1413 /** |
1409 * Structure containing the data needed for the |
1414 * Structure containing the data needed for the |
1410 * org.eclipse.swt.core.Item class. |
1415 * org.eclipse.swt.core.Item class. |
2796 |
2801 |
2797 /** |
2802 /** |
2798 * Returns number of active browsers in applicaition. |
2803 * Returns number of active browsers in applicaition. |
2799 */ |
2804 */ |
2800 virtual TInt ActiveBrowserCount() const = 0; |
2805 virtual TInt ActiveBrowserCount() const = 0; |
2801 |
2806 |
2802 /** |
2807 /** |
2803 * Setter and getter for key input flag. |
2808 * Setter and getter for key input flag. |
2804 */ |
2809 */ |
2805 virtual TBool NaviKeyInput() const = 0; |
2810 virtual TBool NaviKeyInput() const = 0; |
2806 virtual void SetNaviKeyInput(TBool aKeyInput) = 0; |
2811 virtual void SetNaviKeyInput(TBool aKeyInput) = 0; |
2807 |
2812 |
2808 /** |
2813 /** |
2809 * This should be always used to hide, show the CBA. |
2814 * This should be always used to hide, show the CBA. |
2810 */ |
2815 */ |
2811 virtual void SetCbaVisible(TBool aVisible) = 0; |
2816 virtual void SetCbaVisible(TBool aVisible) = 0; |
2812 |
2817 |
2813 /** |
2818 /** |
2814 * Returns the pointer to the control that is currently receiving the pointer events |
2819 * Returns the pointer to the control that is currently receiving the pointer events |
2815 * because it has received EButton1Down event. This returns a valid control only between |
2820 * because it has received EButton1Down event. This returns a valid control only between |
2816 * EButton1Down and EButton1Up events. |
2821 * EButton1Down and EButton1Up events. |
2817 * @return Pointer to the control that is receiving the pointer events currently or NULL. |
2822 * @return Pointer to the control that is receiving the pointer events currently or NULL. |
2818 */ |
2823 */ |
2819 virtual MSwtControl* GetPointerGrabbingControl() = 0; |
2824 virtual MSwtControl* GetPointerGrabbingControl() = 0; |
|
2825 |
|
2826 /** |
|
2827 * Default bounds for TaskTips |
|
2828 */ |
|
2829 virtual TRect TaskTipRect() const = 0; |
|
2830 |
|
2831 /** |
|
2832 * Sets the pointerGrabbingControl |
|
2833 * Calling with NULL of course unsets. |
|
2834 */ |
|
2835 virtual void SetPointerCaptureControl(MSwtControl* aControl) = 0; |
|
2836 |
|
2837 /** |
|
2838 * Returns the current control that is grabbing the pointer events. |
|
2839 */ |
|
2840 virtual MSwtControl* PointerCaptureControl() = 0; |
2820 }; |
2841 }; |
2821 |
2842 |
2822 |
2843 |
2823 /** |
2844 /** |
2824 * Interface class for constructing native peers. |
2845 * Interface class for constructing native peers. |
3153 * @param aParent The parent Composite |
3174 * @param aParent The parent Composite |
3154 * @param aStyle The SWT style flags |
3175 * @param aStyle The SWT style flags |
3155 */ |
3176 */ |
3156 virtual MSwtSortedList* NewSortedListL(MSwtDisplay& aDisplay, |
3177 virtual MSwtSortedList* NewSortedListL(MSwtDisplay& aDisplay, |
3157 TSwtPeer aPeer, MSwtComposite& aParent, TInt aStyle) const =0; |
3178 TSwtPeer aPeer, MSwtComposite& aParent, TInt aStyle) const =0; |
3158 |
|
3159 /** |
|
3160 * Constructs a TaskTip |
|
3161 * @param aDisplay The Display this TaskTip belongs to. |
|
3162 * @param aPeer The Java object associated with this C++ object |
|
3163 */ |
|
3164 virtual MSwtTaskTip* NewTaskTipL(MSwtDisplay& aDisplay, |
|
3165 TSwtPeer aPeer, TInt aStyle) const =0; |
|
3166 |
3179 |
3167 /** |
3180 /** |
3168 * Constructs a TextExtension |
3181 * Constructs a TextExtension |
3169 * @param aDisplay The Display this TextExtension belongs to. |
3182 * @param aDisplay The Display this TextExtension belongs to. |
3170 * @param aPeer The Java object associated with this C++ object |
3183 * @param aPeer The Java object associated with this C++ object |