io.qt.scxml.QScxmlInvokableService Maven / Gradle / Ivy
package io.qt.scxml;
import io.qt.*;
/**
* The base class for services called from state machines
* Java wrapper for Qt class QScxmlInvokableService
*/
public abstract class QScxmlInvokableService extends io.qt.core.QObject
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QScxmlInvokableService.class);
@NativeAccess
private static final class ConcreteWrapper extends QScxmlInvokableService {
@NativeAccess
private ConcreteWrapper(QPrivateConstructor p) { super(p); }
@Override
@QtUninvokable
public java.lang.@NonNull String id(){
return id_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String id_native_constfct(long __this__nativeId);
@Override
@QtUninvokable
public 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);
@Override
@QtUninvokable
public void postEvent(io.qt.scxml.@Nullable QScxmlEvent event){
postEvent_native_QScxmlEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), event);
}
@QtUninvokable
private native void postEvent_native_QScxmlEvent_ptr(long __this__nativeId, io.qt.scxml.QScxmlEvent event);
@Override
@QtUninvokable
public boolean start(){
return start_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean start_native(long __this__nativeId);
}
/**
* See QScxmlInvokableService:: QScxmlInvokableService(QScxmlStateMachine*, QScxmlInvokableServiceFactory*)
* @param parentStateMachine
* @param parent
*/
public QScxmlInvokableService(io.qt.scxml.@Nullable QScxmlStateMachine parentStateMachine, io.qt.scxml.@Nullable QScxmlInvokableServiceFactory parent){
super((QPrivateConstructor)null);
initialize_native(this, parentStateMachine, parent);
}
private native static void initialize_native(QScxmlInvokableService instance, io.qt.scxml.QScxmlStateMachine parentStateMachine, io.qt.scxml.QScxmlInvokableServiceFactory parent);
/**
* See QScxmlInvokableService:: parentStateMachine()const
* @return
*/
@QtPropertyReader(name="parentStateMachine")
@QtPropertyConstant
@QtUninvokable
public final io.qt.scxml.@Nullable QScxmlStateMachine parentStateMachine(){
return parentStateMachine_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.scxml.QScxmlStateMachine parentStateMachine_native_constfct(long __this__nativeId);
/**
* See QScxmlInvokableService:: id()const
* @return
*/
@QtPropertyReader(name="id")
@QtPropertyConstant
@QtUninvokable
public abstract java.lang.@NonNull String id();
@QtUninvokable
private native java.lang.String id_native_constfct(long __this__nativeId);
/**
* See QScxmlInvokableService:: name()const
* @return
*/
@QtPropertyReader(name="name")
@QtPropertyConstant
@QtUninvokable
public abstract java.lang.@NonNull String name();
@QtUninvokable
private native java.lang.String name_native_constfct(long __this__nativeId);
/**
* See QScxmlInvokableService:: postEvent(QScxmlEvent*)
* @param event
*/
@QtUninvokable
public abstract void postEvent(io.qt.scxml.@Nullable QScxmlEvent event);
@QtUninvokable
private native void postEvent_native_QScxmlEvent_ptr(long __this__nativeId, io.qt.scxml.QScxmlEvent event);
/**
* See QScxmlInvokableService:: start()
* @return
*/
@QtUninvokable
public abstract boolean start();
@QtUninvokable
private native boolean start_native(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QScxmlInvokableService(QPrivateConstructor p) { super(p); }
/**
* @hidden
* Kotlin property getter. In Java use {@link #parentStateMachine()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.scxml.@Nullable QScxmlStateMachine getParentStateMachine() {
return parentStateMachine();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #id()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final java.lang.@NonNull String getId() {
return id();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #name()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final java.lang.@NonNull String getName() {
return name();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy