javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/inc/eswtwidgetscore.h
branchRCL_3
changeset 19 71c436fe3ce0
parent 17 0fd27995241b
child 24 6c158198356e
equal deleted inserted replaced
18:9ac0a0a7da70 19:71c436fe3ce0
   763     virtual void DoControlSpecificFeedback(const TBool& aFirstTap,
   763     virtual void DoControlSpecificFeedback(const TBool& aFirstTap,
   764                                            const TBool& aTappedToChildRect,
   764                                            const TBool& aTappedToChildRect,
   765                                            const TPointerEvent& aPointerEvent) const = 0;
   765                                            const TPointerEvent& aPointerEvent) const = 0;
   766 
   766 
   767     virtual void PostMouseEventL(const TPointerEvent& aPointerEvent) = 0;
   767     virtual void PostMouseEventL(const TPointerEvent& aPointerEvent) = 0;
       
   768 
       
   769     /**
       
   770      * Enables or disables focus highlight for controls
       
   771      * Used only for list controls (Lists, ListView, ListBox and Table)
       
   772      * Only for 9.2
       
   773      */
       
   774     virtual void EnableFocusHighlight(TBool aEnable) = 0;
       
   775     
       
   776     /**
       
   777      * Get the visible rectangle of this control.
       
   778      * Window coordinates.
       
   779      * The clipping take in account the parent, but not the brother.
       
   780      * To take in account the sibblings use VisibleRegion() method.
       
   781      * @param aVisibleBounds If true return the visible rectangle of the control,
       
   782      *        else return visible client rectangle of the control.
       
   783      */
       
   784     virtual TRect VisibleRect(TBool aVisibleBounds = EFalse) const = 0;
   768 };
   785 };
   769 
   786 
   770 
   787 
   771 /**
   788 /**
   772  * Interface class for the org.eclipse.swt.widgets.Scrollable class
   789  * Interface class for the org.eclipse.swt.widgets.Scrollable class
  1406     /**
  1423     /**
  1407      * Set task tip style.
  1424      * Set task tip style.
  1408      */
  1425      */
  1409     virtual void SetTaskTip() = 0;
  1426     virtual void SetTaskTip() = 0;
  1410     virtual TBool IsTaskTip() const = 0;
  1427     virtual TBool IsTaskTip() const = 0;
       
  1428     
       
  1429     /**
       
  1430      * Sets the location even if top shell.
       
  1431      */
       
  1432     virtual void DoSetLocation(const TPoint& aPoint) = 0;
  1411 };
  1433 };
  1412 
  1434 
  1413 /**
  1435 /**
  1414  * Structure containing the data needed for the
  1436  * Structure containing the data needed for the
  1415  * org.eclipse.swt.core.Item class.
  1437  * org.eclipse.swt.core.Item class.
  2836 
  2858 
  2837     /**
  2859     /**
  2838      * Returns the current control that is grabbing the pointer events.
  2860      * Returns the current control that is grabbing the pointer events.
  2839      */
  2861      */
  2840     virtual MSwtControl* PointerCaptureControl() = 0;
  2862     virtual MSwtControl* PointerCaptureControl() = 0;
       
  2863     
       
  2864     /**
       
  2865      * Rearranges the application layout (status pane, Shell position, split 
       
  2866      * input view size) for best editing experience. There can be only one 
       
  2867      * editor in split view mode at a time. Setting 0 clears the split view 
       
  2868      * and restores the layout.
       
  2869      * 
       
  2870      * Following actions must be delegated to UiUtils while split editing is on:
       
  2871      * - Relocating the split input Shell (@see SetSplitInputShellPos)
       
  2872      * - Resizing the split input view. (@see SetSplitInputViewSize)
       
  2873      * 
       
  2874      * Following actions must be notified to UiUtils while split editing is on:
       
  2875      * - Resizing the split input shell. (@see AdjustSplitInputShellPos)
       
  2876      * - Relocating the split input view. (@see AdjustSplitInputShellPos)
       
  2877      */
       
  2878     virtual void SetSplitInputEditor(MSwtControl* aEditor) = 0;
       
  2879     
       
  2880     /**
       
  2881      * The currently active(focused) split input editor.
       
  2882      * Can be any Text, TextExtension, ConstrainedText or DateEditor.
       
  2883      */
       
  2884     virtual MSwtControl* SplitInputEditor() const = 0;
       
  2885     
       
  2886     /**
       
  2887      * The currently active split input editor or a parent ScrolledComposite.
       
  2888      * The view is getting resized automatically to fit in the available space
       
  2889      * above the VKB.
       
  2890      */
       
  2891     virtual MSwtControl* SplitInputView() const = 0;
       
  2892     
       
  2893     /**
       
  2894      * The parent shell of the active split input editor is temporarily
       
  2895      * moved vertically during split input editing therefore setting a new
       
  2896      * location must be diverted trough UiUtils.
       
  2897      * @param aOriginalPos - The real position of the Shell, which will be 
       
  2898      *                       applied when VKB closes.
       
  2899      */
       
  2900     virtual void SetSplitInputShellPos(const TPoint& aOriginalPos) = 0;
       
  2901     
       
  2902     /**
       
  2903      * The active split input editor or its ScrolledComposite ancestor 
       
  2904      * is temporarily resized vertically during split input editing 
       
  2905      * therefore setting a new size must be diverted trough UiUtils.
       
  2906      * @param aOriginalSize - The real size of the control, which will be 
       
  2907      *                        applied when VKB closes.
       
  2908      */
       
  2909     virtual void SetSplitInputViewSize(const TSize& aOriginalSize) = 0;
       
  2910     
       
  2911     /**
       
  2912      * The split input shell resized during split editing or
       
  2913      * the split input view relocated during split editing.
       
  2914      * The vertical position of the shell will be readjusted.
       
  2915      */
       
  2916     virtual void AdjustSplitInputShellPos() = 0;
  2841 };
  2917 };
  2842 
  2918 
  2843 
  2919 
  2844 /**
  2920 /**
  2845  * Interface class for constructing native peers.
  2921  * Interface class for constructing native peers.