summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/TQGLColormap.java
blob: 72018e143cf1aa7bb4ada7201a637be4a378f858 (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
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.qt;

import org.kde.qt.Qt;

public class TQGLColormap implements QtSupport {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;
	protected TQGLColormap(Class dummy){}

	public TQGLColormap() {
		newTQGLColormap();
	}
	private native void newTQGLColormap();
	public TQGLColormap(TQGLColormap arg1) {
		newTQGLColormap(arg1);
	}
	private native void newTQGLColormap(TQGLColormap arg1);
	public native boolean isEmpty();
	public native int size();
	public native void detach();
	public native void setEntries(int count, int[] colors, int base);
	public native void setEntries(int count, int[] colors);
	public native void setEntry(int idx, int color);
	public native void setEntry(int idx, TQColor color);
	public native int entryRgb(int idx);
	public native TQColor entryColor(int idx);
	public native int find(int color);
	public native int findNearest(int color);
	/** 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();
}