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
|
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.qt;
import org.kde.qt.Qt;
public class QPalette implements QtSupport {
private long _qt;
private boolean _allocatedInJavaWorld = true;
protected QPalette(Class dummy){}
public static final int Disabled = 0;
public static final int Active = 1;
public static final int Inactive = 2;
public static final int NColorGroups = 3;
public static final int Normal = Active;
public QPalette() {
newQPalette();
}
private native void newQPalette();
public QPalette(QColor button) {
newQPalette(button);
}
private native void newQPalette(QColor button);
public QPalette(QColor button, QColor background) {
newQPalette(button,background);
}
private native void newQPalette(QColor button, QColor background);
public QPalette(QColorGroup active, QColorGroup disabled, QColorGroup inactive) {
newQPalette(active,disabled,inactive);
}
private native void newQPalette(QColorGroup active, QColorGroup disabled, QColorGroup inactive);
public QPalette(QPalette arg1) {
newQPalette(arg1);
}
private native void newQPalette(QPalette arg1);
public native QColor color(int arg1, int arg2);
public native QBrush brush(int arg1, int arg2);
public native void setColor(int arg1, int arg2, QColor arg3);
public native void setBrush(int arg1, int arg2, QBrush arg3);
public native void setColor(int arg1, QColor arg2);
public native void setBrush(int arg1, QBrush arg2);
public native QPalette copy();
public native QColorGroup active();
public native QColorGroup disabled();
public native QColorGroup inactive();
public native QColorGroup normal();
public native void setActive(QColorGroup arg1);
public native void setDisabled(QColorGroup arg1);
public native void setInactive(QColorGroup arg1);
public native void setNormal(QColorGroup cg);
public native boolean op_equals(QPalette p);
public native boolean op_not_equals(QPalette p);
public native boolean isCopyOf(QPalette arg1);
public native int serialNumber();
public static native int foregroundRoleFromMode(int mode);
public static native int backgroundRoleFromMode(int mode);
/** 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();
}
|