//Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; import org.kde.qt.TQObject; import org.kde.qt.TQDoubleValidator; /** KDoubleValidator extends TQDoubleValidator to be locale-aware. That means that - subject to not being disabled - TDELocale.decimalSymbol(), TDELocale.thousandsSeparator() and TDELocale.positiveSign() and TDELocale.negativeSign() are respected. @author Marc Mutz @short A locale-aware TQDoubleValidator. @see KIntValidator */ public class KDoubleValidator extends TQDoubleValidator { protected KDoubleValidator(Class dummy){super((Class) null);} public native TQMetaObject metaObject(); public native String className(); /** Constuct a locale-aware KDoubleValidator with default range (whatever TQDoubleValidator uses for that) and parent parent @short Constuct a locale-aware KDoubleValidator with default range (whatever TQDoubleValidator uses for that) and parent parent */ public KDoubleValidator(TQObject parent, String name) { super((Class) null); newKDoubleValidator(parent,name); } private native void newKDoubleValidator(TQObject parent, String name); public KDoubleValidator(TQObject parent) { super((Class) null); newKDoubleValidator(parent); } private native void newKDoubleValidator(TQObject parent); /** Constuct a locale-aware KDoubleValidator for range [bottom,top] and a precision of decimals decimals after the decimal point. @short Constuct a locale-aware KDoubleValidator for range [bottom,top] and a precision of decimals decimals after the decimal point. */ public KDoubleValidator(double bottom, double top, int decimals, TQObject parent, String name) { super((Class) null); newKDoubleValidator(bottom,top,decimals,parent,name); } private native void newKDoubleValidator(double bottom, double top, int decimals, TQObject parent, String name); public KDoubleValidator(double bottom, double top, int decimals, TQObject parent) { super((Class) null); newKDoubleValidator(bottom,top,decimals,parent); } private native void newKDoubleValidator(double bottom, double top, int decimals, TQObject 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(); }