/***************************************************************************
                            KPaletteTable.java -  description
                             -------------------
    begin                : Sun Jan 27 16:22:17 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd.
    email                : Richard_Dale@tipitina.demon.co.uk
    generated by         : duke@tipitina on Sun Jan 27 16:22:17 2002, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
***************************************************************************/

package org.kde.koala;

import org.kde.qt.*;
import java.util.*;
import java.lang.Error;

/**

 A color palette in table form.

 See {@link KPaletteTableSignals} for signals emitted by KPaletteTable.

 See {@link KPaletteTableEventHandling} for event handlers to override in subclasses of KPaletteTable.

 @author Waldo Bastian <bastian@kde.org>

 @version $Id: KPaletteTable.java,v 1.5 2002/01/31 04:48:59 rdale Exp $

 @short 
 A color palette in table form.
*/
public class KPaletteTable extends QWidget  {
	protected KPaletteTable(Class dummy){super((Class) null);}

	private native void newKPaletteTable( QWidget parent, int minWidth, int cols);
	public KPaletteTable( QWidget parent, int minWidth, int cols) {
		super((Class) null);
		newKPaletteTable( parent, minWidth, cols);
	}
	private native void newKPaletteTable( QWidget parent);
	public KPaletteTable( QWidget parent) {
		super((Class) null);
		newKPaletteTable( parent);
	}
	protected native void finalize() throws InternalError;
	public native void dispose();
	public native boolean isDisposed();
	public native void addToCustomColors( QColor arg1);
	public native void addToRecentColors( QColor arg1);
	public native String paletteName();
	public native void setPalette( String paletteName);
	protected native void readNamedColor();
	protected native void slotColorCellSelected( int arg1);
	protected native void slotColorTextSelected( String colorText);
	protected native void slotSetPalette( String _paletteName);
	protected native void slotShowNamedColorReadError();
}
