FramePeer.h

Go to the documentation of this file.
00001 #ifndef JAVA_AWT_PEER_FRAMEPEER_H
00002 #define JAVA_AWT_PEER_FRAMEPEER_H 1
00003 
00004 #ifndef JAVA_AWT_PEER_WINDOWPEER_H
00005 #include <java_awt_peer/WindowPeer.h>
00006 #endif /* JAVA_AWT_PEER_WINDOWPEER_H */
00007 #ifndef JAVA_AWT_RECTANGLE_H
00008 #include <java_awt/Rectangle.h>
00009 #endif /* JAVA_AWT_RECTANGLE_H */
00010 #ifndef JAVA_AWT_MENUBAR_H
00011 #include <java_awt/MenuBar.h>
00012 #endif /* JAVA_AWT_MENUBAR_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     namespace peer {
00020 
00028       class FramePeer : virtual public WindowPeer {
00029 
00030       public:
00031 
00032         virtual void setTitle(const String& title) = 0;
00033         virtual void setIconImage(const Ref<Image>& im) = 0;
00034         virtual void setMenuBar(const Ref<MenuBar>& mb) = 0;
00035         virtual void setResizable(jboolean resizable) = 0;
00036         virtual void setFrameState(jint state) = 0;
00037         virtual jint getFrameState() const = 0;
00038         virtual void setMaximizedBounds(const Ref<Rectangle>& bounds) = 0; // XXX
00039 
00040       private:
00041 
00042         REGISTER_MEMBERS;
00043 
00044       };
00045 
00046     } // namespace peer
00047   } // namespace awt
00048 } // namespace java
00049 
00050 #endif /* JAVA_AWT_PEER_FRAMEPEER_H */

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