LayoutManager2.h

Go to the documentation of this file.
00001 #ifndef JAVA_AWT_LAYOUTMANAGER2_H
00002 #define JAVA_AWT_LAYOUTMANAGER2_H 1
00003 
00004 #ifndef JAVA_AWT_LAYOUTMANAGER_H
00005 #include <java_awt/LayoutManager.h>
00006 #endif /* JAVA_AWT_LAYOUTMANAGER_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 
00033     class JAVA_AWT_SPEC LayoutManager2 : virtual public LayoutManager {
00034       
00035     public:
00036 
00043       virtual void addLayoutComponent(const Ref<Component>& comp, const ObjectRef& constraints) = 0;
00044 
00051       virtual Dimension maximumLayoutSize(const Container& target) const = 0;
00052 
00060       virtual jfloat getLayoutAlignmentX(const Container& target) = 0;
00061 
00069       virtual jfloat getLayoutAlignmentY(const Container& target) = 0;
00070 
00075       virtual void invalidateLayout(const Container& target) = 0;
00076 
00077     private:
00078 
00079       REGISTER_MEMBERS;
00080 
00081     };
00082 
00083   } // namespace awt
00084 } // namespace java
00085 
00086 #endif /* JAVA_AWT_LAYOUTMANAGER2_H */

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