|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QGradient.Type>
com.trolltech.qt.gui.QGradient.Type
public static enum QGradient.Type
Specifies the type of gradient.
Enum Constant Summary | |
---|---|
ConicalGradient
Interpolate colors around a center point (QConicalGradient). |
|
LinearGradient
Interpolates colors between start and end points (QLinearGradient). |
|
NoGradient
No gradient is used. |
|
RadialGradient
Interpolate colors between a focal point and end points on a circle surrounding it (QRadialGradient). |
Method Summary | |
---|---|
static QGradient.Type |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QGradient.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QGradient.Type[] |
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 QGradient.Type LinearGradient
Interpolates colors between start and end points (QLinearGradient).
public static final QGradient.Type RadialGradient
Interpolate colors between a focal point and end points on a circle surrounding it (QRadialGradient).
public static final QGradient.Type ConicalGradient
Interpolate colors around a center point (QConicalGradient).
public static final QGradient.Type NoGradient
No gradient is used.
Method Detail |
---|
public static QGradient.Type[] values()
for (QGradient.Type c : QGradient.Type.values()) System.out.println(c);
public static QGradient.Type 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 QGradient.Type resolve(int value)
|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |