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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
|
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.qt;
import org.kde.qt.Qt;
public class TQRect implements QtSupport {
private long _qt;
private boolean _allocatedInJavaWorld = true;
protected TQRect(Class dummy){}
public TQRect() {
newTQRect();
}
private native void newTQRect();
public TQRect(TQPoint topleft, TQPoint bottomright) {
newTQRect(topleft,bottomright);
}
private native void newTQRect(TQPoint topleft, TQPoint bottomright);
public TQRect(TQPoint topleft, TQSize size) {
newTQRect(topleft,size);
}
private native void newTQRect(TQPoint topleft, TQSize size);
public TQRect(int left, int top, int width, int height) {
newTQRect(left,top,width,height);
}
private native void newTQRect(int left, int top, int width, int height);
public native boolean isNull();
public native boolean isEmpty();
public native boolean isValid();
public native TQRect normalize();
public native int left();
public native int top();
public native int right();
public native int bottom();
public native short rLeft();
public native short rTop();
public native short rRight();
public native short rBottom();
public native int x();
public native int y();
public native void setLeft(int pos);
public native void setTop(int pos);
public native void setRight(int pos);
public native void setBottom(int pos);
public native void setX(int x);
public native void setY(int y);
public native void setTopLeft(TQPoint p);
public native void setBottomRight(TQPoint p);
public native void setTopRight(TQPoint p);
public native void setBottomLeft(TQPoint p);
public native TQPoint topLeft();
public native TQPoint bottomRight();
public native TQPoint topRight();
public native TQPoint bottomLeft();
public native TQPoint center();
public native void rect(int[] x, int[] y, int[] w, int[] h);
public native void coords(int[] x1, int[] y1, int[] x2, int[] y2);
public native void moveLeft(int pos);
public native void moveTop(int pos);
public native void moveRight(int pos);
public native void moveBottom(int pos);
public native void moveTopLeft(TQPoint p);
public native void moveBottomRight(TQPoint p);
public native void moveTopRight(TQPoint p);
public native void moveBottomLeft(TQPoint p);
public native void moveCenter(TQPoint p);
public native void moveBy(int dx, int dy);
public native void setRect(int x, int y, int w, int h);
public native void setCoords(int x1, int y1, int x2, int y2);
public native void addCoords(int x1, int y1, int x2, int y2);
public native TQSize size();
public native int width();
public native int height();
public native void setWidth(int w);
public native void setHeight(int h);
public native void setSize(TQSize s);
public native TQRect op_or(TQRect r);
public native TQRect op_and(TQRect r);
public native TQRect op_or_assign(TQRect r);
public native TQRect op_and_assign(TQRect r);
public native boolean contains(TQPoint p, boolean proper);
public native boolean contains(TQPoint p);
public native boolean contains(int x, int y);
public native boolean contains(int x, int y, boolean proper);
public native boolean contains(TQRect r, boolean proper);
public native boolean contains(TQRect r);
public native TQRect unite(TQRect r);
public native TQRect intersect(TQRect r);
public native boolean intersects(TQRect r);
/** 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();
}
|