io.qt.core.QSequentialAnimationGroup Maven / Gradle / Ivy
Show all versions of qtjambi Show documentation
package io.qt.core;
import io.qt.*;
/**
* Sequential group of animations
* Java wrapper for Qt class QSequentialAnimationGroup
*/
public class QSequentialAnimationGroup extends io.qt.core.QAnimationGroup
{
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QSequentialAnimationGroup.class);
/**
* See QSequentialAnimationGroup:: currentAnimationChanged(QAbstractAnimation*)
*/
@QtPropertyNotify(name="currentAnimation")
public final @NonNull Signal1 currentAnimationChanged = new Signal1<>();
/**
* See QSequentialAnimationGroup:: QSequentialAnimationGroup(QObject*)
*/
public QSequentialAnimationGroup(io.qt.core.@Nullable QObject parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QSequentialAnimationGroup instance, io.qt.core.QObject parent);
/**
* See QSequentialAnimationGroup:: addPause(int)
*/
@QtUninvokable
public final io.qt.core.@Nullable QPauseAnimation addPause(int msecs){
return addPause_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), msecs);
}
@QtUninvokable
private native io.qt.core.QPauseAnimation addPause_native_int(long __this__nativeId, int msecs);
/**
* See QSequentialAnimationGroup:: bindableCurrentAnimation()const
*/
@QtPropertyBindable(name="currentAnimation")
@QtUninvokable
public final io.qt.core.@NonNull QBindable bindableCurrentAnimation(){
return bindableCurrentAnimation_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QBindable bindableCurrentAnimation_native_constfct(long __this__nativeId);
/**
* See QSequentialAnimationGroup:: currentAnimation()const
*/
@QtPropertyReader(name="currentAnimation")
@QtUninvokable
public final io.qt.core.@Nullable QAbstractAnimation currentAnimation(){
return currentAnimation_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QAbstractAnimation currentAnimation_native_constfct(long __this__nativeId);
/**
* See QSequentialAnimationGroup:: insertPause(int, int)
*/
@QtUninvokable
public final io.qt.core.@Nullable QPauseAnimation insertPause(int index, int msecs){
return insertPause_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), index, msecs);
}
@QtUninvokable
private native io.qt.core.QPauseAnimation insertPause_native_int_int(long __this__nativeId, int index, int msecs);
/**
* See QAbstractAnimation:: duration()const
*/
@QtUninvokable
@Override
public int duration(){
return duration_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int duration_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
@Override
public boolean event(io.qt.core.@Nullable QEvent event){
java.util.Objects.requireNonNull(event, "Argument 'event': null not expected.");
return event_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@QtUninvokable
private native boolean event_native_QEvent_ptr(long __this__nativeId, long event);
/**
* See QAbstractAnimation:: updateCurrentTime(int)
*/
@QtUninvokable
@Override
protected void updateCurrentTime(int arg__1){
updateCurrentTime_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1);
}
@QtUninvokable
private native void updateCurrentTime_native_int(long __this__nativeId, int arg__1);
/**
* See QAbstractAnimation:: updateDirection(QAbstractAnimation::Direction)
*/
@QtUninvokable
@Override
protected void updateDirection(io.qt.core.QAbstractAnimation.@NonNull Direction direction){
updateDirection_native_QAbstractAnimation_Direction(QtJambi_LibraryUtilities.internal.nativeId(this), direction.value());
}
@QtUninvokable
private native void updateDirection_native_QAbstractAnimation_Direction(long __this__nativeId, int direction);
/**
* See QAbstractAnimation:: updateState(QAbstractAnimation::State, QAbstractAnimation::State)
*/
@QtUninvokable
@Override
protected void updateState(io.qt.core.QAbstractAnimation.@NonNull State newState, io.qt.core.QAbstractAnimation.@NonNull State oldState){
updateState_native_QAbstractAnimation_State_QAbstractAnimation_State(QtJambi_LibraryUtilities.internal.nativeId(this), newState.value(), oldState.value());
}
@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
.
* @hidden
*/
@NativeAccess
protected QSequentialAnimationGroup(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QSequentialAnimationGroup(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QSequentialAnimationGroup instance, QDeclarativeConstructor constructor);
/**
* Overloaded constructor for {@link #QSequentialAnimationGroup(io.qt.core.QObject)}
* with parent = null
.
*/
public QSequentialAnimationGroup() {
this((io.qt.core.QObject)null);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #currentAnimation()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.core.@Nullable QAbstractAnimation getCurrentAnimation() {
return currentAnimation();
}
}