2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __javax_swing_JTextField__
5 #define __javax_swing_JTextField__
9 #include <javax/swing/text/JTextComponent.h>
10 #include <gcj/array.h>
28 class PropertyChangeListener
;
33 namespace accessibility
35 class AccessibleContext
;
40 class BoundedRangeModel
;
50 class javax::swing::JTextField
: public ::javax::swing::text::JTextComponent
55 JTextField(::java::lang::String
*);
57 JTextField(::java::lang::String
*, jint
);
58 JTextField(::javax::swing::text::Document
*, ::java::lang::String
*, jint
);
59 public: // actually protected
60 virtual ::javax::swing::text::Document
* createDefaultModel();
62 virtual void setDocument(::javax::swing::text::Document
*);
63 virtual ::java::lang::String
* getUIClassID();
64 virtual void addActionListener(::java::awt::event::ActionListener
*);
65 virtual void removeActionListener(::java::awt::event::ActionListener
*);
66 virtual JArray
< ::java::awt::event::ActionListener
* > * getActionListeners();
67 public: // actually protected
68 virtual void fireActionPerformed();
70 virtual jint
getColumns();
71 virtual void setColumns(jint
);
72 virtual jint
getHorizontalAlignment();
73 virtual void setHorizontalAlignment(jint
);
74 virtual void setFont(::java::awt::Font
*);
75 virtual ::java::awt::Dimension
* getPreferredSize();
76 virtual jint
getScrollOffset();
77 virtual void setScrollOffset(jint
);
78 virtual JArray
< ::javax::swing::Action
* > * getActions();
79 virtual void postActionEvent();
80 virtual ::javax::swing::Action
* getAction();
81 virtual void setAction(::javax::swing::Action
*);
82 virtual void setActionCommand(::java::lang::String
*);
83 public: // actually protected
84 virtual ::java::beans::PropertyChangeListener
* createActionPropertyChangeListener(::javax::swing::Action
*);
85 virtual void configurePropertiesFromAction(::javax::swing::Action
*);
86 virtual jint
getColumnWidth();
88 virtual ::javax::accessibility::AccessibleContext
* getAccessibleContext();
89 virtual ::javax::swing::BoundedRangeModel
* getHorizontalVisibility();
90 virtual jboolean
isValidateRoot();
91 virtual void scrollRectToVisible(::java::awt::Rectangle
*);
93 static const jlong serialVersionUID
= 353853209832607592LL;
94 static JArray
< ::javax::swing::Action
* > * actions
;
96 static ::java::lang::String
* notifyAction
;
98 jint
__attribute__((aligned(__alignof__( ::javax::swing::text::JTextComponent
)))) columns
;
100 ::javax::swing::Action
* action
;
101 ::java::lang::String
* actionCommand
;
102 ::java::beans::PropertyChangeListener
* actionPropertyChangeListener
;
103 ::javax::swing::BoundedRangeModel
* horizontalVisibility
;
105 static ::java::lang::Class
class$
;
108 #endif // __javax_swing_JTextField__