|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QFont.Stretch>
com.trolltech.qt.gui.QFont.Stretch
public static enum QFont.Stretch
Predefined stretch values that follow the CSS naming convention. The higher the value, the more stretched the text is.
Enum Constant Summary | |
---|---|
Condensed
75 |
|
Expanded
125 |
|
ExtraCondensed
62 |
|
ExtraExpanded
150 |
|
SemiCondensed
87 |
|
SemiExpanded
112 |
|
UltraCondensed
50 |
|
UltraExpanded
200 |
|
Unstretched
100 |
Method Summary | |
---|---|
static QFont.Stretch |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QFont.Stretch |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QFont.Stretch[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final QFont.Stretch UltraCondensed
50
public static final QFont.Stretch ExtraCondensed
62
public static final QFont.Stretch Condensed
75
public static final QFont.Stretch SemiCondensed
87
public static final QFont.Stretch Unstretched
100
public static final QFont.Stretch SemiExpanded
112
public static final QFont.Stretch Expanded
125
public static final QFont.Stretch ExtraExpanded
150
public static final QFont.Stretch UltraExpanded
200
Method Detail |
---|
public static QFont.Stretch[] values()
for (QFont.Stretch c : QFont.Stretch.values()) System.out.println(c);
public static QFont.Stretch 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 name
java.lang.NullPointerException
- if the argument is nullpublic int value()
QtEnumerator
value
in interface QtEnumerator
public static QFont.Stretch resolve(int value)
|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |