summaryrefslogtreecommitdiff
path: root/libjava/javax/swing/SizeRequirements.h
blob: 7a9672a77a7f9cd9310b66c6c8c258dcd6ee81e2 (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_swing_SizeRequirements__
#define __javax_swing_SizeRequirements__

#pragma interface

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

extern "Java"
{
  namespace javax
  {
    namespace swing
    {
        class SizeRequirements;
    }
  }
}

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

public:
  SizeRequirements();
  SizeRequirements(jint, jint, jint, jfloat);
  virtual ::java::lang::String * toString();
  static ::javax::swing::SizeRequirements * getTiledSizeRequirements(JArray< ::javax::swing::SizeRequirements * > *);
  static ::javax::swing::SizeRequirements * getAlignedSizeRequirements(JArray< ::javax::swing::SizeRequirements * > *);
  static void calculateTiledPositions(jint, ::javax::swing::SizeRequirements *, JArray< ::javax::swing::SizeRequirements * > *, JArray< jint > *, JArray< jint > *);
  static void calculateTiledPositions(jint, ::javax::swing::SizeRequirements *, JArray< ::javax::swing::SizeRequirements * > *, JArray< jint > *, JArray< jint > *, jboolean);
private:
  static void adjustSmaller(jint, JArray< ::javax::swing::SizeRequirements * > *, JArray< jint > *, jint);
  static void adjustGreater(jint, JArray< ::javax::swing::SizeRequirements * > *, JArray< jint > *, jint);
public:
  static void calculateAlignedPositions(jint, ::javax::swing::SizeRequirements *, JArray< ::javax::swing::SizeRequirements * > *, JArray< jint > *, JArray< jint > *);
  static void calculateAlignedPositions(jint, ::javax::swing::SizeRequirements *, JArray< ::javax::swing::SizeRequirements * > *, JArray< jint > *, JArray< jint > *, jboolean);
private:
  static void adjustFromRight(::javax::swing::SizeRequirements *, jfloat, jint, JArray< jint > *);
  static void adjustFromLeft(::javax::swing::SizeRequirements *, jfloat, jint, JArray< jint > *);
public:
  static JArray< jint > * adjustSizes(jint, JArray< ::javax::swing::SizeRequirements * > *);
private:
  static const jlong serialVersionUID = 9217749429906736553LL;
public:
  jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) minimum;
  jint preferred;
  jint maximum;
  jfloat alignment;
  static ::java::lang::Class class$;
};

#endif // __javax_swing_SizeRequirements__