javauis/lcdui_akn/lcdui/inc/CMIDTextEditor.h
branchRCL_3
changeset 18 9ac0a0a7da70
parent 14 04becd199f91
child 21 4376525cdefb
equal deleted inserted replaced
17:0fd27995241b 18:9ac0a0a7da70
    19 #ifndef CMIDTEXTEDITOR_H
    19 #ifndef CMIDTEXTEDITOR_H
    20 #define CMIDTEXTEDITOR_H
    20 #define CMIDTEXTEDITOR_H
    21 
    21 
    22 // EXTERNAL INCLUDES
    22 // EXTERNAL INCLUDES
    23 #include <e32base.h>
    23 #include <e32base.h>
       
    24 
       
    25 // INTERNAL INCLUDES
    24 #include <MMIDTextEditor.h>
    26 #include <MMIDTextEditor.h>
    25 #include <MMIDCustomComponent.h>
    27 #include <MMIDCustomComponent.h>
       
    28 #include <MMIDScalable.h>
    26 
    29 
    27 #ifdef RD_TACTILE_FEEDBACK
    30 #ifdef RD_TACTILE_FEEDBACK
    28 #include <peninputclient.h>
    31 #include <peninputclient.h>
    29 #endif // RD_TACTILE_FEEDBACK
    32 #endif // RD_TACTILE_FEEDBACK
    30 
    33 
    47 NONSHARABLE_CLASS(CMIDTextEditor) :
    50 NONSHARABLE_CLASS(CMIDTextEditor) :
    48         public CBase,
    51         public CBase,
    49         public MMIDTextEditor,
    52         public MMIDTextEditor,
    50         public MMIDCustomComponent,
    53         public MMIDCustomComponent,
    51         public MDirectContent,
    54         public MDirectContent,
    52         public MCoeControlObserver
    55         public MCoeControlObserver,
       
    56         public MMIDScalable
    53 {
    57 {
    54 public: // Type definitions
    58 public: // Type definitions
    55 
    59 
    56     class TCtorParams
    60     class TCtorParams
    57     {
    61     {
    66         TBool iHeightInRows;
    70         TBool iHeightInRows;
    67         // The shared CMIDUtils instance. Not owned.
    71         // The shared CMIDUtils instance. Not owned.
    68         CMIDUtils* iUtils;
    72         CMIDUtils* iUtils;
    69 
    73 
    70         TCtorParams::TCtorParams() :
    74         TCtorParams::TCtorParams() :
    71                 iMaxSize(0),
    75             iMaxSize(0),
    72                 iWidth(0),
    76             iWidth(0),
    73                 iHeight(0),
    77             iHeight(0),
    74                 iHeightInRows(EFalse),
    78             iHeightInRows(EFalse),
    75                 iUtils(NULL) {}
    79             iUtils(NULL) {}
    76     };
    80     };
    77 
    81 
    78 public: // Constructors and destructor
    82 public: // Constructors and destructor
    79 
    83 
    80     /**
    84     /**
   644      * Sets the editor to use default indicator container.
   648      * Sets the editor to use default indicator container.
   645      *
   649      *
   646      * @since S60 5.0
   650      * @since S60 5.0
   647      */
   651      */
   648     void SetDefaultIndicatorsL();
   652     void SetDefaultIndicatorsL();
       
   653 
       
   654 public: // From MMIDScalable
       
   655 
       
   656     TBool IsScalingOn() const;
       
   657 
       
   658 public: // own methods
   649 
   659 
   650     /**
   660     /**
   651      * Handles fullscreen state of parent Canvas.
   661      * Handles fullscreen state of parent Canvas.
   652      *
   662      *
   653      * @since S60 5.0
   663      * @since S60 5.0