1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
//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();
}
|