* config/sparc/freebsd.h (CPP_CPU64_DEFAULT_SPEC): Replace with...
[official-gcc.git] / libjava / javax / swing / JFormattedTextField.h
blob5c79e06e605015d197d3583e2f9e50eb5069fed7
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __javax_swing_JFormattedTextField__
5 #define __javax_swing_JFormattedTextField__
7 #pragma interface
9 #include <javax/swing/JTextField.h>
10 #include <gcj/array.h>
12 extern "Java"
14 namespace java
16 namespace awt
18 namespace event
20 class FocusEvent;
23 namespace text
25 class Format;
28 namespace javax
30 namespace swing
32 class Action;
33 class JFormattedTextField;
34 class JFormattedTextField$AbstractFormatter;
35 class JFormattedTextField$AbstractFormatterFactory;
36 namespace text
38 class Document;
44 class javax::swing::JFormattedTextField : public ::javax::swing::JTextField
47 public:
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 *);
54 private:
55 ::javax::swing::JFormattedTextField$AbstractFormatterFactory * getAppropriateFormatterFactory(::java::text::Format *);
56 public:
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();
66 public:
67 virtual jboolean isEditValid();
68 public: // actually protected
69 virtual void processFocusEvent(::java::awt::event::FocusEvent *);
70 public:
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 *);
75 public:
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 *);
80 private:
81 static const jlong serialVersionUID = 5464657870110180632LL;
82 public:
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;
87 private:
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
93 jboolean editValid;
94 public:
95 static ::java::lang::Class class$;
98 #endif // __javax_swing_JFormattedTextField__