You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
69 lines
3.1 KiB
69 lines
3.1 KiB
//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 <mutz@kde.org>
|
|
|
|
@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 <code>parent</code> @short Constuct a locale-aware KDoubleValidator with default range (whatever TQDoubleValidator uses for that) and parent <code>parent</code>
|
|
*/
|
|
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 [<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, 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();
|
|
}
|