Button.h

Go to the documentation of this file.
00001 #ifndef JAVA_AWT_BUTTON_H
00002 #define JAVA_AWT_BUTTON_H 1
00003 
00004 #ifndef JAVA_AWT_COMPONENT_H
00005 #include <java_awt/Component.h>
00006 #endif /* JAVA_AWT_COMPONENT_H */
00007 #ifndef JAVA_AWT_EVENT_ACTIONSOURCE_H
00008 #include <java_awt_event/ActionSource.h>
00009 #endif /* JAVA_AWT_EVENT_ACTIONSOURCE_H */
00010 #ifndef JAVA_AWT_SPEC
00011 #include <java_awt/Spec.h>
00012 #endif /* JAVA_AWT_SPEC */
00013 
00014 namespace java {
00015   namespace awt {
00016 
00069     class JAVA_AWT_SPEC Button 
00070       : public Component
00071       , public event::ActionSource {
00072 
00073     public:
00074 
00082       Button(const String& label = nilString);
00083 
00090       virtual String getLabel() const;
00091 
00098       virtual void setLabel(const String& label);
00099 
00105       virtual String getActionCommand() const;
00106 
00118       virtual void setActionCommand(const String& command);
00119 
00120       virtual String toString() const;
00121 
00122     protected:
00123 
00124       REGISTER_MEMBERS;
00125 
00126     };
00127 
00128   } // namespace awt
00129 } // namespace java
00130 
00131 #endif /* JAVA_AWT_BUTTON_H */

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