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
77
|
//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.qt;
import org.trinitydesktop.qt.Qt;
public class TQSizePolicy implements QtSupport {
private long _qt;
private boolean _allocatedInJavaWorld = true;
protected TQSizePolicy(Class dummy){}
public static final int HSize = 6;
public static final int HMask = 0x3f;
public static final int VMask = HMask<<HSize;
public static final int MayGrow = 1;
public static final int ExpMask = 2;
public static final int MayShrink = 4;
public static final int Fixed = 0;
public static final int Minimum = MayGrow;
public static final int Maximum = MayShrink;
public static final int Preferred = MayGrow|MayShrink;
public static final int MinimumExpanding = MayGrow|ExpMask;
public static final int Expanding = MayGrow|MayShrink|ExpMask;
public static final int Ignored = ExpMask;
public static final int NoDirection = 0;
public static final int Horizontally = 1;
public static final int Vertically = 2;
public static final int Horizontal = Horizontally;
public static final int Vertical = Vertically;
public static final int BothDirections = Horizontally|Vertically;
public TQSizePolicy() {
newTQSizePolicy();
}
private native void newTQSizePolicy();
public TQSizePolicy(int hor, int ver, boolean hfw) {
newTQSizePolicy(hor,ver,hfw);
}
private native void newTQSizePolicy(int hor, int ver, boolean hfw);
public TQSizePolicy(int hor, int ver) {
newTQSizePolicy(hor,ver);
}
private native void newTQSizePolicy(int hor, int ver);
public TQSizePolicy(int hor, int ver, short hors, short vers, boolean hfw) {
newTQSizePolicy(hor,ver,hors,vers,hfw);
}
private native void newTQSizePolicy(int hor, int ver, short hors, short vers, boolean hfw);
public TQSizePolicy(int hor, int ver, short hors, short vers) {
newTQSizePolicy(hor,ver,hors,vers);
}
private native void newTQSizePolicy(int hor, int ver, short hors, short vers);
public native int horData();
public native int verData();
public native boolean mayShrinkHorizontally();
public native boolean mayShrinkVertically();
public native boolean mayGrowHorizontally();
public native boolean mayGrowVertically();
public native int expanding();
public native void setHorData(int d);
public native void setVerData(int d);
public native void setHeightForWidth(boolean b);
public native boolean hasHeightForWidth();
public native boolean op_equals(TQSizePolicy s);
public native boolean op_not_equals(TQSizePolicy s);
public native int horStretch();
public native int verStretch();
public native void setHorStretch(short sf);
public native void setVerStretch(short sf);
public native void transpose();
/** Deletes the wrapped C++ instance */
protected native void finalize() throws InternalError;
/** Delete the wrapped C++ instance ahead of finalize() */
public native void dispose();
/** Has the wrapped C++ instance been deleted? */
public native boolean isDisposed();
}
|