| 1 |
759 |
jeremybenn |
|
| 2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
| 3 |
|
|
|
| 4 |
|
|
#ifndef __javax_swing_JFormattedTextField__
|
| 5 |
|
|
#define __javax_swing_JFormattedTextField__
|
| 6 |
|
|
|
| 7 |
|
|
#pragma interface
|
| 8 |
|
|
|
| 9 |
|
|
#include <javax/swing/JTextField.h>
|
| 10 |
|
|
#include <gcj/array.h>
|
| 11 |
|
|
|
| 12 |
|
|
extern "Java"
|
| 13 |
|
|
{
|
| 14 |
|
|
namespace java
|
| 15 |
|
|
{
|
| 16 |
|
|
namespace awt
|
| 17 |
|
|
{
|
| 18 |
|
|
namespace event
|
| 19 |
|
|
{
|
| 20 |
|
|
class FocusEvent;
|
| 21 |
|
|
}
|
| 22 |
|
|
}
|
| 23 |
|
|
namespace text
|
| 24 |
|
|
{
|
| 25 |
|
|
class Format;
|
| 26 |
|
|
}
|
| 27 |
|
|
}
|
| 28 |
|
|
namespace javax
|
| 29 |
|
|
{
|
| 30 |
|
|
namespace swing
|
| 31 |
|
|
{
|
| 32 |
|
|
class Action;
|
| 33 |
|
|
class JFormattedTextField;
|
| 34 |
|
|
class JFormattedTextField$AbstractFormatter;
|
| 35 |
|
|
class JFormattedTextField$AbstractFormatterFactory;
|
| 36 |
|
|
namespace text
|
| 37 |
|
|
{
|
| 38 |
|
|
class Document;
|
| 39 |
|
|
}
|
| 40 |
|
|
}
|
| 41 |
|
|
}
|
| 42 |
|
|
}
|
| 43 |
|
|
|
| 44 |
|
|
class javax::swing::JFormattedTextField : public ::javax::swing::JTextField
|
| 45 |
|
|
{
|
| 46 |
|
|
|
| 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$;
|
| 96 |
|
|
};
|
| 97 |
|
|
|
| 98 |
|
|
#endif // __javax_swing_JFormattedTextField__
|