LayoutManager.h

Go to the documentation of this file.
00001 #ifndef JAVA_AWT_LAYOUTMANAGER_H
00002 #define JAVA_AWT_LAYOUTMANAGER_H 1
00003 
00004 #ifndef JAVA_AWT_DIMENSION_H
00005 #include <java_awt/Dimension.h>
00006 #endif /* JAVA_AWT_DIMENSION_H */
00007 #ifndef JAVA_AWT_SPEC
00008 #include <java_awt/Spec.h>
00009 #endif /* JAVA_AWT_SPEC */
00010 
00011 namespace java {
00012   namespace awt {
00013 
00014     class Component;
00015     class Container;
00016 
00027     class JAVA_AWT_SPEC LayoutManager : virtual public Interface {
00028       
00029     public:
00030 
00040       virtual void addLayoutComponent(const String& name, const Ref<Component>& comp) = 0;
00041 
00046       virtual void removeLayoutComponent(const Ref<Component>& comp) = 0;
00047 
00055       virtual Dimension preferredLayoutSize(const Container& parent) const = 0;
00056 
00063       virtual Dimension minimumLayoutSize(const Container& parent) const = 0;
00064 
00069       virtual void layoutContainer(const Container& parent) = 0;
00070 
00071     private:
00072 
00073       REGISTER_MEMBERS;
00074 
00075     };
00076 
00077   } // namespace awt
00078 } // namespace java
00079 
00080 #endif /* JAVA_AWT_LAYOUTMANAGER_H */

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