MenuComponent.h

Go to the documentation of this file.
00001 #ifndef JAVA_AWT_MENUCOMPONENT_H
00002 #define JAVA_AWT_MENUCOMPONENT_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_MENUCONTAINER_H
00008 #include <java_awt/MenuContainer.h>
00009 #endif /* JAVA_AWT_MENUCONTAINER_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 
00030     class JAVA_AWT_SPEC MenuComponent 
00031       : virtual public Object 
00032       , virtual public Sync {
00033     public:
00034 
00038       ObjectRef impl;
00039 
00040       virtual ~MenuComponent();
00041 
00048       static Ref<Sync> getTreeLock();      
00049 
00056       virtual String getName() const;
00057 
00064       virtual void setName(const String& name);
00065 
00072       virtual Ref<MenuContainer> getParent() const;
00073 
00080       virtual Ref<Font> getFont() const;
00081 
00093       virtual void setFont(const Ref<Font>& f);
00094 
00099       virtual void addNotify();
00100 
00106       virtual void removeNotify();
00107 
00112       virtual String toString() const;
00113 
00114     protected:
00115 
00116       MenuComponent(const Object* _impl);
00117 
00118     private:
00119       REGISTER_MEMBERS;
00120     };
00121 
00122   } // namespace awt
00123 } // namespace java
00124 
00125 #endif /* JAVA_AWT_MENUCOMPONENT_H */

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