io.qt.scxml.QScxmlStateMachine Maven / Gradle / Ivy
package io.qt.scxml;
import io.qt.*;
/**
* Interface to the state machines created from SCXML files
* Java wrapper for Qt class QScxmlStateMachine
*/
public class QScxmlStateMachine extends io.qt.core.QObject
{
static {
QtJambi_LibraryUtilities.initialize();
}
@QtPropertyMember(enabled=false)
private Object __rcDataModel;
@QtPropertyMember(enabled=false)
private Object __rcLoader;
@QtPropertyMember(enabled=false)
private Object __rcTableData;
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QScxmlStateMachine.class);
/**
* See QScxmlStateMachine:: dataModelChanged(QScxmlDataModel*)
*/
@QtPropertyNotify(name="dataModel")
public final @NonNull Signal1 dataModelChanged = new Signal1<>();
/**
* See QScxmlStateMachine:: finished()
*/
public final @NonNull Signal0 finished = new Signal0();
/**
* See QScxmlStateMachine:: initialValuesChanged(QVariantMap)
*/
@QtPropertyNotify(name="initialValues")
public final @NonNull Signal1> initialValuesChanged = new Signal1<>();
/**
* See QScxmlStateMachine:: initializedChanged(bool)
*/
@QtPropertyNotify(name="initialized")
public final @NonNull Signal1 initializedChanged = new Signal1<>();
/**
* See QScxmlStateMachine:: invokedServicesChanged(QList<QScxmlInvokableService*>)
*/
@QtPropertyNotify(name="invokedServices")
public final @NonNull Signal1> invokedServicesChanged = new Signal1<>();
/**
* See QScxmlStateMachine:: loaderChanged(QScxmlCompiler::Loader*)
*/
@QtPropertyNotify(name="loader")
public final @NonNull Signal1 loaderChanged = new Signal1<>();
/**
* See QScxmlStateMachine:: log(QString, QString)
*/
public final @NonNull Signal2 log = new Signal2<>();
/**
* See QScxmlStateMachine:: reachedStableState()
*/
public final @NonNull Signal0 reachedStableState = new Signal0();
/**
* See QScxmlStateMachine:: runningChanged(bool)
*/
@QtPropertyNotify(name="running")
public final @NonNull Signal1 runningChanged = new Signal1<>();
/**
* See QScxmlStateMachine:: tableDataChanged(QScxmlTableData*)
*/
@QtPropertyNotify(name="tableData")
public final @NonNull Signal1 tableDataChanged = new Signal1<>();
/**
* See QScxmlStateMachine:: QScxmlStateMachine(const QMetaObject*, QObject*)
* @param metaObject
* @param parent
*/
protected QScxmlStateMachine(io.qt.core.@Nullable QMetaObject metaObject, io.qt.core.@Nullable QObject parent){
super((QPrivateConstructor)null);
initialize_native(this, metaObject, parent);
}
private native static void initialize_native(QScxmlStateMachine instance, io.qt.core.QMetaObject metaObject, io.qt.core.QObject parent);
/**
* See QScxmlStateMachine:: activeStateNames(bool)const
* @param compress
* @return
*/
public final io.qt.core.@NonNull QStringList activeStateNames(boolean compress){
return activeStateNames_native_bool_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), compress);
}
private native io.qt.core.QStringList activeStateNames_native_bool_constfct(long __this__nativeId, boolean compress);
/**
* See QScxmlStateMachine:: bindableDataModel()
* @return
*/
@QtPropertyBindable(name="dataModel")
@QtUninvokable
public final io.qt.core.@NonNull QBindable bindableDataModel(){
return bindableDataModel_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QBindable bindableDataModel_native(long __this__nativeId);
/**
* See QScxmlStateMachine:: bindableInitialValues()
* @return
*/
@QtPropertyBindable(name="initialValues")
@QtUninvokable
public final io.qt.core.@NonNull QBindable> bindableInitialValues(){
return bindableInitialValues_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QBindable> bindableInitialValues_native(long __this__nativeId);
/**
* See QScxmlStateMachine:: bindableInitialized()const
* @return
*/
@QtPropertyBindable(name="initialized")
@QtUninvokable
public final io.qt.core.@NonNull QBooleanBindable bindableInitialized(){
return bindableInitialized_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QBooleanBindable bindableInitialized_native_constfct(long __this__nativeId);
/**
* See QScxmlStateMachine:: bindableInvokedServices()
* @return
*/
@QtPropertyBindable(name="invokedServices")
@QtUninvokable
public final io.qt.core.@NonNull QBindable> bindableInvokedServices(){
return bindableInvokedServices_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QBindable> bindableInvokedServices_native(long __this__nativeId);
/**
* See QScxmlStateMachine:: bindableLoader()
* @return
*/
@QtPropertyBindable(name="loader")
@QtUninvokable
public final io.qt.core.@NonNull QBindable bindableLoader(){
return bindableLoader_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QBindable bindableLoader_native(long __this__nativeId);
/**
* See QScxmlStateMachine:: bindableTableData()
* @return
*/
@QtPropertyBindable(name="tableData")
@QtUninvokable
public final io.qt.core.@NonNull QBindable bindableTableData(){
return bindableTableData_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QBindable bindableTableData_native(long __this__nativeId);
/**
* See QScxmlStateMachine:: cancelDelayedEvent(QString)
* @param sendId
*/
public final void cancelDelayedEvent(java.lang.@NonNull String sendId){
cancelDelayedEvent_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), sendId);
}
private native void cancelDelayedEvent_native_cref_QString(long __this__nativeId, java.lang.String sendId);
/**
* See QScxmlStateMachine:: connectToEvent(QString, const QObject*, const char*, Qt::ConnectionType)
* @param scxmlEventSpec
* @param receiver
* @param method
* @param type
* @return
*/
@SafeVarargs
@QtUninvokable
public final io.qt.core.QMetaObject.@NonNull Connection connectToEvent(java.lang.@NonNull String scxmlEventSpec, io.qt.core.@Nullable QObject receiver, java.lang.@Nullable String method, io.qt.core.Qt.@NonNull ConnectionType @NonNull... type){
if(method!=null && !method.startsWith("1") && !method.startsWith("2")) {
io.qt.core.QMetaMethod _method = receiver.metaObject().method(method);
if(_method!=null && _method.isValid()) {
if(_method.methodType()==io.qt.core.QMetaMethod.MethodType.Signal)
method = "2" + _method.cppMethodSignature();
else
method = "1" + _method.cppMethodSignature();
}
}
return connectToEvent_native_cref_QString_const_QObject_ptr_const_char_ptr_Qt_ConnectionType(QtJambi_LibraryUtilities.internal.nativeId(this), scxmlEventSpec, QtJambi_LibraryUtilities.internal.checkedNativeId(receiver), method, type);
}
@QtUninvokable
private native io.qt.core.QMetaObject.Connection connectToEvent_native_cref_QString_const_QObject_ptr_const_char_ptr_Qt_ConnectionType(long __this__nativeId, java.lang.String scxmlEventSpec, long receiver, java.lang.String method, io.qt.core.Qt.ConnectionType[] type);
/**
* See QScxmlStateMachine:: connectToEvent<Functor>(QString, const QtPrivate::ContextTypeForFunctor::ContextType<Functor>*, Functor&&, Qt::ConnectionType)
* @param scxmlEventSpec
* @param context
* @param functor
* @param type
* @return
*/
@SafeVarargs
@QtUninvokable
public final io.qt.core.QMetaObject.@NonNull Connection connectToEvent(java.lang.@NonNull String scxmlEventSpec, io.qt.core.@Nullable QObject context, io.qt.core.QMetaObject.@StrictNonNull Slot0 functor, io.qt.core.Qt.@NonNull ConnectionType @NonNull... type){
io.qt.core.QMetaMethod metaMethod = io.qt.core.QMetaMethod.fromMethod(java.util.Objects.requireNonNull(functor, "Argument 'functor': null not expected."));
if(metaMethod!=null && metaMethod.isValid()) {
io.qt.core.QObject object = QtJambi_LibraryUtilities.internal.lambdaContext(functor);
if(context!=null && context==object) {
switch(metaMethod.methodType()) {
case Signal:
return connectToEvent(scxmlEventSpec, context, "2"+metaMethod.cppMethodSignature(), type);
case Method:
case Slot:
return connectToEvent(scxmlEventSpec, context, "1"+metaMethod.cppMethodSignature(), type);
default:
break;
}
}
}
if(context==null)
context = this;
java.util.Objects.requireNonNull(functor, "Argument 'functor': null not expected.");
return connectToEvent_native_cref_QString_const_QtPrivate_ContextTypeForFunctor_ContextType_Functor__ptr_rval_QScxmlStateMachine_Slot0_Qt_ConnectionType(QtJambi_LibraryUtilities.internal.nativeId(this), scxmlEventSpec, QtJambi_LibraryUtilities.internal.checkedNativeId(context), functor, type);
}
@QtUninvokable
private native io.qt.core.QMetaObject.@NonNull Connection connectToEvent_native_cref_QString_const_QtPrivate_ContextTypeForFunctor_ContextType_Functor__ptr_rval_QScxmlStateMachine_Slot0_Qt_ConnectionType(long __this__nativeId, java.lang.String scxmlEventSpec, long context, io.qt.core.QMetaObject.Slot0 functor, io.qt.core.Qt.ConnectionType[] type);
/**
* See QScxmlStateMachine:: connectToEvent<Functor>(QString, const QtPrivate::ContextTypeForFunctor::ContextType<Functor>*, Functor&&, Qt::ConnectionType)
* @param scxmlEventSpec
* @param context
* @param functor
* @param type
* @return
*/
@SafeVarargs
@QtUninvokable
public final io.qt.core.QMetaObject.@NonNull Connection connectToEvent(java.lang.@NonNull String scxmlEventSpec, io.qt.core.@Nullable QObject context, io.qt.core.QMetaObject.@StrictNonNull Slot1<@NonNull QScxmlEvent> functor, io.qt.core.Qt.@NonNull ConnectionType @NonNull... type){
io.qt.core.QMetaMethod metaMethod = io.qt.core.QMetaMethod.fromMethod(java.util.Objects.requireNonNull(functor, "Argument 'functor': null not expected."));
if(metaMethod!=null && metaMethod.isValid()) {
if(metaMethod.parameterCount()!=1 && metaMethod.parameterType(0)!=io.qt.core.QMetaType.fromType(QScxmlEvent.class).id()) {
throw new IllegalArgumentException("Method does not take a single QScxmlEvent argument: "+metaMethod.cppMethodSignature());
}
io.qt.core.QObject object = QtJambi_LibraryUtilities.internal.lambdaContext(functor);
if(context!=null && context==object) {
switch(metaMethod.methodType()) {
case Signal:
return connectToEvent(scxmlEventSpec, context, "2"+metaMethod.cppMethodSignature(), type);
case Method:
case Slot:
return connectToEvent(scxmlEventSpec, context, "1"+metaMethod.cppMethodSignature(), type);
default:
break;
}
}
}
if(context==null)
context = this;
java.util.Objects.requireNonNull(functor, "Argument 'functor': null not expected.");
return connectToEvent_native_cref_QString_const_QtPrivate_ContextTypeForFunctor_ContextType_Functor__ptr_rval_QScxmlStateMachine_Slot1_Qt_ConnectionType(QtJambi_LibraryUtilities.internal.nativeId(this), scxmlEventSpec, QtJambi_LibraryUtilities.internal.checkedNativeId(context), functor, type);
}
@QtUninvokable
private native io.qt.core.QMetaObject.@NonNull Connection connectToEvent_native_cref_QString_const_QtPrivate_ContextTypeForFunctor_ContextType_Functor__ptr_rval_QScxmlStateMachine_Slot1_Qt_ConnectionType(long __this__nativeId, java.lang.String scxmlEventSpec, long context, io.qt.core.QMetaObject.Slot1 functor, io.qt.core.Qt.ConnectionType[] type);
/**
* See QScxmlStateMachine:: connectToState(QString, const QObject*, const char*, Qt::ConnectionType)
* @param scxmlStateName
* @param receiver
* @param method
* @param type
* @return
*/
@SafeVarargs
@QtUninvokable
public final io.qt.core.QMetaObject.@NonNull Connection connectToState(java.lang.@NonNull String scxmlStateName, io.qt.core.@Nullable QObject receiver, java.lang.@Nullable String method, io.qt.core.Qt.@NonNull ConnectionType @NonNull... type){
if(method!=null && !method.startsWith("1") && !method.startsWith("2")) {
io.qt.core.QMetaMethod _method = receiver.metaObject().method(method);
if(_method!=null && _method.isValid()) {
if(_method.methodType()==io.qt.core.QMetaMethod.MethodType.Signal)
method = "2" + _method.cppMethodSignature();
else
method = "1" + _method.cppMethodSignature();
}
}
return connectToState_native_cref_QString_const_QObject_ptr_const_char_ptr_Qt_ConnectionType(QtJambi_LibraryUtilities.internal.nativeId(this), scxmlStateName, QtJambi_LibraryUtilities.internal.checkedNativeId(receiver), method, type);
}
@QtUninvokable
private native io.qt.core.QMetaObject.Connection connectToState_native_cref_QString_const_QObject_ptr_const_char_ptr_Qt_ConnectionType(long __this__nativeId, java.lang.String scxmlStateName, long receiver, java.lang.String method, io.qt.core.Qt.ConnectionType[] type);
/**
* See QScxmlStateMachine:: connectToState<Functor>(QString, const QtPrivate::ContextTypeForFunctor::ContextType<Functor>*, Functor&&, Qt::ConnectionType)
* @param scxmlStateName
* @param context
* @param functor
* @param type
* @return
*/
@SafeVarargs
@QtUninvokable
public final io.qt.core.QMetaObject.@NonNull Connection connectToState(java.lang.@NonNull String scxmlStateName, io.qt.core.@Nullable QObject context, io.qt.core.QMetaObject.@StrictNonNull Slot0 functor, io.qt.core.Qt.@NonNull ConnectionType @NonNull... type){
io.qt.core.QMetaMethod metaMethod = io.qt.core.QMetaMethod.fromMethod(java.util.Objects.requireNonNull(functor, "Argument 'functor': null not expected."));
if(metaMethod!=null && metaMethod.isValid()) {
io.qt.core.QObject object = QtJambi_LibraryUtilities.internal.lambdaContext(functor);
if(context!=null && context==object) {
switch(metaMethod.methodType()) {
case Signal:
return connectToState(scxmlStateName, context, "2"+metaMethod.cppMethodSignature(), type);
case Method:
case Slot:
return connectToState(scxmlStateName, context, "1"+metaMethod.cppMethodSignature(), type);
default:
break;
}
}
}
if(context==null)
context = this;
java.util.Objects.requireNonNull(functor, "Argument 'functor': null not expected.");
return connectToState_native_cref_QString_const_QtPrivate_ContextTypeForFunctor_ContextType_Functor__ptr_rval_QScxmlStateMachine_Slot0_Qt_ConnectionType(QtJambi_LibraryUtilities.internal.nativeId(this), scxmlStateName, QtJambi_LibraryUtilities.internal.checkedNativeId(context), functor, type);
}
@QtUninvokable
private native io.qt.core.QMetaObject.@NonNull Connection connectToState_native_cref_QString_const_QtPrivate_ContextTypeForFunctor_ContextType_Functor__ptr_rval_QScxmlStateMachine_Slot0_Qt_ConnectionType(long __this__nativeId, java.lang.String scxmlStateName, long context, io.qt.core.QMetaObject.Slot0 functor, io.qt.core.Qt.ConnectionType[] type);
/**
* See QScxmlStateMachine:: connectToState<Functor>(QString, const QtPrivate::ContextTypeForFunctor::ContextType<Functor>*, Functor&&, Qt::ConnectionType)
* @param scxmlStateName
* @param context
* @param functor
* @param type
* @return
*/
@SafeVarargs
@QtUninvokable
public final io.qt.core.QMetaObject.@NonNull Connection connectToState(java.lang.@NonNull String scxmlStateName, io.qt.core.@Nullable QObject context, io.qt.core.QMetaObject.@StrictNonNull Slot1<@QtPrimitiveType@NonNull Boolean> functor, io.qt.core.Qt.@NonNull ConnectionType @NonNull... type){
io.qt.core.QMetaMethod metaMethod = io.qt.core.QMetaMethod.fromMethod(java.util.Objects.requireNonNull(functor, "Argument 'functor': null not expected."));
if(metaMethod!=null && metaMethod.isValid()) {
if(metaMethod.parameterCount()!=1 && metaMethod.parameterType(0)!=io.qt.core.QMetaType.fromType(boolean.class).id()) {
throw new IllegalArgumentException("Method does not take a single QScxmlEvent argument: "+metaMethod.cppMethodSignature());
}
io.qt.core.QObject object = QtJambi_LibraryUtilities.internal.lambdaContext(functor);
if(context!=null && context==object) {
switch(metaMethod.methodType()) {
case Signal:
return connectToState(scxmlStateName, context, "2"+metaMethod.cppMethodSignature(), type);
case Method:
case Slot:
return connectToState(scxmlStateName, context, "1"+metaMethod.cppMethodSignature(), type);
default:
break;
}
}
}
if(context==null)
context = this;
java.util.Objects.requireNonNull(functor, "Argument 'functor': null not expected.");
return connectToState_native_cref_QString_const_QtPrivate_ContextTypeForFunctor_ContextType_Functor__ptr_rval_QScxmlStateMachine_Slot1B_Qt_ConnectionType(QtJambi_LibraryUtilities.internal.nativeId(this), scxmlStateName, QtJambi_LibraryUtilities.internal.checkedNativeId(context), functor, type);
}
@QtUninvokable
private native io.qt.core.QMetaObject.@NonNull Connection connectToState_native_cref_QString_const_QtPrivate_ContextTypeForFunctor_ContextType_Functor__ptr_rval_QScxmlStateMachine_Slot1B_Qt_ConnectionType(long __this__nativeId, java.lang.String scxmlStateName, long context, io.qt.core.QMetaObject.Slot1 functor, io.qt.core.Qt.ConnectionType[] type);
/**
* See QScxmlStateMachine:: dataModel()const
* @return
*/
@QtPropertyReader(name="dataModel")
@QtUninvokable
public final io.qt.scxml.@Nullable QScxmlDataModel dataModel(){
return dataModel_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.scxml.QScxmlDataModel dataModel_native_constfct(long __this__nativeId);
/**
* See QScxmlStateMachine:: init()
* @return
*/
public final boolean init(){
return init_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native boolean init_native(long __this__nativeId);
/**
* See QScxmlStateMachine:: initialValues()
* @return
*/
@QtPropertyReader(name="initialValues")
@QtUninvokable
public final io.qt.core.@NonNull QMap initialValues(){
return initialValues_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QMap initialValues_native(long __this__nativeId);
/**
* See QScxmlStateMachine:: invokedServices()const
* @return
*/
@QtPropertyReader(name="invokedServices")
@QtUninvokable
public final io.qt.core.@NonNull QList invokedServices(){
return invokedServices_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QList invokedServices_native_constfct(long __this__nativeId);
/**
* See QScxmlStateMachine:: isActive(QString)const
* @param scxmlStateName
* @return
*/
public final boolean isActive(java.lang.@NonNull String scxmlStateName){
return isActive_native_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), scxmlStateName);
}
private native boolean isActive_native_cref_QString_constfct(long __this__nativeId, java.lang.String scxmlStateName);
/**
* See QScxmlStateMachine:: isActive(int)const
* @param stateIndex
* @return
*/
@QtUninvokable
protected final boolean isActive(int stateIndex){
return isActive_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), stateIndex);
}
@QtUninvokable
private native boolean isActive_native_int_constfct(long __this__nativeId, int stateIndex);
/**
* See QScxmlStateMachine:: isDispatchableTarget(QString)const
* @param target
* @return
*/
public final boolean isDispatchableTarget(java.lang.@NonNull String target){
return isDispatchableTarget_native_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), target);
}
private native boolean isDispatchableTarget_native_cref_QString_constfct(long __this__nativeId, java.lang.String target);
/**
* See QScxmlStateMachine:: isInitialized()const
* @return
*/
@QtPropertyReader(name="initialized")
@QtUninvokable
public final boolean isInitialized(){
return isInitialized_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isInitialized_native_constfct(long __this__nativeId);
/**
* See QScxmlStateMachine:: isInvoked()const
* @return
*/
@QtPropertyReader(name="invoked")
@QtPropertyConstant
@QtUninvokable
public final boolean isInvoked(){
return isInvoked_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isInvoked_native_constfct(long __this__nativeId);
/**
* See QScxmlStateMachine:: isRunning()const
* @return
*/
@QtPropertyReader(name="running")
@QtUninvokable
public final boolean isRunning(){
return isRunning_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isRunning_native_constfct(long __this__nativeId);
/**
* See QScxmlStateMachine:: loader()const
* @return
*/
@QtPropertyReader(name="loader")
@QtUninvokable
public final io.qt.scxml.QScxmlCompiler.@Nullable Loader loader(){
return loader_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.scxml.QScxmlCompiler.Loader loader_native_constfct(long __this__nativeId);
/**
* See QScxmlStateMachine:: name()const
* @return
*/
@QtPropertyReader(name="name")
@QtPropertyConstant
@QtUninvokable
public final java.lang.@NonNull String name(){
return name_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String name_native_constfct(long __this__nativeId);
/**
* See QScxmlStateMachine:: parseErrors()const
* @return
*/
@QtPropertyReader(name="parseErrors")
@QtPropertyConstant
@QtUninvokable
public final io.qt.core.@NonNull QList parseErrors(){
return parseErrors_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QList parseErrors_native_constfct(long __this__nativeId);
/**
* See QScxmlStateMachine:: sessionId()const
* @return
*/
@QtPropertyReader(name="sessionId")
@QtPropertyConstant
@QtUninvokable
public final java.lang.@NonNull String sessionId(){
return sessionId_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String sessionId_native_constfct(long __this__nativeId);
/**
* See QScxmlStateMachine:: setDataModel(QScxmlDataModel*)
* @param model
*/
@QtPropertyWriter(name="dataModel")
@QtUninvokable
public final void setDataModel(io.qt.scxml.@Nullable QScxmlDataModel model){
InternalAccess.NativeIdInfo __model__NativeIdInfo = QtJambi_LibraryUtilities.internal.checkedNativeIdInfo(model);
setDataModel_native_QScxmlDataModel_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), __model__NativeIdInfo.nativeId());
if (__model__NativeIdInfo.needsReferenceCounting()) {
__rcDataModel = model;
}else{
__rcDataModel = null;
}
}
@QtUninvokable
private native void setDataModel_native_QScxmlDataModel_ptr(long __this__nativeId, long model);
/**
* See QScxmlStateMachine:: setInitialValues(QVariantMap)
* @param initialValues
*/
@QtPropertyWriter(name="initialValues")
@QtUninvokable
public final void setInitialValues(java.util.@NonNull Map initialValues){
setInitialValues_native_cref_QMap(QtJambi_LibraryUtilities.internal.nativeId(this), initialValues);
}
@QtUninvokable
private native void setInitialValues_native_cref_QMap(long __this__nativeId, java.util.Map initialValues);
/**
* See QScxmlStateMachine:: setLoader(QScxmlCompiler::Loader*)
* @param loader
*/
@QtPropertyWriter(name="loader")
@QtUninvokable
public final void setLoader(io.qt.scxml.QScxmlCompiler.@Nullable Loader loader){
InternalAccess.NativeIdInfo __loader__NativeIdInfo = QtJambi_LibraryUtilities.internal.checkedNativeIdInfo(loader);
setLoader_native_QScxmlCompiler_Loader_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), __loader__NativeIdInfo.nativeId());
if (__loader__NativeIdInfo.needsReferenceCounting()) {
__rcLoader = loader;
}else{
__rcLoader = null;
}
}
@QtUninvokable
private native void setLoader_native_QScxmlCompiler_Loader_ptr(long __this__nativeId, long loader);
/**
* See QScxmlStateMachine:: setRunning(bool)
* @param running
*/
@QtPropertyWriter(name="running")
@QtUninvokable
public final void setRunning(boolean running){
setRunning_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), running);
}
@QtUninvokable
private native void setRunning_native_bool(long __this__nativeId, boolean running);
/**
* See QScxmlStateMachine:: setTableData(QScxmlTableData*)
* @param tableData
*/
@QtPropertyWriter(name="tableData")
@QtUninvokable
public final void setTableData(io.qt.scxml.@Nullable QScxmlTableData tableData){
InternalAccess.NativeIdInfo __tableData__NativeIdInfo = QtJambi_LibraryUtilities.internal.checkedNativeIdInfo(tableData);
setTableData_native_QScxmlTableData_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), __tableData__NativeIdInfo.nativeId());
if (__tableData__NativeIdInfo.needsReferenceCounting()) {
__rcTableData = tableData;
}else{
__rcTableData = null;
}
}
@QtUninvokable
private native void setTableData_native_QScxmlTableData_ptr(long __this__nativeId, long tableData);
/**
* See QScxmlStateMachine:: start()
*/
public final void start(){
start_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void start_native(long __this__nativeId);
/**
* See QScxmlStateMachine:: stateNames(bool)const
* @param compress
* @return
*/
public final io.qt.core.@NonNull QStringList stateNames(boolean compress){
return stateNames_native_bool_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), compress);
}
private native io.qt.core.QStringList stateNames_native_bool_constfct(long __this__nativeId, boolean compress);
/**
* See QScxmlStateMachine:: stop()
*/
public final void stop(){
stop_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void stop_native(long __this__nativeId);
/**
* See QScxmlStateMachine:: submitEvent(QScxmlEvent*)
* @param event
*/
public final void submitEvent(io.qt.scxml.@Nullable QScxmlEvent event){
submitEvent_native_QScxmlEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
private native void submitEvent_native_QScxmlEvent_ptr(long __this__nativeId, long event);
/**
* See QScxmlStateMachine:: submitEvent(QString)
* @param eventName
*/
public final void submitEvent(java.lang.@NonNull String eventName){
submitEvent_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), eventName);
}
private native void submitEvent_native_cref_QString(long __this__nativeId, java.lang.String eventName);
/**
* See QScxmlStateMachine:: submitEvent(QString, QVariant)
* @param eventName
* @param data
*/
public final void submitEvent(java.lang.@NonNull String eventName, java.lang.Object data){
submitEvent_native_cref_QString_cref_QVariant(QtJambi_LibraryUtilities.internal.nativeId(this), eventName, data);
}
private native void submitEvent_native_cref_QString_cref_QVariant(long __this__nativeId, java.lang.String eventName, java.lang.Object data);
/**
* See QScxmlStateMachine:: tableData()const
* @return
*/
@QtPropertyReader(name="tableData")
@QtUninvokable
public final io.qt.scxml.@Nullable QScxmlTableData tableData(){
return tableData_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.scxml.QScxmlTableData tableData_native_constfct(long __this__nativeId);
/**
* See QScxmlStateMachine:: fromData(QIODevice*, QString)
* @param data
* @param fileName
* @return
*/
public static io.qt.scxml.@Nullable QScxmlStateMachine fromData(io.qt.core.@Nullable QIODevice data, java.lang.@NonNull String fileName){
return fromData_native_QIODevice_ptr_cref_QString(QtJambi_LibraryUtilities.internal.checkedNativeId(data), fileName);
}
private native static io.qt.scxml.QScxmlStateMachine fromData_native_QIODevice_ptr_cref_QString(long data, java.lang.String fileName);
/**
* See QScxmlStateMachine:: fromFile(QString)
* @param fileName
* @return
*/
public native static io.qt.scxml.@Nullable QScxmlStateMachine fromFile(java.lang.@NonNull String fileName);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QScxmlStateMachine(QPrivateConstructor p) { super(p); }
/**
* See QScxmlStateMachine::onEntry(QObject, const char*)
*/
public static io.qt.core.QMetaObject.Slot1 onEntry(io.qt.core.QObject object, String slot){
io.qt.core.QMetaMethod method = object.metaObject().method(slot);
if(method==null || !method.isValid())
throw new QNoSuchSlotException(object, slot);
return (isEnteringState) -> {
if (isEnteringState && !object.isDisposed())
method.invoke(object);
};
}
/**
* See QScxmlStateMachine::onExit(QObject, const char*)
*/
public static io.qt.core.QMetaObject.Slot1 onExit(io.qt.core.QObject object, String slot){
io.qt.core.QMetaMethod method = object.metaObject().method(slot);
if(method==null || !method.isValid())
throw new QNoSuchSlotException(object, slot);
return (isEnteringState) -> {
if (!isEnteringState && !object.isDisposed())
method.invoke(object);
};
}
/**
* See QScxmlStateMachine::onEntry(Functor)
*/
public static io.qt.core.QMetaObject.Slot1 onEntry(io.qt.core.QMetaObject.Slot0 slot){
io.qt.core.QObject object = QtJambi_LibraryUtilities.internal.lambdaContext(slot);
return (isEnteringState) -> {
if (isEnteringState && (object==null || !object.isDisposed()))
slot.invoke();
};
}
/**
* See QScxmlStateMachine::onExit(Functor)
*/
public static io.qt.core.QMetaObject.Slot1 onExit(io.qt.core.QMetaObject.Slot0 slot){
io.qt.core.QObject object = QtJambi_LibraryUtilities.internal.lambdaContext(slot);
return (isEnteringState) -> {
if (!isEnteringState && (object==null || !object.isDisposed()))
slot.invoke();
};
}
/**
* See QScxmlStateMachine::onEntry(Functor)
*/
public static io.qt.core.QMetaObject.Slot1 onEntry(io.qt.core.QMetaObject.Emitable0 signal){
return (isEnteringState) -> {
if (isEnteringState && !(signal.containingObject() instanceof io.qt.core.QObject && ((io.qt.core.QObject)signal.containingObject()).isDisposed()))
signal.emit();
};
}
/**
* See QScxmlStateMachine::onExit(Functor)
*/
public static io.qt.core.QMetaObject.Slot1 onExit(io.qt.core.QMetaObject.Emitable0 signal){
return (isEnteringState) -> {
if (!isEnteringState && !(signal.containingObject() instanceof io.qt.core.QObject && ((io.qt.core.QObject)signal.containingObject()).isDisposed()))
signal.emit();
};
}
/**
* See QScxmlStateMachine::connectToState(QString, Functor, Qt::ConnectionType)
*/
public io.qt.core.QMetaObject.@NonNull Connection connectToState(@NonNull String scxmlStateName,
io.qt.core.QMetaObject.@StrictNonNull Connectable0 signal, io.qt.core.Qt.@NonNull ConnectionType @NonNull... type){
io.qt.core.QObject object = null;
if(signal.containingObject() instanceof io.qt.core.QObject){
object = (io.qt.core.QObject)signal.containingObject();
}
io.qt.core.QMetaMethod metaMethod = io.qt.core.QMetaMethod.fromSignal(java.util.Objects.requireNonNull(signal, "Argument 'signal': null not expected."));
if(metaMethod!=null && metaMethod.isValid() && metaMethod.parameterCount()==0) {
if(object!=null) {
switch(metaMethod.methodType()) {
case Signal:
return connectToState(scxmlStateName, object, "2"+metaMethod.cppMethodSignature(), type);
case Method:
case Slot:
return connectToState(scxmlStateName, object, "1"+metaMethod.cppMethodSignature(), type);
default:
break;
}
}
}
if(signal instanceof io.qt.core.QMetaObject.Emitable0)
return connectToState(scxmlStateName, object, (io.qt.core.QMetaObject.Slot0)((io.qt.core.QMetaObject.Emitable0)signal)::emit, type);
else return connectToState(scxmlStateName, object, (String)null, type);
}
/**
* See QScxmlStateMachine::connectToState(QString, Functor, Qt::ConnectionType)
*/
@SuppressWarnings("unchecked")
public io.qt.core.QMetaObject.@NonNull Connection connectToState(@NonNull String scxmlStateName,
io.qt.core.QMetaObject.@StrictNonNull Connectable1 signal, io.qt.core.Qt.@NonNull ConnectionType @NonNull... type){
io.qt.core.QObject object = null;
if(signal.containingObject() instanceof io.qt.core.QObject){
object = (io.qt.core.QObject)signal.containingObject();
}
io.qt.core.QMetaMethod metaMethod = io.qt.core.QMetaMethod.fromSignal(java.util.Objects.requireNonNull(signal, "Argument 'signal': null not expected."));
if(metaMethod!=null && metaMethod.isValid()) {
if(metaMethod.parameterCount()!=1 || metaMethod.parameterType(0)!=io.qt.core.QMetaType.Type.Bool.value()) {
throw new IllegalArgumentException("Method does not take a single boolean argument: "+metaMethod.cppMethodSignature());
}
if(object!=null) {
switch(metaMethod.methodType()) {
case Signal:
return connectToState(scxmlStateName, object, "2"+metaMethod.cppMethodSignature(), type);
case Method:
case Slot:
return connectToState(scxmlStateName, object, "1"+metaMethod.cppMethodSignature(), type);
default:
break;
}
}
}
if(signal instanceof io.qt.core.QMetaObject.Emitable1)
return connectToState(scxmlStateName, object, (io.qt.core.QMetaObject.Slot1)((io.qt.core.QMetaObject.Emitable1)signal)::emit, type);
else return connectToState(scxmlStateName, object, (String)null, type);
}
/**
* See QScxmlStateMachine::connectToEvent(QString, Functor, Qt::ConnectionType)
*/
public io.qt.core.QMetaObject.@NonNull Connection connectToEvent(@NonNull String scxmlStateName,
io.qt.core.QMetaObject.@StrictNonNull Connectable0 signal, io.qt.core.Qt.@NonNull ConnectionType @NonNull... type){
io.qt.core.QObject object = null;
if(signal.containingObject() instanceof io.qt.core.QObject){
object = (io.qt.core.QObject)signal.containingObject();
}
io.qt.core.QMetaMethod metaMethod = io.qt.core.QMetaMethod.fromSignal(java.util.Objects.requireNonNull(signal, "Argument 'signal': null not expected."));
if(metaMethod!=null && metaMethod.isValid() && metaMethod.parameterCount()==0) {
if(object!=null) {
switch(metaMethod.methodType()) {
case Signal:
return connectToEvent(scxmlStateName, object, "2"+metaMethod.cppMethodSignature(), type);
case Method:
case Slot:
return connectToEvent(scxmlStateName, object, "1"+metaMethod.cppMethodSignature(), type);
default:
break;
}
}
}
if(signal instanceof io.qt.core.QMetaObject.Emitable0)
return connectToEvent(scxmlStateName, object, (io.qt.core.QMetaObject.Slot0)((io.qt.core.QMetaObject.Emitable0)signal)::emit, type);
else
return connectToEvent(scxmlStateName, object, (String)null, type);
}
/**
* See QScxmlStateMachine::connectToEvent(QString, Functor, Qt::ConnectionType)
*/
@SuppressWarnings("unchecked")
public io.qt.core.QMetaObject.@NonNull Connection connectToEvent(@NonNull String scxmlStateName,
io.qt.core.QMetaObject.@StrictNonNull Connectable1 signal, io.qt.core.Qt.@NonNull ConnectionType @NonNull... type){
io.qt.core.QObject object = null;
if(signal.containingObject() instanceof io.qt.core.QObject){
object = (io.qt.core.QObject)signal.containingObject();
}
io.qt.core.QMetaMethod metaMethod = io.qt.core.QMetaMethod.fromSignal(java.util.Objects.requireNonNull(signal, "Argument 'signal': null not expected."));
if(metaMethod!=null && metaMethod.isValid()) {
if(metaMethod.parameterCount()!=1 || metaMethod.parameterType(0)!=io.qt.core.QMetaType.fromType(QScxmlEvent.class).id()) {
throw new IllegalArgumentException("Method does not take a single QScxmlEvent argument: "+metaMethod.cppMethodSignature());
}
if(object!=null) {
switch(metaMethod.methodType()) {
case Signal:
return connectToEvent(scxmlStateName, object, "2"+metaMethod.cppMethodSignature(), type);
case Method:
case Slot:
return connectToEvent(scxmlStateName, object, "1"+metaMethod.cppMethodSignature(), type);
default:
break;
}
}
}
if(signal instanceof io.qt.core.QMetaObject.Emitable1)
return connectToEvent(scxmlStateName, object, (io.qt.core.QMetaObject.Slot1)((io.qt.core.QMetaObject.Emitable1)signal)::emit, type);
else return connectToEvent(scxmlStateName, object, (String)null, type);
}
/**
* Overloaded constructor for {@link #QScxmlStateMachine(io.qt.core.QMetaObject, io.qt.core.QObject)}
* with parent = null
.
*/
protected QScxmlStateMachine(io.qt.core.@Nullable QMetaObject metaObject) {
this(metaObject, (io.qt.core.QObject)null);
}
/**
* Overloaded function for {@link #activeStateNames(boolean)}
* with compress = true
.
*/
public final io.qt.core.@NonNull QStringList activeStateNames() {
return activeStateNames((boolean)true);
}
/**
* Overloaded function for {@link #connectToEvent(java.lang.String, io.qt.core.QObject, java.lang.String, io.qt.core.Qt.ConnectionType[])}
* with type = io.qt.core.Qt.ConnectionType.AutoConnection
.
*/
@QtUninvokable
public final io.qt.core.QMetaObject.@NonNull Connection connectToEvent(java.lang.@NonNull String scxmlEventSpec, io.qt.core.@Nullable QObject receiver, java.lang.@Nullable String method) {
return connectToEvent(scxmlEventSpec, receiver, method, io.qt.core.Qt.ConnectionType.AutoConnection);
}
/**
* Overloaded function for {@link #connectToEvent(java.lang.String, io.qt.core.QObject, io.qt.core.QMetaObject.Slot0, io.qt.core.Qt.ConnectionType[])}
* with type = io.qt.core.Qt.ConnectionType.AutoConnection
.
*/
@QtUninvokable
public final io.qt.core.QMetaObject.@NonNull Connection connectToEvent(java.lang.@NonNull String scxmlEventSpec, io.qt.core.@Nullable QObject context, io.qt.core.QMetaObject.@StrictNonNull Slot0 functor) {
return connectToEvent(scxmlEventSpec, context, functor, io.qt.core.Qt.ConnectionType.AutoConnection);
}
/**
* Overloaded function for {@link #connectToEvent(java.lang.String, io.qt.core.QMetaObject.Slot0, io.qt.core.Qt.ConnectionType[])}
* with type = io.qt.core.Qt.ConnectionType.AutoConnection
.
*/
@QtUninvokable
public final io.qt.core.QMetaObject.@NonNull Connection connectToEvent(java.lang.@NonNull String scxmlEventSpec, io.qt.core.QMetaObject.@StrictNonNull Slot0 functor) {
return connectToEvent(scxmlEventSpec, QtJambi_LibraryUtilities.internal.lambdaContext(functor), functor, io.qt.core.Qt.ConnectionType.AutoConnection);
}
/**
* Overloaded function for {@link #connectToEvent(java.lang.String, io.qt.core.QObject, io.qt.core.QMetaObject.Slot0, io.qt.core.Qt.ConnectionType[])}.
*/
@SafeVarargs
@QtUninvokable
public final io.qt.core.QMetaObject.@NonNull Connection connectToEvent(java.lang.@NonNull String scxmlEventSpec, io.qt.core.QMetaObject.@StrictNonNull Slot0 functor, io.qt.core.Qt.@NonNull ConnectionType @NonNull... type) {
return connectToEvent(scxmlEventSpec, QtJambi_LibraryUtilities.internal.lambdaContext(functor), functor, type);
}
/**
* Overloaded function for {@link #connectToEvent(java.lang.String, io.qt.core.QObject, io.qt.core.QMetaObject.Slot1, io.qt.core.Qt.ConnectionType[])}
* with type = io.qt.core.Qt.ConnectionType.AutoConnection
.
*/
@QtUninvokable
public final io.qt.core.QMetaObject.@NonNull Connection connectToEvent(java.lang.@NonNull String scxmlEventSpec, io.qt.core.@Nullable QObject context, io.qt.core.QMetaObject.@StrictNonNull Slot1<@NonNull QScxmlEvent> functor) {
return connectToEvent(scxmlEventSpec, context, functor, io.qt.core.Qt.ConnectionType.AutoConnection);
}
/**
* Overloaded function for {@link #connectToEvent(java.lang.String, io.qt.core.QMetaObject.Slot1, io.qt.core.Qt.ConnectionType[])}
* with type = io.qt.core.Qt.ConnectionType.AutoConnection
.
*/
@QtUninvokable
public final io.qt.core.QMetaObject.@NonNull Connection connectToEvent(java.lang.@NonNull String scxmlEventSpec, io.qt.core.QMetaObject.@StrictNonNull Slot1<@NonNull QScxmlEvent> functor) {
return connectToEvent(scxmlEventSpec, QtJambi_LibraryUtilities.internal.lambdaContext(functor), functor, io.qt.core.Qt.ConnectionType.AutoConnection);
}
/**
* Overloaded function for {@link #connectToEvent(java.lang.String, io.qt.core.QObject, io.qt.core.QMetaObject.Slot1, io.qt.core.Qt.ConnectionType[])}.
*/
@SafeVarargs
@QtUninvokable
public final io.qt.core.QMetaObject.@NonNull Connection connectToEvent(java.lang.@NonNull String scxmlEventSpec, io.qt.core.QMetaObject.@StrictNonNull Slot1<@NonNull QScxmlEvent> functor, io.qt.core.Qt.@NonNull ConnectionType @NonNull... type) {
return connectToEvent(scxmlEventSpec, QtJambi_LibraryUtilities.internal.lambdaContext(functor), functor, type);
}
/**
* Overloaded function for {@link #connectToState(java.lang.String, io.qt.core.QObject, java.lang.String, io.qt.core.Qt.ConnectionType[])}
* with type = io.qt.core.Qt.ConnectionType.AutoConnection
.
*/
@QtUninvokable
public final io.qt.core.QMetaObject.@NonNull Connection connectToState(java.lang.@NonNull String scxmlStateName, io.qt.core.@Nullable QObject receiver, java.lang.@Nullable String method) {
return connectToState(scxmlStateName, receiver, method, io.qt.core.Qt.ConnectionType.AutoConnection);
}
/**
* Overloaded function for {@link #connectToState(java.lang.String, io.qt.core.QObject, io.qt.core.QMetaObject.Slot0, io.qt.core.Qt.ConnectionType[])}
* with type = io.qt.core.Qt.ConnectionType.AutoConnection
.
*/
@QtUninvokable
public final io.qt.core.QMetaObject.@NonNull Connection connectToState(java.lang.@NonNull String scxmlStateName, io.qt.core.@Nullable QObject context, io.qt.core.QMetaObject.@StrictNonNull Slot0 functor) {
return connectToState(scxmlStateName, context, functor, io.qt.core.Qt.ConnectionType.AutoConnection);
}
/**
* Overloaded function for {@link #connectToState(java.lang.String, io.qt.core.QMetaObject.Slot0, io.qt.core.Qt.ConnectionType[])}
* with type = io.qt.core.Qt.ConnectionType.AutoConnection
.
*/
@QtUninvokable
public final io.qt.core.QMetaObject.@NonNull Connection connectToState(java.lang.@NonNull String scxmlStateName, io.qt.core.QMetaObject.@StrictNonNull Slot0 functor) {
return connectToState(scxmlStateName, QtJambi_LibraryUtilities.internal.lambdaContext(functor), functor, io.qt.core.Qt.ConnectionType.AutoConnection);
}
/**
* Overloaded function for {@link #connectToState(java.lang.String, io.qt.core.QObject, io.qt.core.QMetaObject.Slot0, io.qt.core.Qt.ConnectionType[])}.
*/
@SafeVarargs
@QtUninvokable
public final io.qt.core.QMetaObject.@NonNull Connection connectToState(java.lang.@NonNull String scxmlStateName, io.qt.core.QMetaObject.@StrictNonNull Slot0 functor, io.qt.core.Qt.@NonNull ConnectionType @NonNull... type) {
return connectToState(scxmlStateName, QtJambi_LibraryUtilities.internal.lambdaContext(functor), functor, type);
}
/**
* Overloaded function for {@link #connectToState(java.lang.String, io.qt.core.QObject, io.qt.core.QMetaObject.Slot1, io.qt.core.Qt.ConnectionType[])}
* with type = io.qt.core.Qt.ConnectionType.AutoConnection
.
*/
@QtUninvokable
public final io.qt.core.QMetaObject.@NonNull Connection connectToState(java.lang.@NonNull String scxmlStateName, io.qt.core.@Nullable QObject context, io.qt.core.QMetaObject.@StrictNonNull Slot1<@QtPrimitiveType@NonNull Boolean> functor) {
return connectToState(scxmlStateName, context, functor, io.qt.core.Qt.ConnectionType.AutoConnection);
}
/**
* Overloaded function for {@link #connectToState(java.lang.String, io.qt.core.QMetaObject.Slot1, io.qt.core.Qt.ConnectionType[])}
* with type = io.qt.core.Qt.ConnectionType.AutoConnection
.
*/
@QtUninvokable
public final io.qt.core.QMetaObject.@NonNull Connection connectToState(java.lang.@NonNull String scxmlStateName, io.qt.core.QMetaObject.@StrictNonNull Slot1<@QtPrimitiveType@NonNull Boolean> functor) {
return connectToState(scxmlStateName, QtJambi_LibraryUtilities.internal.lambdaContext(functor), functor, io.qt.core.Qt.ConnectionType.AutoConnection);
}
/**
* Overloaded function for {@link #connectToState(java.lang.String, io.qt.core.QObject, io.qt.core.QMetaObject.Slot1, io.qt.core.Qt.ConnectionType[])}.
*/
@SafeVarargs
@QtUninvokable
public final io.qt.core.QMetaObject.@NonNull Connection connectToState(java.lang.@NonNull String scxmlStateName, io.qt.core.QMetaObject.@StrictNonNull Slot1<@QtPrimitiveType@NonNull Boolean> functor, io.qt.core.Qt.@NonNull ConnectionType @NonNull... type) {
return connectToState(scxmlStateName, QtJambi_LibraryUtilities.internal.lambdaContext(functor), functor, type);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #dataModel()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.scxml.@Nullable QScxmlDataModel getDataModel() {
return dataModel();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #initialValues()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.core.@NonNull QMap getInitialValues() {
return initialValues();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #invokedServices()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.core.@NonNull QList getInvokedServices() {
return invokedServices();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #isInitialized()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getInitialized() {
return isInitialized();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #isInvoked()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getInvoked() {
return isInvoked();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #isRunning()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getRunning() {
return isRunning();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #loader()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.scxml.QScxmlCompiler.@Nullable Loader getLoader() {
return loader();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #name()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final java.lang.@NonNull String getName() {
return name();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #parseErrors()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.core.@NonNull QList getParseErrors() {
return parseErrors();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #sessionId()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final java.lang.@NonNull String getSessionId() {
return sessionId();
}
/**
* Overloaded function for {@link #stateNames(boolean)}
* with compress = true
.
*/
public final io.qt.core.@NonNull QStringList stateNames() {
return stateNames((boolean)true);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #tableData()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.scxml.@Nullable QScxmlTableData getTableData() {
return tableData();
}
/**
* Overloaded function for {@link #fromData(io.qt.core.QIODevice, java.lang.String)}
* with fileName = (String)null
.
*/
public static io.qt.scxml.@Nullable QScxmlStateMachine fromData(io.qt.core.@Nullable QIODevice data) {
return fromData(data, (String)null);
}
}