summaryrefslogtreecommitdiff
path: root/libjava/javax/swing/JFormattedTextField.h
blob: 5c79e06e605015d197d3583e2f9e50eb5069fed7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_swing_JFormattedTextField__
#define __javax_swing_JFormattedTextField__

#pragma interface

#include <javax/swing/JTextField.h>
#include <gcj/array.h>

extern "Java"
{
  namespace java
  {
    namespace awt
    {
      namespace event
      {
          class FocusEvent;
      }
    }
    namespace text
    {
        class Format;
    }
  }
  namespace javax
  {
    namespace swing
    {
        class Action;
        class JFormattedTextField;
        class JFormattedTextField$AbstractFormatter;
        class JFormattedTextField$AbstractFormatterFactory;
      namespace text
      {
          class Document;
      }
    }
  }
}

class javax::swing::JFormattedTextField : public ::javax::swing::JTextField
{

public:
  JFormattedTextField();
  JFormattedTextField(::java::text::Format *);
  JFormattedTextField(::javax::swing::JFormattedTextField$AbstractFormatter *);
  JFormattedTextField(::javax::swing::JFormattedTextField$AbstractFormatterFactory *);
  JFormattedTextField(::javax::swing::JFormattedTextField$AbstractFormatterFactory *, ::java::lang::Object *);
  JFormattedTextField(::java::lang::Object *);
private:
  ::javax::swing::JFormattedTextField$AbstractFormatterFactory * getAppropriateFormatterFactory(::java::text::Format *);
public:
  virtual void commitEdit();
  virtual JArray< ::javax::swing::Action * > * getActions();
  virtual jint getFocusLostBehavior();
  virtual ::javax::swing::JFormattedTextField$AbstractFormatter * getFormatter();
  virtual ::javax::swing::JFormattedTextField$AbstractFormatterFactory * getFormatterFactory();
  virtual ::java::lang::String * getUIClassID();
  virtual ::java::lang::Object * getValue();
public: // actually protected
  virtual void invalidEdit();
public:
  virtual jboolean isEditValid();
public: // actually protected
  virtual void processFocusEvent(::java::awt::event::FocusEvent *);
public:
  virtual void setDocument(::javax::swing::text::Document *);
  virtual void setFocusLostBehavior(jint);
public: // actually protected
  virtual void setFormatter(::javax::swing::JFormattedTextField$AbstractFormatter *);
public:
  virtual void setFormatterFactory(::javax::swing::JFormattedTextField$AbstractFormatterFactory *);
  virtual void setValue(::java::lang::Object *);
public: // actually package-private
  virtual ::javax::swing::JFormattedTextField$AbstractFormatterFactory * createFormatterFactory(::java::lang::Object *);
private:
  static const jlong serialVersionUID = 5464657870110180632LL;
public:
  static const jint COMMIT = 0;
  static const jint COMMIT_OR_REVERT = 1;
  static const jint REVERT = 2;
  static const jint PERSIST = 3;
private:
  ::java::lang::Object * __attribute__((aligned(__alignof__( ::javax::swing::JTextField)))) value;
  jint focusLostBehavior;
  ::javax::swing::JFormattedTextField$AbstractFormatterFactory * formatterFactory;
  ::javax::swing::JFormattedTextField$AbstractFormatter * formatter;
public: // actually package-private
  jboolean editValid;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_swing_JFormattedTextField__