//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();
}
