2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __javax_swing_JFormattedTextField__
5 #define __javax_swing_JFormattedTextField__
9 #include <javax/swing/JTextField.h>
10 #include <gcj/array.h>
33 class JFormattedTextField
;
34 class JFormattedTextField$AbstractFormatter
;
35 class JFormattedTextField$AbstractFormatterFactory
;
44 class javax::swing::JFormattedTextField
: public ::javax::swing::JTextField
48 JFormattedTextField();
49 JFormattedTextField(::java::text::Format
*);
50 JFormattedTextField(::javax::swing::JFormattedTextField$AbstractFormatter
*);
51 JFormattedTextField(::javax::swing::JFormattedTextField$AbstractFormatterFactory
*);
52 JFormattedTextField(::javax::swing::JFormattedTextField$AbstractFormatterFactory
*, ::java::lang::Object
*);
53 JFormattedTextField(::java::lang::Object
*);
55 ::javax::swing::JFormattedTextField$AbstractFormatterFactory
* getAppropriateFormatterFactory(::java::text::Format
*);
57 virtual void commitEdit();
58 virtual JArray
< ::javax::swing::Action
* > * getActions();
59 virtual jint
getFocusLostBehavior();
60 virtual ::javax::swing::JFormattedTextField$AbstractFormatter
* getFormatter();
61 virtual ::javax::swing::JFormattedTextField$AbstractFormatterFactory
* getFormatterFactory();
62 virtual ::java::lang::String
* getUIClassID();
63 virtual ::java::lang::Object
* getValue();
64 public: // actually protected
65 virtual void invalidEdit();
67 virtual jboolean
isEditValid();
68 public: // actually protected
69 virtual void processFocusEvent(::java::awt::event::FocusEvent
*);
71 virtual void setDocument(::javax::swing::text::Document
*);
72 virtual void setFocusLostBehavior(jint
);
73 public: // actually protected
74 virtual void setFormatter(::javax::swing::JFormattedTextField$AbstractFormatter
*);
76 virtual void setFormatterFactory(::javax::swing::JFormattedTextField$AbstractFormatterFactory
*);
77 virtual void setValue(::java::lang::Object
*);
78 public: // actually package-private
79 virtual ::javax::swing::JFormattedTextField$AbstractFormatterFactory
* createFormatterFactory(::java::lang::Object
*);
81 static const jlong serialVersionUID
= 5464657870110180632LL;
83 static const jint COMMIT
= 0;
84 static const jint COMMIT_OR_REVERT
= 1;
85 static const jint REVERT
= 2;
86 static const jint PERSIST
= 3;
88 ::java::lang::Object
* __attribute__((aligned(__alignof__( ::javax::swing::JTextField
)))) value
;
89 jint focusLostBehavior
;
90 ::javax::swing::JFormattedTextField$AbstractFormatterFactory
* formatterFactory
;
91 ::javax::swing::JFormattedTextField$AbstractFormatter
* formatter
;
92 public: // actually package-private
95 static ::java::lang::Class
class$
;
98 #endif // __javax_swing_JFormattedTextField__