Dimension.h 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __java_awt_Dimension__
  3. #define __java_awt_Dimension__
  4. #pragma interface
  5. #include <java/awt/geom/Dimension2D.h>
  6. extern "Java"
  7. {
  8. namespace java
  9. {
  10. namespace awt
  11. {
  12. class Dimension;
  13. }
  14. }
  15. }
  16. class java::awt::Dimension : public ::java::awt::geom::Dimension2D
  17. {
  18. public:
  19. Dimension();
  20. Dimension(::java::awt::Dimension *);
  21. Dimension(jint, jint);
  22. virtual jdouble getWidth();
  23. virtual jdouble getHeight();
  24. virtual void setSize(jdouble, jdouble);
  25. virtual ::java::awt::Dimension * getSize();
  26. virtual void setSize(::java::awt::Dimension *);
  27. virtual void setSize(jint, jint);
  28. virtual jboolean equals(::java::lang::Object *);
  29. virtual jint hashCode();
  30. virtual ::java::lang::String * toString();
  31. private:
  32. static const jlong serialVersionUID = 4723952579491349524LL;
  33. public:
  34. jint __attribute__((aligned(__alignof__( ::java::awt::geom::Dimension2D)))) width;
  35. jint height;
  36. static ::java::lang::Class class$;
  37. };
  38. #endif // __java_awt_Dimension__