io.qt.core.QAnimationGroup Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qtjambi Show documentation
Show all versions of qtjambi Show documentation
QtJambi base module containing QtCore, QtGui and QtWidgets.
package io.qt.core;
import io.qt.*;
/**
* Abstract base class for groups of animations
* Java wrapper for Qt class QAnimationGroup
*/
public abstract class QAnimationGroup extends io.qt.core.QAbstractAnimation
{
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QAnimationGroup.class);
@NativeAccess
private static final class ConcreteWrapper extends QAnimationGroup {
@NativeAccess
private ConcreteWrapper(QPrivateConstructor p) { super(p); }
@Override
@QtUninvokable
public int duration(){
return duration_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int duration_native_constfct(long __this__nativeId);
@Override
@QtUninvokable
protected void updateCurrentTime(int currentTime){
updateCurrentTime_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), currentTime);
}
@QtUninvokable
private native void updateCurrentTime_native_int(long __this__nativeId, int currentTime);
}
/**
* See QAnimationGroup:: QAnimationGroup(QObject*)
*/
public QAnimationGroup(io.qt.core.@Nullable QObject parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QAnimationGroup instance, io.qt.core.QObject parent);
/**
* See QAnimationGroup:: addAnimation(QAbstractAnimation*)
*/
@QtUninvokable
public final void addAnimation(io.qt.core.@Nullable QAbstractAnimation animation){
addAnimation_native_QAbstractAnimation_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(animation));
}
@QtUninvokable
private native void addAnimation_native_QAbstractAnimation_ptr(long __this__nativeId, long animation);
/**
* See QAnimationGroup:: animationAt(int)const
*/
@QtUninvokable
public final io.qt.core.@Nullable QAbstractAnimation animationAt(int index){
return animationAt_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
@QtUninvokable
private native io.qt.core.QAbstractAnimation animationAt_native_int_constfct(long __this__nativeId, int index);
/**
* See QAnimationGroup:: animationCount()const
*/
@QtUninvokable
public final int animationCount(){
return animationCount_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int animationCount_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final void clear(){
clear_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void clear_native(long __this__nativeId);
/**
* See QAnimationGroup:: indexOfAnimation(QAbstractAnimation*)const
*/
@QtUninvokable
public final int indexOfAnimation(io.qt.core.@Nullable QAbstractAnimation animation){
return indexOfAnimation_native_QAbstractAnimation_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(animation));
}
@QtUninvokable
private native int indexOfAnimation_native_QAbstractAnimation_ptr_constfct(long __this__nativeId, long animation);
/**
* See QAnimationGroup:: insertAnimation(int, QAbstractAnimation*)
*/
@QtUninvokable
public final void insertAnimation(int index, io.qt.core.@Nullable QAbstractAnimation animation){
insertAnimation_native_int_QAbstractAnimation_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), index, QtJambi_LibraryUtilities.internal.checkedNativeId(animation));
}
@QtUninvokable
private native void insertAnimation_native_int_QAbstractAnimation_ptr(long __this__nativeId, int index, long animation);
/**
* See QAnimationGroup:: removeAnimation(QAbstractAnimation*)
*/
@QtUninvokable
public final void removeAnimation(io.qt.core.@Nullable QAbstractAnimation animation){
removeAnimation_native_QAbstractAnimation_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(animation));
}
@QtUninvokable
private native void removeAnimation_native_QAbstractAnimation_ptr(long __this__nativeId, long animation);
/**
* See QAnimationGroup:: takeAnimation(int)
*/
@QtUninvokable
public final io.qt.core.@Nullable QAbstractAnimation takeAnimation(int index){
return takeAnimation_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
@QtUninvokable
private native io.qt.core.QAbstractAnimation takeAnimation_native_int(long __this__nativeId, int index);
/**
*
*/
@QtUninvokable
@Override
public boolean event(io.qt.core.@Nullable QEvent event){
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);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QAnimationGroup(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QAnimationGroup(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QAnimationGroup instance, QDeclarativeConstructor constructor);
/**
* Overloaded constructor for {@link #QAnimationGroup(io.qt.core.QObject)}
* with parent = null
.
*/
public QAnimationGroup() {
this((io.qt.core.QObject)null);
}
}