CheckboxMenuItem.h

Go to the documentation of this file.
00001 #ifndef JAVA_AWT_CHECKBOXMENUITEM_H
00002 #define JAVA_AWT_CHECKBOXMENUITEM_H 1
00003 
00004 #ifndef JAVA_AWT_MENUITEM_H
00005 #include <java_awt/MenuItem.h>
00006 #endif /* JAVA_AWT_MENUITEM_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 
00045     class JAVA_AWT_SPEC CheckboxMenuItem 
00046       : public MenuItem
00047       , public ItemCheckable {
00048     public:
00049 
00064       CheckboxMenuItem
00065         (const String& label = nilString,
00066          jboolean state = false,
00067          const Ref<CheckboxGroup>& group = 0);
00068 
00085       virtual void setState(jboolean b);
00086 
00092       virtual Ref<List> getSelectedObjects() const;
00093 
00094       virtual String toString() const;
00095 
00096     private:
00097       REGISTER_MEMBERS;
00098     };
00099 
00100   } // namespace awt
00101 } // namespace java
00102 
00103 #endif /* JAVA_AWT_CHECKBOXMENUITEM_H */

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