OverlayLayout.h 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_swing_OverlayLayout__
  3. #define __javax_swing_OverlayLayout__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace java
  10. {
  11. namespace awt
  12. {
  13. class Component;
  14. class Container;
  15. class Dimension;
  16. }
  17. }
  18. namespace javax
  19. {
  20. namespace swing
  21. {
  22. class OverlayLayout;
  23. class SizeRequirements;
  24. }
  25. }
  26. }
  27. class javax::swing::OverlayLayout : public ::java::lang::Object
  28. {
  29. public:
  30. OverlayLayout(::java::awt::Container *);
  31. virtual void invalidateLayout(::java::awt::Container *);
  32. virtual void addLayoutComponent(::java::lang::String *, ::java::awt::Component *);
  33. virtual void addLayoutComponent(::java::awt::Component *, ::java::lang::Object *);
  34. virtual void removeLayoutComponent(::java::awt::Component *);
  35. virtual ::java::awt::Dimension * preferredLayoutSize(::java::awt::Container *);
  36. virtual ::java::awt::Dimension * minimumLayoutSize(::java::awt::Container *);
  37. virtual ::java::awt::Dimension * maximumLayoutSize(::java::awt::Container *);
  38. virtual jfloat getLayoutAlignmentX(::java::awt::Container *);
  39. virtual jfloat getLayoutAlignmentY(::java::awt::Container *);
  40. virtual void layoutContainer(::java::awt::Container *);
  41. private:
  42. void checkRequirements();
  43. void checkTotalRequirements();
  44. void checkLayout();
  45. static const jlong serialVersionUID = 18082829169631543LL;
  46. ::java::awt::Container * __attribute__((aligned(__alignof__( ::java::lang::Object)))) target;
  47. JArray< ::javax::swing::SizeRequirements * > * xChildren;
  48. JArray< ::javax::swing::SizeRequirements * > * yChildren;
  49. ::javax::swing::SizeRequirements * xTotal;
  50. ::javax::swing::SizeRequirements * yTotal;
  51. JArray< jint > * offsetsX;
  52. JArray< jint > * offsetsY;
  53. JArray< jint > * spansX;
  54. JArray< jint > * spansY;
  55. public:
  56. static ::java::lang::Class class$;
  57. };
  58. #endif // __javax_swing_OverlayLayout__