/***************************************************************************
                            KCharSelectTable.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 table widget which displayes the characters of a font. Internally
 used by KCharSelect. See the KCharSelect documentation for further
 details.

 See {@link KCharSelectTableSignals} for signals emitted by KCharSelectTable.

 See {@link KCharSelectTableEventHandling} for event handlers to override in subclasses of KCharSelectTable.

 @author Reginald Stadlbauer <reggie@kde.org>
 
 @version $Id: KCharSelectTable.java,v 1.5 2002/01/31 04:48:56 rdale Exp $

 @short Character-Selection Table.
*/
public class KCharSelectTable extends QGridView  {
	protected KCharSelectTable(Class dummy){super((Class) null);}

	private native void newKCharSelectTable( QWidget parent, String name, String _font, char _chr, int _tableNum);
	public KCharSelectTable( QWidget parent, String name, String _font, char _chr, int _tableNum) {
		super((Class) null);
		newKCharSelectTable( parent, name, _font, _chr, _tableNum);
	}
	public native QSize sizeHint();
	public native void resizeEvent( QResizeEvent arg1);
	public native void setFont( String _font);
	public native void setChar( char _chr);
	public native void setTableNum( int _tableNum);
	public native char chr();
//	protected native void paintCell( class QPainter* p, int row, int col);
	protected native void mousePressEvent( QMouseEvent e);
	protected native void mouseDoubleClickEvent( QMouseEvent e);
	protected native void mouseReleaseEvent( QMouseEvent e);
	protected native void mouseMoveEvent( QMouseEvent e);
	protected native void keyPressEvent( QKeyEvent e);
	protected native void gotoLeft();
	protected native void gotoRight();
	protected native void gotoUp();
	protected native void gotoDown();
}
