ItemCheckable.h

Go to the documentation of this file.
00001 #ifndef JAVA_AWT_ITEMCHECKABLE_H
00002 #define JAVA_AWT_ITEMCHECKABLE_H 1
00003 
00004 #ifndef JAVA_LANG_SYNC_H
00005 #include <java_lang/Sync.h>
00006 #endif /* JAVA_LANG_SYNC_H */
00007 #ifndef JAVA_AWT_EVENT_ITEMSOURCE_H
00008 #include <java_awt_event/ItemSource.h>
00009 #endif /* JAVA_AWT_EVENT_ITEMSOURCE_H */
00010 #ifndef JAVA_AWT_ITEMSELECTABLE_H
00011 #include <java_awt/ItemSelectable.h>
00012 #endif /* JAVA_AWT_ITEMSELECTABLE_H */
00013 #ifndef JAVA_AWT_SPEC
00014 #include <java_awt/Spec.h>
00015 #endif /* JAVA_AWT_SPEC */
00016 
00017 namespace java {
00018   namespace awt {
00019 
00020     class CheckboxGroup;
00021 
00029     class JAVA_AWT_SPEC ItemCheckable 
00030       : virtual public Sync
00031       , public event::ItemSource
00032       , virtual public ItemSelectable {
00033 
00034     public:
00035 
00036       ItemCheckable(jboolean state, const Ref<CheckboxGroup>& group);
00037 
00046       virtual jboolean getState() const;
00047 
00056       virtual void setState(jboolean state);
00057 
00064       virtual Ref<CheckboxGroup> getCheckboxGroup() const;
00065 
00077       virtual void setCheckboxGroup(Ref<CheckboxGroup>& g);
00078 
00079     protected:
00080 
00087       jboolean state;
00088 
00097       Ref<CheckboxGroup> group;
00098 
00099     private:
00100 
00101       REGISTER_MEMBERS;
00102 
00103     };
00104 
00105   } // namespace awt
00106 } // namespace java
00107 
00108 #endif /* JAVA_AWT_ITEMCHECKABLE_H */

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