|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QDoubleValidator.Notation>
com.trolltech.qt.gui.QDoubleValidator.Notation
public static enum QDoubleValidator.Notation
This enum defines the allowed notations for entering a double.
Enum Constant Summary | |
---|---|
ScientificNotation
The string is written in scientific form. |
|
StandardNotation
The string is written as a standard number (i.e. 0.015). |
Method Summary | |
---|---|
static QDoubleValidator.Notation |
resolve(int value)
|
int |
value()
|
static QDoubleValidator.Notation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QDoubleValidator.Notation[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final QDoubleValidator.Notation StandardNotation
The string is written as a standard number (i.e. 0.015).
public static final QDoubleValidator.Notation ScientificNotation
The string is written in scientific form. It may have an exponent part(i.e. 1.5E-2).
Method Detail |
---|
public static final QDoubleValidator.Notation[] values()
for(QDoubleValidator.Notation c : QDoubleValidator.Notation.values()) System.out.println(c);
public static QDoubleValidator.Notation valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namepublic int value()
value
in interface QtEnumerator
public static QDoubleValidator.Notation resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |