io.qt.core.QPropertyAnimation Maven / Gradle / Ivy
Show all versions of qtjambi Show documentation
package io.qt.core;
/**
* 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.QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QPropertyAnimation.class);
/**
* Overloaded constructor for {@link #QPropertyAnimation(io.qt.core.QObject)}
* with parent = null
.
*/
public QPropertyAnimation() {
this((io.qt.core.QObject)null);
}
/**
* See QPropertyAnimation::QPropertyAnimation(QObject*)
*/
public QPropertyAnimation(io.qt.core.QObject parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QPropertyAnimation instance, io.qt.core.QObject parent);
/**
* 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.QObject target, io.qt.core.QByteArray propertyName) {
this(target, propertyName, (io.qt.core.QObject)null);
}
/**
* See QPropertyAnimation::QPropertyAnimation(QObject*,QByteArray,QObject*)
*/
public QPropertyAnimation(io.qt.core.QObject target, io.qt.core.QByteArray propertyName, io.qt.core.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);
/**
* The target property name for this animation
* See QPropertyAnimation::bindablePropertyName()
*/
@io.qt.QtPropertyBindable(name="propertyName")
@io.qt.QtUninvokable
public final io.qt.core.QBindable bindablePropertyName(){
return bindablePropertyName_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QBindable bindablePropertyName_native(long __this__nativeId);
/**
* The target QObject for this animation
* See QPropertyAnimation::bindableTargetObject()
*/
@io.qt.QtPropertyBindable(name="targetObject")
@io.qt.QtUninvokable
public final io.qt.core.QBindable bindableTargetObject(){
return bindableTargetObject_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QBindable bindableTargetObject_native(long __this__nativeId);
/**
* See QPropertyAnimation::propertyName()const
*/
@io.qt.QtPropertyReader(name="propertyName")
@io.qt.QtUninvokable
public final io.qt.core.QByteArray propertyName(){
return propertyName_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QByteArray propertyName_native_constfct(long __this__nativeId);
/**
* See QPropertyAnimation::setPropertyName(QByteArray)
*/
@io.qt.QtPropertyWriter(name="propertyName")
@io.qt.QtUninvokable
public final void setPropertyName(io.qt.core.QByteArray propertyName){
setPropertyName_native_cref_QByteArray(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(propertyName));
}
@io.qt.QtUninvokable
private native void setPropertyName_native_cref_QByteArray(long __this__nativeId, long propertyName);
/**
* See QPropertyAnimation::setTargetObject(QObject*)
*/
@io.qt.QtPropertyWriter(name="targetObject")
@io.qt.QtUninvokable
public final void setTargetObject(io.qt.core.QObject target){
setTargetObject_native_QObject_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(target));
}
@io.qt.QtUninvokable
private native void setTargetObject_native_QObject_ptr(long __this__nativeId, long target);
/**
* See QPropertyAnimation::targetObject()const
*/
@io.qt.QtPropertyReader(name="targetObject")
@io.qt.QtUninvokable
public final io.qt.core.QObject targetObject(){
return targetObject_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QObject targetObject_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
public boolean event(io.qt.core.QEvent event){
return event_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@io.qt.QtUninvokable
private native boolean event_native_QEvent_ptr(long __this__nativeId, long event);
/**
* See QVariantAnimation::updateCurrentValue(QVariant)
*/
@io.qt.QtUninvokable
protected void updateCurrentValue(java.lang.Object value){
updateCurrentValue_native_cref_QVariant(QtJambi_LibraryUtilities.internal.nativeId(this), value);
}
@io.qt.QtUninvokable
private native void updateCurrentValue_native_cref_QVariant(long __this__nativeId, java.lang.Object value);
/**
* See QAbstractAnimation::updateState(QAbstractAnimation::State,QAbstractAnimation::State)
*/
@io.qt.QtUninvokable
protected void updateState(io.qt.core.QAbstractAnimation.State newState, io.qt.core.QAbstractAnimation.State oldState){
updateState_native_QAbstractAnimation_State_QAbstractAnimation_State(QtJambi_LibraryUtilities.internal.nativeId(this), newState.value(), oldState.value());
}
@io.qt.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
.
*/
@io.qt.NativeAccess
protected QPropertyAnimation(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
*/
@io.qt.NativeAccess
protected QPropertyAnimation(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@io.qt.QtUninvokable
private static native void initialize_native(QPropertyAnimation instance, QDeclarativeConstructor constructor);
/**
* 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.QObject target, String propertyName){
this(target, new io.qt.core.QByteArray(propertyName), null);
}
/**
* Overloaded constructor for {@link #QPropertyAnimation(io.qt.core.QObject,io.qt.core.QByteArray,io.qt.core.QObject)}.
*/
public QPropertyAnimation(io.qt.core.QObject target, String propertyName, io.qt.core.QObject parent){
this(target, new io.qt.core.QByteArray(propertyName), parent);
}
/**
* Overloaded function for {@link #setPropertyName(io.qt.core.QByteArray)}.
*/
public final void setPropertyName(String propertyName) {
setPropertyName(new io.qt.core.QByteArray(propertyName));
}
}