io.qt.qt3d.animation.QAbstractClipAnimator Maven / Gradle / Ivy
Show all versions of qtjambi-qt3danimation Show documentation
package io.qt.qt3d.animation;
import io.qt.*;
/**
* The base class for types providing animation playback capabilities
* Java wrapper for Qt class Qt3DAnimation::QAbstractClipAnimator
*/
public class QAbstractClipAnimator extends io.qt.qt3d.core.QComponent
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QAbstractClipAnimator.class);
/**
* Java wrapper for Qt enum Qt3DAnimation::QAbstractClipAnimator::Loops
*/
public static class Loops{
static {
QtJambi_LibraryUtilities.initialize();
}
public static final int Infinite = -1;
} // end of enum Loops
/**
* See Qt3DAnimation::QAbstractClipAnimator:: channelMapperChanged(Qt3DAnimation::QChannelMapper*)
*/
@QtPropertyNotify(name="channelMapper")
public final @NonNull Signal1 channelMapperChanged = new Signal1<>();
/**
* See Qt3DAnimation::QAbstractClipAnimator:: clockChanged(Qt3DAnimation::QClock*)
*/
@QtPropertyNotify(name="clock")
public final @NonNull Signal1 clockChanged = new Signal1<>();
/**
* See Qt3DAnimation::QAbstractClipAnimator:: loopCountChanged(int)
*/
@QtPropertyNotify(name="loops")
public final @NonNull Signal1 loopCountChanged = new Signal1<>();
/**
* See Qt3DAnimation::QAbstractClipAnimator:: normalizedTimeChanged(float)
*/
@QtPropertyNotify(name="normalizedTime")
public final @NonNull Signal1 normalizedTimeChanged = new Signal1<>();
/**
* See Qt3DAnimation::QAbstractClipAnimator:: runningChanged(bool)
*/
@QtPropertyNotify(name="running")
public final @NonNull Signal1 runningChanged = new Signal1<>();
/**
* See Qt3DAnimation::QAbstractClipAnimator:: QAbstractClipAnimator(Qt3DCore::QNode*)
*/
protected QAbstractClipAnimator(io.qt.qt3d.core.@Nullable QNode parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QAbstractClipAnimator instance, io.qt.qt3d.core.QNode parent);
/**
* See Qt3DAnimation::QAbstractClipAnimator:: channelMapper()const
*/
@QtPropertyReader(name="channelMapper")
@QtUninvokable
public final io.qt.qt3d.animation.@Nullable QChannelMapper channelMapper(){
return channelMapper_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.qt3d.animation.QChannelMapper channelMapper_native_constfct(long __this__nativeId);
/**
* See Qt3DAnimation::QAbstractClipAnimator:: clock()const
*/
@QtPropertyReader(name="clock")
@QtUninvokable
public final io.qt.qt3d.animation.@Nullable QClock clock(){
return clock_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.qt3d.animation.QClock clock_native_constfct(long __this__nativeId);
/**
* See Qt3DAnimation::QAbstractClipAnimator:: isRunning()const
*/
@QtPropertyReader(name="running")
@QtUninvokable
public final boolean isRunning(){
return isRunning_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isRunning_native_constfct(long __this__nativeId);
/**
* See Qt3DAnimation::QAbstractClipAnimator:: loopCount()const
*/
@QtPropertyReader(name="loops")
@QtUninvokable
public final int loopCount(){
return loopCount_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int loopCount_native_constfct(long __this__nativeId);
/**
* See Qt3DAnimation::QAbstractClipAnimator:: normalizedTime()const
*/
@QtPropertyReader(name="normalizedTime")
@QtUninvokable
public final float normalizedTime(){
return normalizedTime_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native float normalizedTime_native_constfct(long __this__nativeId);
/**
* See Qt3DAnimation::QAbstractClipAnimator:: setChannelMapper(Qt3DAnimation::QChannelMapper*)
*/
@QtPropertyWriter(name="channelMapper")
public final void setChannelMapper(io.qt.qt3d.animation.@Nullable QChannelMapper channelMapper){
setChannelMapper_native_Qt3DAnimation_QChannelMapper_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(channelMapper));
}
private native void setChannelMapper_native_Qt3DAnimation_QChannelMapper_ptr(long __this__nativeId, long channelMapper);
/**
* See Qt3DAnimation::QAbstractClipAnimator:: setClock(Qt3DAnimation::QClock*)
*/
@QtPropertyWriter(name="clock")
public final void setClock(io.qt.qt3d.animation.@Nullable QClock clock){
setClock_native_Qt3DAnimation_QClock_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(clock));
}
private native void setClock_native_Qt3DAnimation_QClock_ptr(long __this__nativeId, long clock);
/**
* See Qt3DAnimation::QAbstractClipAnimator:: setLoopCount(int)
*/
@QtPropertyWriter(name="loops")
public final void setLoopCount(int loops){
setLoopCount_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), loops);
}
private native void setLoopCount_native_int(long __this__nativeId, int loops);
/**
* See Qt3DAnimation::QAbstractClipAnimator:: setNormalizedTime(float)
*/
@QtPropertyWriter(name="normalizedTime")
public final void setNormalizedTime(float timeFraction){
setNormalizedTime_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), timeFraction);
}
private native void setNormalizedTime_native_float(long __this__nativeId, float timeFraction);
/**
* See Qt3DAnimation::QAbstractClipAnimator:: setRunning(bool)
*/
@QtPropertyWriter(name="running")
public final void setRunning(boolean running){
setRunning_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), running);
}
private native void setRunning_native_bool(long __this__nativeId, boolean running);
/**
* See Qt3DAnimation::QAbstractClipAnimator:: start()
*/
public final void start(){
start_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void start_native(long __this__nativeId);
/**
* See Qt3DAnimation::QAbstractClipAnimator:: stop()
*/
public final void stop(){
stop_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void stop_native(long __this__nativeId);
/**
* See Qt3DCore::QNode:: sceneChangeEvent(Qt3DCore::QSceneChangePtr)
*/
@QtUninvokable
@Override
protected void sceneChangeEvent(io.qt.qt3d.core.@Nullable QSceneChange change){
sceneChangeEvent_native_cref_QSharedPointer(QtJambi_LibraryUtilities.internal.nativeId(this), change);
}
@QtUninvokable
private native void sceneChangeEvent_native_cref_QSharedPointer(long __this__nativeId, io.qt.qt3d.core.QSceneChange change);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QAbstractClipAnimator(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QAbstractClipAnimator(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QAbstractClipAnimator instance, QDeclarativeConstructor constructor);
/**
* Overloaded constructor for {@link #QAbstractClipAnimator(io.qt.qt3d.core.QNode)}
* with parent = null
.
*/
protected QAbstractClipAnimator() {
this((io.qt.qt3d.core.QNode)null);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #channelMapper()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.qt3d.animation.@Nullable QChannelMapper getChannelMapper() {
return channelMapper();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #clock()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.qt3d.animation.@Nullable QClock getClock() {
return clock();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #isRunning()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getRunning() {
return isRunning();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #loopCount()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getLoops() {
return loopCount();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #normalizedTime()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final float getNormalizedTime() {
return normalizedTime();
}
}