JFormattedTextField.h 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_swing_JFormattedTextField__
  3. #define __javax_swing_JFormattedTextField__
  4. #pragma interface
  5. #include <javax/swing/JTextField.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace java
  10. {
  11. namespace awt
  12. {
  13. namespace event
  14. {
  15. class FocusEvent;
  16. }
  17. }
  18. namespace text
  19. {
  20. class Format;
  21. }
  22. }
  23. namespace javax
  24. {
  25. namespace swing
  26. {
  27. class Action;
  28. class JFormattedTextField;
  29. class JFormattedTextField$AbstractFormatter;
  30. class JFormattedTextField$AbstractFormatterFactory;
  31. namespace text
  32. {
  33. class Document;
  34. }
  35. }
  36. }
  37. }
  38. class javax::swing::JFormattedTextField : public ::javax::swing::JTextField
  39. {
  40. public:
  41. JFormattedTextField();
  42. JFormattedTextField(::java::text::Format *);
  43. JFormattedTextField(::javax::swing::JFormattedTextField$AbstractFormatter *);
  44. JFormattedTextField(::javax::swing::JFormattedTextField$AbstractFormatterFactory *);
  45. JFormattedTextField(::javax::swing::JFormattedTextField$AbstractFormatterFactory *, ::java::lang::Object *);
  46. JFormattedTextField(::java::lang::Object *);
  47. private:
  48. ::javax::swing::JFormattedTextField$AbstractFormatterFactory * getAppropriateFormatterFactory(::java::text::Format *);
  49. public:
  50. virtual void commitEdit();
  51. virtual JArray< ::javax::swing::Action * > * getActions();
  52. virtual jint getFocusLostBehavior();
  53. virtual ::javax::swing::JFormattedTextField$AbstractFormatter * getFormatter();
  54. virtual ::javax::swing::JFormattedTextField$AbstractFormatterFactory * getFormatterFactory();
  55. virtual ::java::lang::String * getUIClassID();
  56. virtual ::java::lang::Object * getValue();
  57. public: // actually protected
  58. virtual void invalidEdit();
  59. public:
  60. virtual jboolean isEditValid();
  61. public: // actually protected
  62. virtual void processFocusEvent(::java::awt::event::FocusEvent *);
  63. public:
  64. virtual void setDocument(::javax::swing::text::Document *);
  65. virtual void setFocusLostBehavior(jint);
  66. public: // actually protected
  67. virtual void setFormatter(::javax::swing::JFormattedTextField$AbstractFormatter *);
  68. public:
  69. virtual void setFormatterFactory(::javax::swing::JFormattedTextField$AbstractFormatterFactory *);
  70. virtual void setValue(::java::lang::Object *);
  71. public: // actually package-private
  72. virtual ::javax::swing::JFormattedTextField$AbstractFormatterFactory * createFormatterFactory(::java::lang::Object *);
  73. private:
  74. static const jlong serialVersionUID = 5464657870110180632LL;
  75. public:
  76. static const jint COMMIT = 0;
  77. static const jint COMMIT_OR_REVERT = 1;
  78. static const jint REVERT = 2;
  79. static const jint PERSIST = 3;
  80. private:
  81. ::java::lang::Object * __attribute__((aligned(__alignof__( ::javax::swing::JTextField)))) value;
  82. jint focusLostBehavior;
  83. ::javax::swing::JFormattedTextField$AbstractFormatterFactory * formatterFactory;
  84. ::javax::swing::JFormattedTextField$AbstractFormatter * formatter;
  85. public: // actually package-private
  86. jboolean editValid;
  87. public:
  88. static ::java::lang::Class class$;
  89. };
  90. #endif // __javax_swing_JFormattedTextField__