com.trolltech.qt.gui
Class QGradient.Type

java.lang.Object
  extended by java.lang.Enum
      extended by com.trolltech.qt.gui.QGradient.Type
All Implemented Interfaces:
QtEnumerator, java.io.Serializable, java.lang.Comparable
Enclosing class:
QGradient

public static final class QGradient.Type
extends java.lang.Enum
implements QtEnumerator

See Also:
Serialized Form

Field Summary
static QGradient.Type ConicalGradient
           
static QGradient.Type LinearGradient
           
static QGradient.Type NoGradient
           
static QGradient.Type RadialGradient
           
 
Method Summary
static QGradient.Type resolve(int value)
          Returns the Type constant with the specified int.
 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)
           
static QGradient.Type[] values()
           
 
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
 

Field Detail

LinearGradient

public static final QGradient.Type LinearGradient

RadialGradient

public static final QGradient.Type RadialGradient

ConicalGradient

public static final QGradient.Type ConicalGradient

NoGradient

public static final QGradient.Type NoGradient
Method Detail

values

public static QGradient.Type[] values()

valueOf

public static QGradient.Type valueOf(java.lang.String name)

value

public int value()
This function should return an integer value for the enum values of the enumeration that implements this interface.

Specified by:
value in interface QtEnumerator

resolve

public static QGradient.Type resolve(int value)
Returns the Type constant with the specified int.