summaryrefslogtreecommitdiff
path: root/libjava/javax/swing/BoxLayout.h
blob: c60bb8dd9b997403d71444d610c1d9272479f68f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_swing_BoxLayout__
#define __javax_swing_BoxLayout__

#pragma interface

#include <java/lang/Object.h>
#include <gcj/array.h>

extern "Java"
{
  namespace java
  {
    namespace awt
    {
        class Component;
        class Container;
        class Dimension;
    }
  }
  namespace javax
  {
    namespace swing
    {
        class BoxLayout;
        class SizeRequirements;
    }
  }
}

class javax::swing::BoxLayout : public ::java::lang::Object
{

public:
  BoxLayout(::java::awt::Container *, jint);
  virtual void addLayoutComponent(::java::lang::String *, ::java::awt::Component *);
  virtual void removeLayoutComponent(::java::awt::Component *);
private:
  jboolean isHorizontalIn(::java::awt::Container *);
public:
  virtual ::java::awt::Dimension * preferredLayoutSize(::java::awt::Container *);
  virtual ::java::awt::Dimension * minimumLayoutSize(::java::awt::Container *);
  virtual void layoutContainer(::java::awt::Container *);
  virtual void addLayoutComponent(::java::awt::Component *, ::java::lang::Object *);
  virtual jfloat getLayoutAlignmentX(::java::awt::Container *);
  virtual jfloat getLayoutAlignmentY(::java::awt::Container *);
  virtual void invalidateLayout(::java::awt::Container *);
  virtual ::java::awt::Dimension * maximumLayoutSize(::java::awt::Container *);
private:
  void checkTotalRequirements();
  void checkRequirements();
  void checkLayout();
public:
  static const jint X_AXIS = 0;
  static const jint Y_AXIS = 1;
  static const jint LINE_AXIS = 2;
  static const jint PAGE_AXIS = 3;
private:
  static const jlong serialVersionUID = -2474455742719112368LL;
  ::java::awt::Container * __attribute__((aligned(__alignof__( ::java::lang::Object)))) container;
  jint way;
  JArray< ::javax::swing::SizeRequirements * > * xChildren;
  JArray< ::javax::swing::SizeRequirements * > * yChildren;
  ::javax::swing::SizeRequirements * xTotal;
  ::javax::swing::SizeRequirements * yTotal;
  JArray< jint > * offsetsX;
  JArray< jint > * offsetsY;
  JArray< jint > * spansX;
  JArray< jint > * spansY;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_swing_BoxLayout__