io.qt.core.QVariantAnimation Maven / Gradle / Ivy
Show all versions of qtjambi Show documentation
package io.qt.core;
/**
* Base class for animations
* Java wrapper for Qt class QVariantAnimation
*/
public class QVariantAnimation extends io.qt.core.QAbstractAnimation
{
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QVariantAnimation.class);
/**
* See QVariantAnimation::valueChanged(QVariant)
*/
@io.qt.QtPropertyNotify(name="currentValue")
public final Signal1 valueChanged = new Signal1<>();
/**
* Overloaded constructor for {@link #QVariantAnimation(io.qt.core.QObject)}
* with parent = null
.
*/
public QVariantAnimation() {
this((io.qt.core.QObject)null);
}
/**
* See QVariantAnimation::QVariantAnimation(QObject*)
*/
public QVariantAnimation(io.qt.core.QObject parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QVariantAnimation instance, io.qt.core.QObject parent);
/**
* The duration of the animation
* See QVariantAnimation::bindableDuration()
*/
@io.qt.QtPropertyBindable(name="duration")
@io.qt.QtUninvokable
public final io.qt.core.QIntBindable bindableDuration(){
return bindableDuration_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QIntBindable bindableDuration_native(long __this__nativeId);
/**
* The easing curve of the animation
* See QVariantAnimation::bindableEasingCurve()
*/
@io.qt.QtPropertyBindable(name="easingCurve")
@io.qt.QtUninvokable
public final io.qt.core.QBindable bindableEasingCurve(){
return bindableEasingCurve_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QBindable bindableEasingCurve_native(long __this__nativeId);
/**
* See QVariantAnimation::currentValue()const
*/
@io.qt.QtPropertyReader(name="currentValue")
@io.qt.QtUninvokable
public final java.lang.Object currentValue(){
return currentValue_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native java.lang.Object currentValue_native_constfct(long __this__nativeId);
/**
* See QVariantAnimation::easingCurve()const
*/
@io.qt.QtPropertyReader(name="easingCurve")
@io.qt.QtUninvokable
public final io.qt.core.QEasingCurve easingCurve(){
return easingCurve_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QEasingCurve easingCurve_native_constfct(long __this__nativeId);
/**
* See QVariantAnimation::endValue()const
*/
@io.qt.QtPropertyReader(name="endValue")
@io.qt.QtUninvokable
public final java.lang.Object endValue(){
return endValue_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native java.lang.Object endValue_native_constfct(long __this__nativeId);
/**
* See QVariantAnimation::keyValueAt(qreal)const
*/
@io.qt.QtUninvokable
public final java.lang.Object keyValueAt(double step){
return keyValueAt_native_qtjambireal_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), step);
}
@io.qt.QtUninvokable
private native java.lang.Object keyValueAt_native_qtjambireal_constfct(long __this__nativeId, double step);
/**
* See QVariantAnimation::keyValues()const
*/
@io.qt.QtUninvokable
public final io.qt.core.QList> keyValues(){
return keyValues_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QList> keyValues_native_constfct(long __this__nativeId);
/**
* See QVariantAnimation::setDuration(int)
*/
@io.qt.QtPropertyWriter(name="duration")
@io.qt.QtUninvokable
public final void setDuration(int msecs){
setDuration_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), msecs);
}
@io.qt.QtUninvokable
private native void setDuration_native_int(long __this__nativeId, int msecs);
/**
* See QVariantAnimation::setEasingCurve(QEasingCurve)
*/
@io.qt.QtPropertyWriter(name="easingCurve")
@io.qt.QtUninvokable
public final void setEasingCurve(io.qt.core.QEasingCurve easing){
setEasingCurve_native_cref_QEasingCurve(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(easing));
}
@io.qt.QtUninvokable
private native void setEasingCurve_native_cref_QEasingCurve(long __this__nativeId, long easing);
/**
* See QVariantAnimation::setEndValue(QVariant)
*/
@io.qt.QtPropertyWriter(name="endValue")
@io.qt.QtUninvokable
public final void setEndValue(java.lang.Object value){
setEndValue_native_cref_QVariant(QtJambi_LibraryUtilities.internal.nativeId(this), value);
}
@io.qt.QtUninvokable
private native void setEndValue_native_cref_QVariant(long __this__nativeId, java.lang.Object value);
/**
* See QVariantAnimation::setKeyValueAt(qreal,QVariant)
*/
@io.qt.QtUninvokable
public final void setKeyValueAt(double step, java.lang.Object value){
setKeyValueAt_native_qtjambireal_cref_QVariant(QtJambi_LibraryUtilities.internal.nativeId(this), step, value);
}
@io.qt.QtUninvokable
private native void setKeyValueAt_native_qtjambireal_cref_QVariant(long __this__nativeId, double step, java.lang.Object value);
/**
* See QVariantAnimation::setKeyValues(QVariantAnimation::KeyValues)
*/
@io.qt.QtUninvokable
public final void setKeyValues(java.util.Collection extends io.qt.core.QPair> values){
setKeyValues_native_cref_QList(QtJambi_LibraryUtilities.internal.nativeId(this), values);
}
@io.qt.QtUninvokable
private native void setKeyValues_native_cref_QList(long __this__nativeId, java.util.Collection extends io.qt.core.QPair> values);
/**
* See QVariantAnimation::setStartValue(QVariant)
*/
@io.qt.QtPropertyWriter(name="startValue")
@io.qt.QtUninvokable
public final void setStartValue(java.lang.Object value){
setStartValue_native_cref_QVariant(QtJambi_LibraryUtilities.internal.nativeId(this), value);
}
@io.qt.QtUninvokable
private native void setStartValue_native_cref_QVariant(long __this__nativeId, java.lang.Object value);
/**
* See QVariantAnimation::startValue()const
*/
@io.qt.QtPropertyReader(name="startValue")
@io.qt.QtUninvokable
public final java.lang.Object startValue(){
return startValue_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native java.lang.Object startValue_native_constfct(long __this__nativeId);
/**
* See QAbstractAnimation::duration()const
*/
@io.qt.QtPropertyReader(name="duration")
@io.qt.QtUninvokable
public int duration(){
return duration_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int duration_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
public boolean event(io.qt.core.QEvent event){
return event_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@io.qt.QtUninvokable
private native boolean event_native_QEvent_ptr(long __this__nativeId, long event);
/**
* See QVariantAnimation::interpolated(QVariant,QVariant,qreal)const
*/
@io.qt.QtUninvokable
protected java.lang.Object interpolated(java.lang.Object from, java.lang.Object to, double progress){
return interpolated_native_cref_QVariant_cref_QVariant_qtjambireal_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), from, to, progress);
}
@io.qt.QtUninvokable
private native java.lang.Object interpolated_native_cref_QVariant_cref_QVariant_qtjambireal_constfct(long __this__nativeId, java.lang.Object from, java.lang.Object to, double progress);
/**
* See QAbstractAnimation::updateCurrentTime(int)
*/
@io.qt.QtUninvokable
protected void updateCurrentTime(int arg__1){
updateCurrentTime_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1);
}
@io.qt.QtUninvokable
private native void updateCurrentTime_native_int(long __this__nativeId, int arg__1);
/**
* See QVariantAnimation::updateCurrentValue(QVariant)
*/
@io.qt.QtUninvokable
protected void updateCurrentValue(java.lang.Object value){
updateCurrentValue_native_cref_QVariant(QtJambi_LibraryUtilities.internal.nativeId(this), value);
}
@io.qt.QtUninvokable
private native void updateCurrentValue_native_cref_QVariant(long __this__nativeId, java.lang.Object value);
/**
* See QAbstractAnimation::updateState(QAbstractAnimation::State,QAbstractAnimation::State)
*/
@io.qt.QtUninvokable
protected void updateState(io.qt.core.QAbstractAnimation.State newState, io.qt.core.QAbstractAnimation.State oldState){
updateState_native_QAbstractAnimation_State_QAbstractAnimation_State(QtJambi_LibraryUtilities.internal.nativeId(this), newState.value(), oldState.value());
}
@io.qt.QtUninvokable
private native void updateState_native_QAbstractAnimation_State_QAbstractAnimation_State(long __this__nativeId, int newState, int oldState);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QVariantAnimation(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
*/
@io.qt.NativeAccess
protected QVariantAnimation(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@io.qt.QtUninvokable
private static native void initialize_native(QVariantAnimation instance, QDeclarativeConstructor constructor);
}