TextField.h

Go to the documentation of this file.
00001 #ifndef JAVA_AWT_TEXTFIELD_H
00002 #define JAVA_AWT_TEXTFIELD_H 1
00003 
00004 #ifndef JAVA_AWT_TEXTCOMPONENT_H
00005 #include <java_awt/TextComponent.h>
00006 #endif /* JAVA_AWT_TEXTCOMPONENT_H */
00007 #ifndef JAVA_AWT_SPEC
00008 #include <java_awt/Spec.h>
00009 #endif /* JAVA_AWT_SPEC */
00010 
00011 namespace java {
00012   namespace awt {
00013 
00076     class JAVA_AWT_SPEC TextField 
00077       : public TextComponent {
00078 
00079     public:
00080 
00096       TextField(const String& text = nilString, jint columns = 0);
00097 
00110       virtual jchar getEchoChar() const;
00111 
00125       virtual void setEchoChar(jchar c);
00126 
00133       virtual void setText(const String& t);
00134 
00148       virtual jboolean echoCharIsSet() const;
00149 
00157       virtual jint getColumns() const;
00158 
00169       virtual void setColumns(jint columns);
00170 
00180       virtual Dimension getPreferredSize(jint columns = 0) const;
00181 
00189       virtual Dimension getMinimumSize(jint columns = 0) const;
00190 
00191     protected:
00192 
00193       REGISTER_MEMBERS;
00194 
00195     };
00196 
00197   } // namespace awt
00198 } // namespace java
00199 
00200 #endif /* JAVA_AWT_TEXTFIELD_H */

Generated on Fri May 16 11:54:43 2008 for CrossPlatformJavaLikeC++API by  doxygen 1.5.3