Dimension2D.h

Go to the documentation of this file.
00001 #ifndef JAVA_AWT_GEOM_DIMENSION2D_H
00002 #define JAVA_AWT_GEOM_DIMENSION2D_H 1
00003 
00004 #ifndef JAVA_LANG_OBJECT_H
00005 #include <java_lang/Object.h>
00006 #endif /* JAVA_LANG_OBJECT_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     namespace geom {
00014 
00027       class JAVA_AWT_SPEC Dimension2D : virtual public Object {
00028 
00029       public:
00030 
00036         virtual jdouble getWidth() const = 0;
00037 
00043         virtual jdouble getHeight() const = 0;
00044 
00056         virtual void setSize(jdouble width, jdouble height) = 0;
00057 
00066         virtual void setSize(const Dimension2D& d);
00067 
00068       private:
00069 
00070         REGISTER_MEMBERS;
00071 
00072       };
00073 
00074     } // namespace geom
00075   } // namespace awt
00076 } // namespace java
00077 
00078 #endif /* JAVA_AWT_GEOM_DIMENSION2D_H */

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