|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QTextStream.NumberFlag>
com.trolltech.qt.core.QTextStream.NumberFlag
public static enum QTextStream.NumberFlag
This enum specifies various flags that can be set to affect the output of integers, floats, and doubles.
Enum Constant Summary | |
---|---|
ForcePoint
Always put the decimal separator in numbers, even if there are no decimals. |
|
ForceSign
Always put the sign in numbers, even for positive numbers. |
|
ShowBase
Show the base as a prefix if the base is 16 ("0x"), 8 ("0"), or 2 ("0b"). |
|
UppercaseBase
Use uppercase versions of base prefixes ("0X", "0B"). |
|
UppercaseDigits
Use uppercase letters for expressing digits 10 to 35 instead of lowercase. |
Method Summary | |
---|---|
static QTextStream.NumberFlags |
createQFlags(QTextStream.NumberFlag... values)
|
static QTextStream.NumberFlag |
resolve(int value)
|
int |
value()
|
static QTextStream.NumberFlag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QTextStream.NumberFlag[] |
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.NumberFlag ShowBase
Show the base as a prefix if the base is 16 ("0x"), 8 ("0"), or 2 ("0b").
public static final QTextStream.NumberFlag ForcePoint
Always put the decimal separator in numbers, even if there are no decimals.
public static final QTextStream.NumberFlag ForceSign
Always put the sign in numbers, even for positive numbers.
public static final QTextStream.NumberFlag UppercaseBase
Use uppercase versions of base prefixes ("0X", "0B").
public static final QTextStream.NumberFlag UppercaseDigits
Use uppercase letters for expressing digits 10 to 35 instead of lowercase.
Method Detail |
---|
public static final QTextStream.NumberFlag[] values()
for(QTextStream.NumberFlag c : QTextStream.NumberFlag.values()) System.out.println(c);
public static QTextStream.NumberFlag 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.NumberFlags createQFlags(QTextStream.NumberFlag... values)
public static QTextStream.NumberFlag resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |