2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __javax_swing_BoxLayout__
5 #define __javax_swing_BoxLayout__
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
28 class SizeRequirements
;
33 class javax::swing::BoxLayout
: public ::java::lang::Object
37 BoxLayout(::java::awt::Container
*, jint
);
38 virtual void addLayoutComponent(::java::lang::String
*, ::java::awt::Component
*);
39 virtual void removeLayoutComponent(::java::awt::Component
*);
41 jboolean
isHorizontalIn(::java::awt::Container
*);
43 virtual ::java::awt::Dimension
* preferredLayoutSize(::java::awt::Container
*);
44 virtual ::java::awt::Dimension
* minimumLayoutSize(::java::awt::Container
*);
45 virtual void layoutContainer(::java::awt::Container
*);
46 virtual void addLayoutComponent(::java::awt::Component
*, ::java::lang::Object
*);
47 virtual jfloat
getLayoutAlignmentX(::java::awt::Container
*);
48 virtual jfloat
getLayoutAlignmentY(::java::awt::Container
*);
49 virtual void invalidateLayout(::java::awt::Container
*);
50 virtual ::java::awt::Dimension
* maximumLayoutSize(::java::awt::Container
*);
52 void checkTotalRequirements();
53 void checkRequirements();
56 static const jint X_AXIS
= 0;
57 static const jint Y_AXIS
= 1;
58 static const jint LINE_AXIS
= 2;
59 static const jint PAGE_AXIS
= 3;
61 static const jlong serialVersionUID
= -2474455742719112368LL;
62 ::java::awt::Container
* __attribute__((aligned(__alignof__( ::java::lang::Object
)))) container
;
64 JArray
< ::javax::swing::SizeRequirements
* > * xChildren
;
65 JArray
< ::javax::swing::SizeRequirements
* > * yChildren
;
66 ::javax::swing::SizeRequirements
* xTotal
;
67 ::javax::swing::SizeRequirements
* yTotal
;
68 JArray
< jint
> * offsetsX
;
69 JArray
< jint
> * offsetsY
;
70 JArray
< jint
> * spansX
;
71 JArray
< jint
> * spansY
;
73 static ::java::lang::Class
class$
;
76 #endif // __javax_swing_BoxLayout__