|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QTimeLine.CurveShape>
com.trolltech.qt.core.QTimeLine.CurveShape
public static enum QTimeLine.CurveShape
This enum describes the default shape of QTimeLine's value curve. The default, shape is EaseInOutCurve. The curve defines the relation between the value and the timeline.
Enum Constant Summary | |
---|---|
EaseInCurve
The value starts growing slowly, then increases in speed. |
|
EaseInOutCurve
The value starts growing slowly, the runs steadily, then grows slowly again. |
|
EaseOutCurve
The value starts growing steadily, then ends slowly. |
|
LinearCurve
The value grows linearly (e.g., if the duration is 1000 ms, the value at time 500 ms is 0.5). |
|
SineCurve
The value grows sinusoidally. |
Method Summary | |
---|---|
static QTimeLine.CurveShape |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QTimeLine.CurveShape |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QTimeLine.CurveShape[] |
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 QTimeLine.CurveShape EaseInCurve
The value starts growing slowly, then increases in speed.
public static final QTimeLine.CurveShape EaseOutCurve
The value starts growing steadily, then ends slowly.
public static final QTimeLine.CurveShape EaseInOutCurve
The value starts growing slowly, the runs steadily, then grows slowly again.
public static final QTimeLine.CurveShape LinearCurve
The value grows linearly (e.g., if the duration is 1000 ms, the value at time 500 ms is 0.5).
public static final QTimeLine.CurveShape SineCurve
The value grows sinusoidally.
Method Detail |
---|
public static QTimeLine.CurveShape[] values()
for (QTimeLine.CurveShape c : QTimeLine.CurveShape.values()) System.out.println(c);
public static QTimeLine.CurveShape 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 QTimeLine.CurveShape resolve(int value)
|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |