Insets.h

Go to the documentation of this file.
00001 #ifndef JAVA_AWT_INSETS_H
00002 #define JAVA_AWT_INSETS_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 
00027     class JAVA_AWT_SPEC Insets : virtual public Object {
00028       
00029     public:
00030 
00039       jint top;
00040 
00049       jint left;
00050 
00059       jint bottom;
00060 
00069       jint right;
00070 
00074       Insets();
00075 
00084       Insets(jint _top, jint _left, jint _bottom, jint _right);
00085 
00095       virtual jboolean equals(const Object& obj) const;
00096 
00102       virtual jint hashCode() const;
00103 
00113       virtual String toString() const;
00114 
00122       Insets& operator+=(const Insets& insets);
00123 
00132       Insets operator+(const Insets& insets) const;
00133 
00134     private:
00135 
00136       REGISTER_MEMBERS;
00137 
00138     };
00139 
00140   } // namespace awt
00141 } // namespace java
00142 
00143 #endif /* JAVA_AWT_INSETS_H */

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