
io.qt.core.QEventTransition Maven / Gradle / Ivy
package io.qt.core;
/**
* QObject-specific transition for Qt events
* Java wrapper for Qt class QEventTransition
*/
public class QEventTransition extends io.qt.core.QAbstractTransition
{
@io.qt.QtPropertyMember(enabled=false)
private Object __rcEventSource = null;
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QEventTransition.class);
/**
* Overloaded constructor for {@link #QEventTransition(io.qt.core.QObject, io.qt.core.QEvent.Type, io.qt.core.QState)}
* with sourceState = null
.
*/
public QEventTransition(io.qt.core.QObject object, io.qt.core.QEvent.Type type) {
this(object, type, (io.qt.core.QState)null);
}
/**
* See QEventTransition::QEventTransition(QObject*,QEvent::Type,QState*)
*/
public QEventTransition(io.qt.core.QObject object, io.qt.core.QEvent.Type type, io.qt.core.QState sourceState){
super((QPrivateConstructor)null);
initialize_native(this, object, type, sourceState);
}
private native static void initialize_native(QEventTransition instance, io.qt.core.QObject object, io.qt.core.QEvent.Type type, io.qt.core.QState sourceState);
/**
* Overloaded constructor for {@link #QEventTransition(io.qt.core.QState)}
* with sourceState = null
.
*/
public QEventTransition() {
this((io.qt.core.QState)null);
}
/**
* See QEventTransition::QEventTransition(QState*)
*/
public QEventTransition(io.qt.core.QState sourceState){
super((QPrivateConstructor)null);
initialize_native(this, sourceState);
}
private native static void initialize_native(QEventTransition instance, io.qt.core.QState sourceState);
/**
* See QEventTransition::eventSource()const
*/
@io.qt.QtPropertyReader(name="eventSource")
@io.qt.QtUninvokable
public final io.qt.core.QObject eventSource(){
return eventSource_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QObject eventSource_native_constfct(long __this__nativeId);
/**
* See QEventTransition::eventType()const
*/
@io.qt.QtPropertyReader(name="eventType")
@io.qt.QtUninvokable
public final io.qt.core.QEvent.Type eventType(){
return io.qt.core.QEvent.Type.resolve(eventType_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int eventType_native_constfct(long __this__nativeId);
/**
* See QEventTransition::setEventSource(QObject*)
*/
@io.qt.QtPropertyWriter(name="eventSource")
@io.qt.QtUninvokable
public final void setEventSource(io.qt.core.QObject object){
setEventSource_native_QObject_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(object));
__rcEventSource = object;
}
@io.qt.QtUninvokable
private native void setEventSource_native_QObject_ptr(long __this__nativeId, long object);
/**
* See QEventTransition::setEventType(QEvent::Type)
*/
@io.qt.QtPropertyWriter(name="eventType")
@io.qt.QtUninvokable
public final void setEventType(io.qt.core.QEvent.Type type){
setEventType_native_QEvent_Type(QtJambi_LibraryUtilities.internal.nativeId(this), type.value());
}
@io.qt.QtUninvokable
private native void setEventType_native_QEvent_Type(long __this__nativeId, int type);
/**
*
*/
@io.qt.QtUninvokable
public boolean event(io.qt.core.QEvent e){
return event_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e));
}
@io.qt.QtUninvokable
private native boolean event_native_QEvent_ptr(long __this__nativeId, long e);
/**
* See QAbstractTransition::eventTest(QEvent*)
*/
@io.qt.QtUninvokable
protected boolean eventTest(io.qt.core.QEvent event){
return eventTest_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@io.qt.QtUninvokable
private native boolean eventTest_native_QEvent_ptr(long __this__nativeId, long event);
/**
* See QAbstractTransition::onTransition(QEvent*)
*/
@io.qt.QtUninvokable
protected void onTransition(io.qt.core.QEvent event){
onTransition_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@io.qt.QtUninvokable
private native void onTransition_native_QEvent_ptr(long __this__nativeId, long event);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QEventTransition(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 QEventTransition(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@io.qt.QtUninvokable
private static native void initialize_native(QEventTransition instance, QDeclarativeConstructor constructor);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy