/***************************************************************************
                            KIconCanvas.java -  description
                             -------------------
    begin                : Tue Jan 29 15:17:41 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd.
    email                : Richard_Dale@tipitina.demon.co.uk
    generated by         : duke@tipitina on Tue Jan 29 15:17:41 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;

/**

 Icon canvas for KIconDialog.
 
 See {@link KIconCanvasSignals} for signals emitted by KIconCanvas.

 See {@link KIconCanvasEventHandling} for event handlers to override in subclasses of KIconCanvas.

 @short 
 Icon canvas for KIconDialog.
*/
public class KIconCanvas extends KIconView  {
	protected KIconCanvas(Class dummy){super((Class) null);}

	private native void newKIconCanvas( QWidget parent, String name);
	public KIconCanvas( QWidget parent, String name) {
		super((Class) null);
		newKIconCanvas( parent, name);
	}
	private native void newKIconCanvas();
	public KIconCanvas() {
		super((Class) null);
		newKIconCanvas();
	}
	protected native void finalize() throws InternalError;
	public native void dispose();
	public native boolean isDisposed();

/**  Load icons into the canvas. 
*/
	public native void loadFiles( String[] files);

/**  Returns the current icon. 
*/
	public native String getCurrent();
	public native void stopLoading();
}
