summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/trinitydesktop/qt/TQPalette.java
blob: c92cb8b2f841e5a083e30d5b36dde9f387fe4e70 (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
56
57
58
59
60
61
//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.qt;

import org.trinitydesktop.qt.Qt;

public class TQPalette implements QtSupport {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;
	protected TQPalette(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 TQPalette() {
		newTQPalette();
	}
	private native void newTQPalette();
	public TQPalette(TQColor button) {
		newTQPalette(button);
	}
	private native void newTQPalette(TQColor button);
	public TQPalette(TQColor button, TQColor background) {
		newTQPalette(button,background);
	}
	private native void newTQPalette(TQColor button, TQColor background);
	public TQPalette(TQColorGroup active, TQColorGroup disabled, TQColorGroup inactive) {
		newTQPalette(active,disabled,inactive);
	}
	private native void newTQPalette(TQColorGroup active, TQColorGroup disabled, TQColorGroup inactive);
	public TQPalette(TQPalette arg1) {
		newTQPalette(arg1);
	}
	private native void newTQPalette(TQPalette arg1);
	public native TQColor color(int arg1, int arg2);
	public native TQBrush brush(int arg1, int arg2);
	public native void setColor(int arg1, int arg2, TQColor arg3);
	public native void setBrush(int arg1, int arg2, TQBrush arg3);
	public native void setColor(int arg1, TQColor arg2);
	public native void setBrush(int arg1, TQBrush arg2);
	public native TQPalette copy();
	public native TQColorGroup active();
	public native TQColorGroup disabled();
	public native TQColorGroup inactive();
	public native void setActive(TQColorGroup arg1);
	public native void setDisabled(TQColorGroup arg1);
	public native void setInactive(TQColorGroup arg1);
	public native boolean op_equals(TQPalette p);
	public native boolean op_not_equals(TQPalette p);
	public native boolean isCopyOf(TQPalette 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();
}