BorderLayout.h 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __java_awt_BorderLayout__
  3. #define __java_awt_BorderLayout__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. extern "Java"
  7. {
  8. namespace java
  9. {
  10. namespace awt
  11. {
  12. class BorderLayout;
  13. class Component;
  14. class Container;
  15. class Dimension;
  16. }
  17. }
  18. }
  19. class java::awt::BorderLayout : public ::java::lang::Object
  20. {
  21. public:
  22. BorderLayout();
  23. BorderLayout(jint, jint);
  24. virtual jint getHgap();
  25. virtual void setHgap(jint);
  26. virtual jint getVgap();
  27. virtual void setVgap(jint);
  28. virtual void addLayoutComponent(::java::awt::Component *, ::java::lang::Object *);
  29. virtual void addLayoutComponent(::java::lang::String *, ::java::awt::Component *);
  30. virtual void removeLayoutComponent(::java::awt::Component *);
  31. virtual ::java::awt::Dimension * minimumLayoutSize(::java::awt::Container *);
  32. virtual ::java::awt::Dimension * preferredLayoutSize(::java::awt::Container *);
  33. virtual ::java::awt::Dimension * maximumLayoutSize(::java::awt::Container *);
  34. virtual jfloat getLayoutAlignmentX(::java::awt::Container *);
  35. virtual jfloat getLayoutAlignmentY(::java::awt::Container *);
  36. virtual void invalidateLayout(::java::awt::Container *);
  37. virtual void layoutContainer(::java::awt::Container *);
  38. virtual ::java::lang::String * toString();
  39. private:
  40. ::java::awt::Dimension * calcCompSize(::java::awt::Component *, jint);
  41. ::java::awt::Dimension * calcSize(::java::awt::Container *, jint);
  42. public:
  43. virtual ::java::awt::Component * getLayoutComponent(::java::lang::Object *);
  44. virtual ::java::awt::Component * getLayoutComponent(::java::awt::Container *, ::java::lang::Object *);
  45. virtual ::java::lang::Object * getConstraints(::java::awt::Component *);
  46. static ::java::lang::String * NORTH;
  47. static ::java::lang::String * SOUTH;
  48. static ::java::lang::String * EAST;
  49. static ::java::lang::String * WEST;
  50. static ::java::lang::String * CENTER;
  51. static ::java::lang::String * BEFORE_FIRST_LINE;
  52. static ::java::lang::String * AFTER_LAST_LINE;
  53. static ::java::lang::String * BEFORE_LINE_BEGINS;
  54. static ::java::lang::String * AFTER_LINE_ENDS;
  55. static ::java::lang::String * PAGE_START;
  56. static ::java::lang::String * PAGE_END;
  57. static ::java::lang::String * LINE_START;
  58. static ::java::lang::String * LINE_END;
  59. private:
  60. static const jlong serialVersionUID = -8658291919501921765LL;
  61. ::java::awt::Component * __attribute__((aligned(__alignof__( ::java::lang::Object)))) north;
  62. ::java::awt::Component * south;
  63. ::java::awt::Component * east;
  64. ::java::awt::Component * west;
  65. ::java::awt::Component * center;
  66. ::java::awt::Component * firstLine;
  67. ::java::awt::Component * lastLine;
  68. ::java::awt::Component * firstItem;
  69. ::java::awt::Component * lastItem;
  70. jint hgap;
  71. jint vgap;
  72. static const jint MIN = 0;
  73. static const jint MAX = 1;
  74. static const jint PREF = 2;
  75. public:
  76. static ::java::lang::Class class$;
  77. };
  78. #endif // __java_awt_BorderLayout__