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

io.qt.scxml.QScxmlEvent Maven / Gradle / Ivy

package io.qt.scxml;

import io.qt.*;


/**
 * 

Event for a Qt SCXML state machine

*

Java wrapper for Qt class QScxmlEvent

*/ public class QScxmlEvent extends QtObject implements java.lang.Cloneable { 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(QScxmlEvent.class); /** *

Java wrapper for Qt enum QScxmlEvent::EventType

*/ public enum EventType implements QtEnumerator { /** *

Representing QScxmlEvent::PlatformEvent

*/ PlatformEvent(0), /** *

Representing QScxmlEvent::InternalEvent

*/ InternalEvent(1), /** *

Representing QScxmlEvent::ExternalEvent

*/ ExternalEvent(2); static { QtJambi_LibraryUtilities.initialize(); } private EventType(int value) { this.value = value; } /** * {@inheritDoc} */ @Override public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull EventType resolve(int value) { switch (value) { case 0: return PlatformEvent; case 1: return InternalEvent; case 2: return ExternalEvent; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

See QScxmlEvent::QScxmlEvent()

*/ public QScxmlEvent(){ super((QPrivateConstructor)null); initialize_native(this); } private native static void initialize_native(QScxmlEvent instance); /** *

See QScxmlEvent::QScxmlEvent(QScxmlEvent)

* @param other */ public QScxmlEvent(io.qt.scxml.@NonNull QScxmlEvent other){ super((QPrivateConstructor)null); initialize_native(this, other); } private native static void initialize_native(QScxmlEvent instance, io.qt.scxml.QScxmlEvent other); /** *

See QScxmlEvent::clear()

*/ public final void clear(){ clear_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native void clear_native(long __this__nativeId); /** *

See QScxmlEvent::data()const

* @return */ @QtPropertyReader(name="data") @QtUninvokable public final java.lang.Object data(){ return data_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.Object data_native_constfct(long __this__nativeId); /** *

See QScxmlEvent::delay()const

* @return */ @QtPropertyReader(name="delay") @QtUninvokable public final int delay(){ return delay_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int delay_native_constfct(long __this__nativeId); /** *

See QScxmlEvent::errorMessage()const

* @return */ @QtPropertyReader(name="errorMessage") @QtUninvokable public final java.lang.@NonNull String errorMessage(){ return errorMessage_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.String errorMessage_native_constfct(long __this__nativeId); /** *

See QScxmlEvent::eventType()const

* @return */ @QtPropertyReader(name="eventType") @QtUninvokable public final io.qt.scxml.QScxmlEvent.@NonNull EventType eventType(){ return io.qt.scxml.QScxmlEvent.EventType.resolve(eventType_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int eventType_native_constfct(long __this__nativeId); /** *

See QScxmlEvent::invokeId()const

* @return */ @QtPropertyReader(name="invokeId") @QtUninvokable public final java.lang.@NonNull String invokeId(){ return invokeId_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.String invokeId_native_constfct(long __this__nativeId); /** *

See QScxmlEvent::isErrorEvent()const

* @return */ @QtPropertyReader(name="errorEvent") @QtUninvokable public final boolean isErrorEvent(){ return isErrorEvent_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isErrorEvent_native_constfct(long __this__nativeId); /** *

See QScxmlEvent::name()const

* @return */ @QtPropertyReader(name="name") @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 QScxmlEvent::operator=(QScxmlEvent)

* @param other */ @QtUninvokable public final void assign(io.qt.scxml.@NonNull QScxmlEvent other){ assign_native_cref_QScxmlEvent(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @QtUninvokable private native void assign_native_cref_QScxmlEvent(long __this__nativeId, long other); /** *

See QScxmlEvent::origin()const

* @return */ @QtPropertyReader(name="origin") @QtUninvokable public final java.lang.@NonNull String origin(){ return origin_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.String origin_native_constfct(long __this__nativeId); /** *

See QScxmlEvent::originType()const

* @return */ @QtPropertyReader(name="originType") @QtUninvokable public final java.lang.@NonNull String originType(){ return originType_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.String originType_native_constfct(long __this__nativeId); /** *

See QScxmlEvent::scxmlType()const

* @return */ @QtPropertyReader(name="scxmlType") @QtUninvokable public final java.lang.@NonNull String scxmlType(){ return scxmlType_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.String scxmlType_native_constfct(long __this__nativeId); /** *

See QScxmlEvent::sendId()const

* @return */ @QtPropertyReader(name="sendId") @QtUninvokable public final java.lang.@NonNull String sendId(){ return sendId_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.String sendId_native_constfct(long __this__nativeId); /** *

See QScxmlEvent::setData(QVariant)

* @param data */ @QtPropertyWriter(name="data") @QtUninvokable public final void setData(java.lang.Object data){ setData_native_cref_QVariant(QtJambi_LibraryUtilities.internal.nativeId(this), data); } @QtUninvokable private native void setData_native_cref_QVariant(long __this__nativeId, java.lang.Object data); /** *

See QScxmlEvent::setDelay(int)

* @param delayInMiliSecs */ @QtPropertyWriter(name="delay") @QtUninvokable public final void setDelay(int delayInMiliSecs){ setDelay_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), delayInMiliSecs); } @QtUninvokable private native void setDelay_native_int(long __this__nativeId, int delayInMiliSecs); /** *

See QScxmlEvent::setErrorMessage(QString)

* @param message */ @QtPropertyWriter(name="errorMessage") @QtUninvokable public final void setErrorMessage(java.lang.@NonNull String message){ setErrorMessage_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), message); } @QtUninvokable private native void setErrorMessage_native_cref_QString(long __this__nativeId, java.lang.String message); /** *

See QScxmlEvent::setEventType(QScxmlEvent::EventType)

* @param type */ @QtPropertyWriter(name="eventType") @QtUninvokable public final void setEventType(io.qt.scxml.QScxmlEvent.@NonNull EventType type){ setEventType_native_cref_QScxmlEvent_EventType(QtJambi_LibraryUtilities.internal.nativeId(this), type.value()); } @QtUninvokable private native void setEventType_native_cref_QScxmlEvent_EventType(long __this__nativeId, int type); /** *

See QScxmlEvent::setInvokeId(QString)

* @param invokeId */ @QtPropertyWriter(name="invokeId") @QtUninvokable public final void setInvokeId(java.lang.@NonNull String invokeId){ setInvokeId_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), invokeId); } @QtUninvokable private native void setInvokeId_native_cref_QString(long __this__nativeId, java.lang.String invokeId); /** *

See QScxmlEvent::setName(QString)

* @param name */ @QtPropertyWriter(name="name") @QtUninvokable public final void setName(java.lang.@NonNull String name){ setName_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), name); } @QtUninvokable private native void setName_native_cref_QString(long __this__nativeId, java.lang.String name); /** *

See QScxmlEvent::setOrigin(QString)

* @param origin */ @QtPropertyWriter(name="origin") @QtUninvokable public final void setOrigin(java.lang.@NonNull String origin){ setOrigin_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), origin); } @QtUninvokable private native void setOrigin_native_cref_QString(long __this__nativeId, java.lang.String origin); /** *

See QScxmlEvent::setOriginType(QString)

* @param originType */ @QtPropertyWriter(name="originType") @QtUninvokable public final void setOriginType(java.lang.@NonNull String originType){ setOriginType_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), originType); } @QtUninvokable private native void setOriginType_native_cref_QString(long __this__nativeId, java.lang.String originType); /** *

See QScxmlEvent::setSendId(QString)

* @param sendId */ @QtPropertyWriter(name="sendId") @QtUninvokable public final void setSendId(java.lang.@NonNull String sendId){ setSendId_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), sendId); } @QtUninvokable private native void setSendId_native_cref_QString(long __this__nativeId, java.lang.String sendId); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QScxmlEvent(QPrivateConstructor p) { super(p); } /** *

Creates and returns a copy of this object.

See QScxmlEvent::QScxmlEvent(QScxmlEvent)

*/ @QtUninvokable @Override public QScxmlEvent clone() { return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private static native QScxmlEvent clone_native(long __this_nativeId); /** * @hidden *

Kotlin property getter. In Java use {@link #data()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final java.lang.Object getData() { return data(); } /** * @hidden *

Kotlin property getter. In Java use {@link #delay()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final int getDelay() { return delay(); } /** * @hidden *

Kotlin property getter. In Java use {@link #errorMessage()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final java.lang.@NonNull String getErrorMessage() { return errorMessage(); } /** * @hidden *

Kotlin property getter. In Java use {@link #eventType()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.scxml.QScxmlEvent.@NonNull EventType getEventType() { return eventType(); } /** * @hidden *

Kotlin property getter. In Java use {@link #invokeId()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final java.lang.@NonNull String getInvokeId() { return invokeId(); } /** * @hidden *

Kotlin property getter. In Java use {@link #isErrorEvent()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getErrorEvent() { return isErrorEvent(); } /** * @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 #origin()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final java.lang.@NonNull String getOrigin() { return origin(); } /** * @hidden *

Kotlin property getter. In Java use {@link #originType()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final java.lang.@NonNull String getOriginType() { return originType(); } /** * @hidden *

Kotlin property getter. In Java use {@link #scxmlType()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final java.lang.@NonNull String getScxmlType() { return scxmlType(); } /** * @hidden *

Kotlin property getter. In Java use {@link #sendId()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final java.lang.@NonNull String getSendId() { return sendId(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy