All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.qt3d.animation.QCallbackMapping Maven / Gradle / Ivy

Go to download

The Qt 3D Animation modules provides a set of prebuilt elements to help you get started with Qt 3D.

There is a newer version: 6.7.2
Show newest version
package io.qt.qt3d.animation;

import io.qt.*;


/**
 * 

Allows to map the channels within the clip onto an invocation of a callback object

*

Java wrapper for Qt class Qt3DAnimation::QCallbackMapping

*/ public class QCallbackMapping extends io.qt.qt3d.animation.QAbstractChannelMapping { @QtPropertyMember(enabled=false) private Object __rcCallback = null; /** * This variable stores the meta-object for the class. */ public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QCallbackMapping.class); /** *

See Qt3DAnimation::QCallbackMapping::channelNameChanged(QString)

*/ @QtPropertyNotify(name="channelName") public final @NonNull Signal1 channelNameChanged = new Signal1<>(); /** *

See Qt3DAnimation::QCallbackMapping::QCallbackMapping(Qt3DCore::QNode*)

*/ @SuppressWarnings({"exports"}) public QCallbackMapping(io.qt.qt3d.core.@Nullable QNode parent){ super((QPrivateConstructor)null); initialize_native(this, parent); } private native static void initialize_native(QCallbackMapping instance, io.qt.qt3d.core.QNode parent); /** *

See Qt3DAnimation::QCallbackMapping::callback()const

*/ @QtUninvokable public final io.qt.qt3d.animation.@Nullable QAnimationCallback callback(){ return callback_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.qt3d.animation.QAnimationCallback callback_native_constfct(long __this__nativeId); /** *

See Qt3DAnimation::QCallbackMapping::channelName()const

*/ @QtPropertyReader(name="channelName") @QtUninvokable public final java.lang.@NonNull String channelName(){ return channelName_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.String channelName_native_constfct(long __this__nativeId); /** *

See Qt3DAnimation::QCallbackMapping::setCallback(int,Qt3DAnimation::QAnimationCallback*,Qt3DAnimation::QAnimationCallback::Flags)

*/ @QtUninvokable public final void setCallback(int type, io.qt.qt3d.animation.@Nullable QAnimationCallback callback, io.qt.qt3d.animation.QAnimationCallback.@NonNull Flags flags){ setCallback_native_int_Qt3DAnimation_QAnimationCallback_ptr_Qt3DAnimation_QAnimationCallback_Flags(QtJambi_LibraryUtilities.internal.nativeId(this), type, QtJambi_LibraryUtilities.internal.checkedNativeId(callback), flags.value()); __rcCallback = callback; } @QtUninvokable private native void setCallback_native_int_Qt3DAnimation_QAnimationCallback_ptr_Qt3DAnimation_QAnimationCallback_Flags(long __this__nativeId, int type, long callback, int flags); /** *

See Qt3DAnimation::QCallbackMapping::setChannelName(QString)

*/ @QtPropertyWriter(name="channelName") public final void setChannelName(java.lang.@NonNull String channelName){ setChannelName_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), channelName); } private native void setChannelName_native_cref_QString(long __this__nativeId, java.lang.String channelName); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QCallbackMapping(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. * @hidden */ @NativeAccess protected QCallbackMapping(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @QtUninvokable private static native void initialize_native(QCallbackMapping instance, QDeclarativeConstructor constructor); /** *

Overloaded constructor for {@link #QCallbackMapping(io.qt.qt3d.core.QNode)} * with parent = null.

*/ public QCallbackMapping() { this((io.qt.qt3d.core.QNode)null); } /** * @hidden *

Kotlin property getter. In Java use {@link #channelName()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final java.lang.@NonNull String getChannelName() { return channelName(); } /** *

Overloaded function for {@link #setCallback(int, io.qt.qt3d.animation.QAnimationCallback, io.qt.qt3d.animation.QAnimationCallback.Flags)} * with flags = new io.qt.qt3d.animation.QAnimationCallback.Flags(0).

*/ @QtUninvokable public final void setCallback(int type, io.qt.qt3d.animation.@Nullable QAnimationCallback callback) { setCallback(type, callback, new io.qt.qt3d.animation.QAnimationCallback.Flags(0)); } /** *

Overloaded function for {@link #setCallback(int, io.qt.qt3d.animation.QAnimationCallback, io.qt.qt3d.animation.QAnimationCallback.Flags)}.

*/ @QtUninvokable public final void setCallback(int type, io.qt.qt3d.animation.@Nullable QAnimationCallback callback, io.qt.qt3d.animation.QAnimationCallback.@NonNull Flag @NonNull... flags) { setCallback(type, callback, new io.qt.qt3d.animation.QAnimationCallback.Flags(flags)); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy