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

io.qt.core.QPropertyAnimation Maven / Gradle / Ivy

There is a newer version: 6.8.0
Show newest version
package io.qt.core;

import io.qt.*;


/**
 * 

Animates Qt properties

*

Java wrapper for Qt class QPropertyAnimation

*/ public class QPropertyAnimation extends io.qt.core.QVariantAnimation { /** * This variable stores the meta-object for the class. */ public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QPropertyAnimation.class); /** *

See QPropertyAnimation::QPropertyAnimation(QObject*)

*/ public QPropertyAnimation(io.qt.core.@Nullable QObject parent){ super((QPrivateConstructor)null); initialize_native(this, parent); } private native static void initialize_native(QPropertyAnimation instance, io.qt.core.QObject parent); /** *

See QPropertyAnimation::QPropertyAnimation(QObject*,QByteArray,QObject*)

*/ public QPropertyAnimation(io.qt.core.@Nullable QObject target, io.qt.core.@NonNull QByteArray propertyName, io.qt.core.@Nullable QObject parent){ super((QPrivateConstructor)null); initialize_native(this, target, propertyName, parent); } private native static void initialize_native(QPropertyAnimation instance, io.qt.core.QObject target, io.qt.core.QByteArray propertyName, io.qt.core.QObject parent); /** *

See QPropertyAnimation::bindablePropertyName()

*/ @QtPropertyBindable(name="propertyName") @QtUninvokable public final io.qt.core.@NonNull QBindable bindablePropertyName(){ return bindablePropertyName_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QBindable bindablePropertyName_native(long __this__nativeId); /** *

See QPropertyAnimation::bindableTargetObject()

*/ @QtPropertyBindable(name="targetObject") @QtUninvokable public final io.qt.core.@NonNull QBindable bindableTargetObject(){ return bindableTargetObject_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QBindable bindableTargetObject_native(long __this__nativeId); /** *

See QPropertyAnimation::propertyName()const

*/ @QtPropertyReader(name="propertyName") @QtUninvokable public final io.qt.core.@NonNull QByteArray propertyName(){ return propertyName_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QByteArray propertyName_native_constfct(long __this__nativeId); /** *

See QPropertyAnimation::setPropertyName(QByteArray)

*/ @QtPropertyWriter(name="propertyName") @QtUninvokable public final void setPropertyName(io.qt.core.@NonNull QByteArray propertyName){ setPropertyName_native_cref_QByteArray(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(propertyName)); } @QtUninvokable private native void setPropertyName_native_cref_QByteArray(long __this__nativeId, long propertyName); /** *

See QPropertyAnimation::setTargetObject(QObject*)

*/ @QtPropertyWriter(name="targetObject") @QtUninvokable public final void setTargetObject(io.qt.core.@Nullable QObject target){ setTargetObject_native_QObject_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(target)); } @QtUninvokable private native void setTargetObject_native_QObject_ptr(long __this__nativeId, long target); /** *

See QPropertyAnimation::targetObject()const

*/ @QtPropertyReader(name="targetObject") @QtUninvokable public final io.qt.core.@Nullable QObject targetObject(){ return targetObject_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QObject targetObject_native_constfct(long __this__nativeId); /** *

See QObject::event(QEvent*)

*/ @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); /** *

See QVariantAnimation::updateCurrentValue(QVariant)

*/ @QtUninvokable @Override protected void updateCurrentValue(java.lang.Object value){ updateCurrentValue_native_cref_QVariant(QtJambi_LibraryUtilities.internal.nativeId(this), value); } @QtUninvokable private native void updateCurrentValue_native_cref_QVariant(long __this__nativeId, java.lang.Object value); /** *

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 QPropertyAnimation(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. * @hidden */ @NativeAccess protected QPropertyAnimation(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @QtUninvokable private static native void initialize_native(QPropertyAnimation instance, QDeclarativeConstructor constructor); /** *

Overloaded constructor for {@link #QPropertyAnimation(QObject,QByteArray,QObject)} * with parent = null.

*/ public QPropertyAnimation(@Nullable QObject target, @NonNull String propertyName){ this(target, new QByteArray(propertyName), null); } /** *

Overloaded constructor for {@link #QPropertyAnimation(QObject,QByteArray,QObject)}.

*/ public QPropertyAnimation(@Nullable QObject target, @NonNull String propertyName, @Nullable QObject parent){ this(target, new QByteArray(propertyName), parent); } /** *

Overloaded function for {@link #setPropertyName(QByteArray)}.

*/ public final void setPropertyName(@NonNull String propertyName) { setPropertyName(new QByteArray(propertyName)); } /** *

Overloaded constructor for {@link #QPropertyAnimation(io.qt.core.QObject)} * with parent = null.

*/ public QPropertyAnimation() { this((io.qt.core.QObject)null); } /** *

Overloaded constructor for {@link #QPropertyAnimation(io.qt.core.QObject, io.qt.core.QByteArray, io.qt.core.QObject)} * with parent = null.

*/ public QPropertyAnimation(io.qt.core.@Nullable QObject target, io.qt.core.@NonNull QByteArray propertyName) { this(target, propertyName, (io.qt.core.QObject)null); } /** *

Overloaded constructor for {@link #QPropertyAnimation(io.qt.core.QObject, byte[], io.qt.core.QObject)} * with parent = null.

*/ public QPropertyAnimation(io.qt.core.@Nullable QObject target, byte @NonNull[] propertyName) { this(target, propertyName, (io.qt.core.QObject)null); } /** *

Overloaded constructor for {@link #QPropertyAnimation(io.qt.core.QObject, io.qt.core.QByteArray, io.qt.core.QObject)}.

*/ public QPropertyAnimation(io.qt.core.@Nullable QObject target, byte @NonNull[] propertyName, io.qt.core.@Nullable QObject parent) { this(target, new io.qt.core.QByteArray(propertyName), parent); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.core.@NonNull QByteArray getPropertyName() { return propertyName(); } /** *

Overloaded function for {@link #setPropertyName(io.qt.core.QByteArray)}.

*/ @QtUninvokable public final void setPropertyName(byte @NonNull[] propertyName) { setPropertyName(new io.qt.core.QByteArray(propertyName)); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.core.@Nullable QObject getTargetObject() { return targetObject(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy