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

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

package io.qt.core;


/**
 * 

The base class of states of a QStateMachine

*

Java wrapper for Qt class QAbstractState

*/ public abstract class QAbstractState extends io.qt.core.QObject { /** * This variable stores the meta-object for the class. */ public static final io.qt.core.QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QAbstractState.class); @io.qt.NativeAccess private static final class ConcreteWrapper extends QAbstractState { @io.qt.NativeAccess private ConcreteWrapper(QPrivateConstructor p) { super(p); } @Override @io.qt.QtUninvokable protected void onEntry(io.qt.core.QEvent event){ onEntry_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @io.qt.QtUninvokable private native void onEntry_native_QEvent_ptr(long __this__nativeId, long event); @Override @io.qt.QtUninvokable protected void onExit(io.qt.core.QEvent event){ onExit_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @io.qt.QtUninvokable private native void onExit_native_QEvent_ptr(long __this__nativeId, long event); } /** *

See QAbstractState::activeChanged(bool)

*/ @io.qt.QtPropertyNotify(name="active") public final Signal1<@io.qt.QtPrimitiveType Boolean> activeChanged = new Signal1<>(); /** *

See QAbstractState::entered()

*/ public final PrivateSignal0 entered = new PrivateSignal0(); /** *

See QAbstractState::exited()

*/ public final PrivateSignal0 exited = new PrivateSignal0(); /** *

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

*/ protected QAbstractState() { this((io.qt.core.QState)null); } /** *

See QAbstractState::QAbstractState(QState*)

*/ protected QAbstractState(io.qt.core.QState parent){ super((QPrivateConstructor)null); initialize_native(this, parent); } private native static void initialize_native(QAbstractState instance, io.qt.core.QState parent); /** *

See QAbstractState::active()const

*/ @io.qt.QtPropertyReader(name="active") @io.qt.QtUninvokable public final boolean active(){ return active_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native boolean active_native_constfct(long __this__nativeId); /** *

See QAbstractState::machine()const

*/ @io.qt.QtUninvokable public final io.qt.core.QStateMachine machine(){ return machine_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.core.QStateMachine machine_native_constfct(long __this__nativeId); /** *

See QAbstractState::parentState()const

*/ @io.qt.QtUninvokable public final io.qt.core.QState parentState(){ return parentState_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.core.QState parentState_native_constfct(long __this__nativeId); /** *

See QObject::event(QEvent*)

*/ @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 QAbstractState::onEntry(QEvent*)

*/ @io.qt.QtUninvokable protected abstract void onEntry(io.qt.core.QEvent event); @io.qt.QtUninvokable private native void onEntry_native_QEvent_ptr(long __this__nativeId, long event); /** *

See QAbstractState::onExit(QEvent*)

*/ @io.qt.QtUninvokable protected abstract void onExit(io.qt.core.QEvent event); @io.qt.QtUninvokable private native void onExit_native_QEvent_ptr(long __this__nativeId, long event); /** * Constructor for internal use only. * @param p expected to be null. */ @io.qt.NativeAccess protected QAbstractState(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 QAbstractState(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @io.qt.QtUninvokable private static native void initialize_native(QAbstractState instance, QDeclarativeConstructor constructor); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy