org.kde.koala
public class KFloatValidator extends QValidator
Version: 0.0.1
UNKNOWN: \brief QValidator for floating point entry (Obsolete)
Constructor Summary | |
---|---|
protected | KFloatValidator(Class dummy) |
KFloatValidator(QWidget parent, String name)
Constructor. | |
KFloatValidator(QWidget parent) | |
KFloatValidator(double bottom, double top, QWidget parent, String name)
Constructor. | |
KFloatValidator(double bottom, double top, QWidget parent) | |
KFloatValidator(double bottom, double top, boolean localeAware, QWidget parent, String name)
Constructor. | |
KFloatValidator(double bottom, double top, boolean localeAware, QWidget parent) |
Method Summary | |
---|---|
boolean | acceptLocalizedNumbers()
Returns true if the validator is locale aware. |
double | bottom()
Returns the current minimum value allowed. |
void | dispose() Delete the wrapped C++ instance ahead of finalize() |
protected void | finalize() Deletes the wrapped C++ instance |
void | fixup(StringBuffer arg1)
Fixes the text if possible, providing a valid string. |
boolean | isDisposed() Has the wrapped C++ instance been deleted? |
void | setAcceptLocalizedNumbers(boolean b)
Sets the validator to be locale aware if is true. |
void | setRange(double bottom, double top)
Sets the minimum and maximum value allowed. |
double | top()
Returns the current maximum value allowed. |
int | validate(StringBuffer arg1, int[] arg2)
Validates the text, and return the result. |
UNKNOWN: Constructor.
UNKNOWN: Constructor.
localeAware
is true.UNKNOWN: Constructor.
See Also: #
UNKNOWN: Returns true if the validator is locale aware.
UNKNOWN: Returns the current minimum value allowed.
UNKNOWN: Fixes the text if possible, providing a valid string.
is
true. In this case, the
character KLocale.decimalSymbol() from the global locale is recognized
as decimal separator.UNKNOWN: Sets the validator to be locale aware if is
true.
UNKNOWN: Sets the minimum and maximum value allowed.
UNKNOWN: Returns the current maximum value allowed.
UNKNOWN: Validates the text, and return the result.