< prev index next >

jdk/src/java.desktop/windows/native/libawt/windows/awt_TextField.h

Print this page




  36 #include <richole.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 */


  36 #include <richole.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     int RemoveEOL(WCHAR *pStr);
  57 
  58 protected:
  59 
  60 private:
  61     void EditSetSel(CHARRANGE &cr);
  62 
  63 };
  64 
  65 #endif /* AWT_TEXTFIELD_H */
< prev index next >