Checkbox.h

Go to the documentation of this file.
00001 #ifndef JAVA_AWT_CHECKBOX_H
00002 #define JAVA_AWT_CHECKBOX_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_ITEMCHECKABLE_H
00008 #include <java_awt/ItemCheckable.h>
00009 #endif /* JAVA_AWT_ITEMCHECKABLE_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 
00017     using namespace java::util;
00018 
00060     class JAVA_AWT_SPEC Checkbox
00061       : public Component
00062       , public ItemCheckable {
00063 
00064     public:
00065 
00081       Checkbox
00082         (const String& label = nilString, 
00083          jboolean state = false,
00084          const Ref<CheckboxGroup>& group = 0);
00085 
00091       virtual Ref<List> getSelectedObjects() const;
00092 
00100       virtual String getLabel() const;
00101 
00109       virtual void setLabel(const String& label);
00110 
00125       virtual void setState(jboolean state);
00126 
00138       virtual void setCheckboxGroup(Ref<CheckboxGroup>& g);
00139 
00140       virtual String toString() const;
00141 
00142     protected:
00143 
00144       REGISTER_MEMBERS;
00145 
00146     };
00147 
00148   } // namespace awt
00149 } // namespace java
00150 
00151 #ifndef JAVA_AWT_CHECKBOXGROUP_H
00152 #include <java_awt/CheckboxGroup.h>
00153 #endif /* JAVA_AWT_CHECKBOXGROUP_H */
00154 
00155 #endif /* JAVA_AWT_CHECKBOX_H */

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