1 |
759 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __javax_swing_SizeRequirements__
|
5 |
|
|
#define __javax_swing_SizeRequirements__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/lang/Object.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
extern "Java"
|
13 |
|
|
{
|
14 |
|
|
namespace javax
|
15 |
|
|
{
|
16 |
|
|
namespace swing
|
17 |
|
|
{
|
18 |
|
|
class SizeRequirements;
|
19 |
|
|
}
|
20 |
|
|
}
|
21 |
|
|
}
|
22 |
|
|
|
23 |
|
|
class javax::swing::SizeRequirements : public ::java::lang::Object
|
24 |
|
|
{
|
25 |
|
|
|
26 |
|
|
public:
|
27 |
|
|
SizeRequirements();
|
28 |
|
|
SizeRequirements(jint, jint, jint, jfloat);
|
29 |
|
|
virtual ::java::lang::String * toString();
|
30 |
|
|
static ::javax::swing::SizeRequirements * getTiledSizeRequirements(JArray< ::javax::swing::SizeRequirements * > *);
|
31 |
|
|
static ::javax::swing::SizeRequirements * getAlignedSizeRequirements(JArray< ::javax::swing::SizeRequirements * > *);
|
32 |
|
|
static void calculateTiledPositions(jint, ::javax::swing::SizeRequirements *, JArray< ::javax::swing::SizeRequirements * > *, JArray< jint > *, JArray< jint > *);
|
33 |
|
|
static void calculateTiledPositions(jint, ::javax::swing::SizeRequirements *, JArray< ::javax::swing::SizeRequirements * > *, JArray< jint > *, JArray< jint > *, jboolean);
|
34 |
|
|
private:
|
35 |
|
|
static void adjustSmaller(jint, JArray< ::javax::swing::SizeRequirements * > *, JArray< jint > *, jint);
|
36 |
|
|
static void adjustGreater(jint, JArray< ::javax::swing::SizeRequirements * > *, JArray< jint > *, jint);
|
37 |
|
|
public:
|
38 |
|
|
static void calculateAlignedPositions(jint, ::javax::swing::SizeRequirements *, JArray< ::javax::swing::SizeRequirements * > *, JArray< jint > *, JArray< jint > *);
|
39 |
|
|
static void calculateAlignedPositions(jint, ::javax::swing::SizeRequirements *, JArray< ::javax::swing::SizeRequirements * > *, JArray< jint > *, JArray< jint > *, jboolean);
|
40 |
|
|
private:
|
41 |
|
|
static void adjustFromRight(::javax::swing::SizeRequirements *, jfloat, jint, JArray< jint > *);
|
42 |
|
|
static void adjustFromLeft(::javax::swing::SizeRequirements *, jfloat, jint, JArray< jint > *);
|
43 |
|
|
public:
|
44 |
|
|
static JArray< jint > * adjustSizes(jint, JArray< ::javax::swing::SizeRequirements * > *);
|
45 |
|
|
private:
|
46 |
|
|
static const jlong serialVersionUID = 9217749429906736553LL;
|
47 |
|
|
public:
|
48 |
|
|
jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) minimum;
|
49 |
|
|
jint preferred;
|
50 |
|
|
jint maximum;
|
51 |
|
|
jfloat alignment;
|
52 |
|
|
static ::java::lang::Class class$;
|
53 |
|
|
};
|
54 |
|
|
|
55 |
|
|
#endif // __javax_swing_SizeRequirements__
|