/***************************************************************************
                            QDoubleValidator.java -  description
                             -------------------
    begin                : Wed Nov 21 17:05:56 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Nov 21 17:05:56 2001, 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.qt;

import java.util.*;
import java.lang.Error;

/**
 See {@link QDoubleValidatorSignals} for signals emitted by QDoubleValidator.

 See {@link QDoubleValidatorEventHandling} for event handlers to override in subclasses of QDoubleValidator.

*/
public class QDoubleValidator extends QValidator  {
	protected QDoubleValidator(Class dummy){super((Class) null);}

	private native void newQDoubleValidator( QObject parent, String name);
	public QDoubleValidator( QObject parent, String name) {
		super((Class) null);
		newQDoubleValidator( parent, name);
	}
	private native void newQDoubleValidator( QObject parent);
	public QDoubleValidator( QObject parent) {
		super((Class) null);
		newQDoubleValidator( parent);
	}
	private native void newQDoubleValidator( double bottom, double top, int decimals, QObject parent, String name);
	public QDoubleValidator( double bottom, double top, int decimals, QObject parent, String name) {
		super((Class) null);
		newQDoubleValidator( bottom, top, decimals, parent, name);
	}
	private native void newQDoubleValidator( double bottom, double top, int decimals, QObject parent);
	public QDoubleValidator( double bottom, double top, int decimals, QObject parent) {
		super((Class) null);
		newQDoubleValidator( bottom, top, decimals, parent);
	}
	protected native void finalize() throws InternalError;
	public native int validate( StringBuffer input, int[] pos);
	public native void setRange( double bottom, double top, int decimals);
	public native void setRange( double bottom, double top);
	public native void setBottom( double arg1);
	public native void setTop( double arg1);
	public native void setDecimals( int arg1);
	public native double bottom();
	public native double top();
	public native int decimals();
}
