src/windows/native/sun/windows/awt_TextField.h

Print this page




  37 
  38 /************************************************************************
  39  * AwtTextField class
  40  */
  41 
  42 class AwtTextField : public AwtTextComponent {
  43 public:
  44     AwtTextField();
  45 
  46     static AwtTextField* Create(jobject self, jobject parent);
  47 
  48     /*
  49      *  Windows message handler functions
  50      */
  51     MsgRouting HandleEvent(MSG *msg, BOOL synthetic);
  52 
  53     virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
  54     // invoked on Toolkit thread
  55     static void _SetEchoChar(void *param);
  56 
  57   protected:
  58     LONG EditGetCharFromPos(POINT& pt);
  59     virtual void Reshape(int x, int y, int w, int h);
  60 
  61 private:
  62     void EditSetSel(CHARRANGE &cr);
  63     void initialRescroll();
  64 
  65     bool m_initialRescrollFlag;
  66 };
  67 
  68 #endif /* AWT_TEXTFIELD_H */


  37 
  38 /************************************************************************
  39  * AwtTextField class
  40  */
  41 
  42 class AwtTextField : public AwtTextComponent {
  43 public:
  44     AwtTextField();
  45 
  46     static AwtTextField* Create(jobject self, jobject parent);
  47 
  48     /*
  49      *  Windows message handler functions
  50      */
  51     MsgRouting HandleEvent(MSG *msg, BOOL synthetic);
  52 
  53     virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
  54     // invoked on Toolkit thread
  55     static void _SetEchoChar(void *param);
  56 
  57 protected:


  58 
  59 private:
  60     void EditSetSel(CHARRANGE &cr);

  61 

  62 };
  63 
  64 #endif /* AWT_TEXTFIELD_H */