|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QLCDNumber.Mode>
com.trolltech.qt.gui.QLCDNumber.Mode
public static enum QLCDNumber.Mode
This type determines how numbers are shown.
If the display is set to hexadecimal, octal or binary, the integer equivalent of the value is displayed.
Enum Constant Summary | |
---|---|
Bin
Binary |
|
Dec
Decimal |
|
Hex
Hexadecimal |
|
Oct
Octal |
Method Summary | |
---|---|
static QLCDNumber.Mode |
resolve(int value)
|
int |
value()
|
static QLCDNumber.Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QLCDNumber.Mode[] |
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 QLCDNumber.Mode Hex
Hexadecimal
public static final QLCDNumber.Mode Dec
Decimal
public static final QLCDNumber.Mode Oct
Octal
public static final QLCDNumber.Mode Bin
Binary
Method Detail |
---|
public static final QLCDNumber.Mode[] values()
for(QLCDNumber.Mode c : QLCDNumber.Mode.values()) System.out.println(c);
public static QLCDNumber.Mode 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 QLCDNumber.Mode resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |