//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.koala;

import org.kde.qt.Qt;
import org.kde.qt.QMetaObject;
import org.kde.qt.QtSupport;
import org.kde.qt.QObject;
import org.kde.qt.QDoubleValidator;

/**

   KDoubleValidator extends QDoubleValidator to be
   locale-aware. That means that - subject to not being disabled -
   KLocale.decimalSymbol(), KLocale.thousandsSeparator()
   and KLocale.positiveSign() and KLocale.negativeSign()
   are respected.
		@author Marc Mutz <mutz@kde.org>

		@short A locale-aware QDoubleValidator.
		@see KIntValidator

*/
public class KDoubleValidator extends QDoubleValidator  {
	protected KDoubleValidator(Class dummy){super((Class) null);}
	public native QMetaObject metaObject();
	public native String className();
	/**	 Constuct a locale-aware KDoubleValidator with default range
		      (whatever QDoubleValidator uses for that) and parent <code>parent</code> 		@short   Constuct a locale-aware KDoubleValidator with default range       (whatever QDoubleValidator uses for that) and parent <code>parent</code>
	*/
	public KDoubleValidator(QObject parent, String name) {
		super((Class) null);
		newKDoubleValidator(parent,name);
	}
	private native void newKDoubleValidator(QObject parent, String name);
	public KDoubleValidator(QObject parent) {
		super((Class) null);
		newKDoubleValidator(parent);
	}
	private native void newKDoubleValidator(QObject parent);
	/**	 Constuct a locale-aware KDoubleValidator for range [<code>bottom</code>,<code>top</code>] and a precision of <code>decimals</code> decimals after the decimal
		      point.  		@short   Constuct a locale-aware KDoubleValidator for range [<code>bottom</code>,<code>top</code>] and a precision of <code>decimals</code> decimals after the decimal       point.
	*/
	public KDoubleValidator(double bottom, double top, int decimals, QObject parent, String name) {
		super((Class) null);
		newKDoubleValidator(bottom,top,decimals,parent,name);
	}
	private native void newKDoubleValidator(double bottom, double top, int decimals, QObject parent, String name);
	public KDoubleValidator(double bottom, double top, int decimals, QObject parent) {
		super((Class) null);
		newKDoubleValidator(bottom,top,decimals,parent);
	}
	private native void newKDoubleValidator(double bottom, double top, int decimals, QObject parent);
	/**	 Overloaded for internal reasons. The API is not affected. 		@short   Overloaded for internal reasons.
	*/
	public native int validate(StringBuffer input, int[] pos);
	/**	 @return whether localized numbers are accepted (default: true) 		@short   @return whether localized numbers are accepted (default: true)
	*/
	public native boolean acceptLocalizedNumbers();
	/**	 Sets whether to accept localized numbers (default: true) 		@short   Sets whether to accept localized numbers (default: true)
	*/
	public native void setAcceptLocalizedNumbers(boolean accept);
	/** 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();
}
