|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QGradient.Spread>
com.trolltech.qt.gui.QGradient.Spread
public static enum QGradient.Spread
Specifies how the area outside the gradient area should be filled.
Enum Constant Summary | |
---|---|
PadSpread
The area is filled with the closest stop color. |
|
ReflectSpread
The gradient is reflected outside the gradient area. |
|
RepeatSpread
The gradient is repeated outside the gradient area. |
Method Summary | |
---|---|
static QGradient.Spread |
resolve(int value)
|
int |
value()
|
static QGradient.Spread |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QGradient.Spread[] |
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 QGradient.Spread PadSpread
The area is filled with the closest stop color. This is the default.
public static final QGradient.Spread ReflectSpread
The gradient is reflected outside the gradient area.
public static final QGradient.Spread RepeatSpread
The gradient is repeated outside the gradient area.
Method Detail |
---|
public static final QGradient.Spread[] values()
for(QGradient.Spread c : QGradient.Spread.values()) System.out.println(c);
public static QGradient.Spread 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 QGradient.Spread resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |