summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QGLColormap.java
blob: 818355cc36b8d412bfe03240251ed6bc3255addf (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 QGLColormap implements QtSupport {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;
	protected QGLColormap(Class dummy){}

	public QGLColormap() {
		newQGLColormap();
	}
	private native void newQGLColormap();
	public QGLColormap(QGLColormap arg1) {
		newQGLColormap(arg1);
	}
	private native void newQGLColormap(QGLColormap 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, QColor color);
	public native int entryRgb(int idx);
	public native QColor 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();
}