2008-05-06 Kai Tietz <kai.tietz@onevision.com>
[official-gcc.git] / libjava / javax / swing / BoxLayout.h
blobc60bb8dd9b997403d71444d610c1d9272479f68f
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __javax_swing_BoxLayout__
5 #define __javax_swing_BoxLayout__
7 #pragma interface
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
12 extern "Java"
14 namespace java
16 namespace awt
18 class Component;
19 class Container;
20 class Dimension;
23 namespace javax
25 namespace swing
27 class BoxLayout;
28 class SizeRequirements;
33 class javax::swing::BoxLayout : public ::java::lang::Object
36 public:
37 BoxLayout(::java::awt::Container *, jint);
38 virtual void addLayoutComponent(::java::lang::String *, ::java::awt::Component *);
39 virtual void removeLayoutComponent(::java::awt::Component *);
40 private:
41 jboolean isHorizontalIn(::java::awt::Container *);
42 public:
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 *);
51 private:
52 void checkTotalRequirements();
53 void checkRequirements();
54 void checkLayout();
55 public:
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;
60 private:
61 static const jlong serialVersionUID = -2474455742719112368LL;
62 ::java::awt::Container * __attribute__((aligned(__alignof__( ::java::lang::Object)))) container;
63 jint way;
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;
72 public:
73 static ::java::lang::Class class$;
76 #endif // __javax_swing_BoxLayout__