|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QTextStream.RealNumberNotation>
com.trolltech.qt.core.QTextStream.RealNumberNotation
public static enum QTextStream.RealNumberNotation
This enum specifies which notations to use for expressing float and double as strings.
Enum Constant Summary | |
---|---|
FixedNotation
Fixed-point notation (printf()'s %f flag). |
|
ScientificNotation
Scientific notation (printf()'s %e flag). |
|
SmartNotation
Scientific or fixed-point notation, depending on which makes most sense (printf()'s %g flag). |
Method Summary | |
---|---|
static QTextStream.RealNumberNotation |
resolve(int value)
|
int |
value()
|
static QTextStream.RealNumberNotation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QTextStream.RealNumberNotation[] |
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 QTextStream.RealNumberNotation SmartNotation
Scientific or fixed-point notation, depending on which makes most sense (printf()'s %g flag).
public static final QTextStream.RealNumberNotation FixedNotation
Fixed-point notation (printf()'s %f flag).
public static final QTextStream.RealNumberNotation ScientificNotation
Scientific notation (printf()'s %e flag).
Method Detail |
---|
public static final QTextStream.RealNumberNotation[] values()
for(QTextStream.RealNumberNotation c : QTextStream.RealNumberNotation.values()) System.out.println(c);
public static QTextStream.RealNumberNotation 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 QTextStream.RealNumberNotation resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |