io.qt.qt3d.animation.QChannelMapping Maven / Gradle / Ivy
Show all versions of qtjambi-qt3danimation Show documentation
package io.qt.qt3d.animation;
import io.qt.*;
/**
* Allows to map the channels within the clip onto properties of objects in the application
* Java wrapper for Qt class Qt3DAnimation::QChannelMapping
*/
public class QChannelMapping extends io.qt.qt3d.animation.QAbstractChannelMapping
{
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QChannelMapping.class);
/**
* See Qt3DAnimation::QChannelMapping:: channelNameChanged(QString)
*/
@QtPropertyNotify(name="channelName")
public final @NonNull Signal1 channelNameChanged = new Signal1<>();
/**
* See Qt3DAnimation::QChannelMapping:: propertyChanged(QString)
*/
@QtPropertyNotify(name="property")
public final @NonNull Signal1 propertyChanged = new Signal1<>();
/**
* See Qt3DAnimation::QChannelMapping:: targetChanged(Qt3DCore::QNode*)
*/
@SuppressWarnings({"exports"})
@QtPropertyNotify(name="target")
public final @NonNull Signal1 targetChanged = new Signal1<>();
/**
* See Qt3DAnimation::QChannelMapping:: QChannelMapping(Qt3DCore::QNode*)
*/
@SuppressWarnings({"exports"})
public QChannelMapping(io.qt.qt3d.core.@Nullable QNode parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QChannelMapping instance, io.qt.qt3d.core.QNode parent);
/**
* See Qt3DAnimation::QChannelMapping:: 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::QChannelMapping:: property()const
*/
@QtPropertyReader(name="property")
@QtUninvokable
public final java.lang.@NonNull String property(){
return property_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String property_native_constfct(long __this__nativeId);
/**
* See Qt3DAnimation::QChannelMapping:: 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);
/**
* See Qt3DAnimation::QChannelMapping:: setProperty(QString)
*/
@QtPropertyWriter(name="property")
public final void setProperty(java.lang.@NonNull String property){
setProperty_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), property);
}
private native void setProperty_native_cref_QString(long __this__nativeId, java.lang.String property);
/**
* See Qt3DAnimation::QChannelMapping:: setTarget(Qt3DCore::QNode*)
*/
@QtPropertyWriter(name="target")
@SuppressWarnings({"exports"})
public final void setTarget(io.qt.qt3d.core.@Nullable QNode target){
setTarget_native_Qt3DCore_QNode_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(target));
}
private native void setTarget_native_Qt3DCore_QNode_ptr(long __this__nativeId, long target);
/**
* See Qt3DAnimation::QChannelMapping:: target()const
*/
@QtPropertyReader(name="target")
@SuppressWarnings({"exports"})
@QtUninvokable
public final io.qt.qt3d.core.@Nullable QNode target(){
return target_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.qt3d.core.QNode target_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QChannelMapping(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QChannelMapping(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QChannelMapping instance, QDeclarativeConstructor constructor);
/**
* Overloaded constructor for {@link #QChannelMapping(io.qt.qt3d.core.QNode)}
* with parent = null
.
*/
public QChannelMapping() {
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();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #property()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final java.lang.@NonNull String getProperty() {
return property();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #target()} instead.
*/
@QtPropertyReader(enabled=false)
@SuppressWarnings({"exports"})
@QtUninvokable
public final io.qt.qt3d.core.@Nullable QNode getTarget() {
return target();
}
}