io.qt.scxml.QScxmlError Maven / Gradle / Ivy
package io.qt.scxml;
import io.qt.*;
/**
* Describes the errors returned by the Qt SCXML state machine when parsing an SCXML file
* Java wrapper for Qt class QScxmlError
*/
public class QScxmlError 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(QScxmlError.class);
/**
* See QScxmlError:: QScxmlError()
*/
public QScxmlError(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QScxmlError instance);
/**
* See QScxmlError:: QScxmlError(QScxmlError)
* @param arg__1
*/
public QScxmlError(io.qt.scxml.@NonNull QScxmlError arg__1){
super((QPrivateConstructor)null);
initialize_native(this, arg__1);
}
private native static void initialize_native(QScxmlError instance, io.qt.scxml.QScxmlError arg__1);
/**
* See QScxmlError:: QScxmlError(QString, int, int, QString)
* @param fileName
* @param line
* @param column
* @param description
*/
public QScxmlError(java.lang.@NonNull String fileName, int line, int column, java.lang.@NonNull String description){
super((QPrivateConstructor)null);
initialize_native(this, fileName, line, column, description);
}
private native static void initialize_native(QScxmlError instance, java.lang.String fileName, int line, int column, java.lang.String description);
/**
* See QScxmlError:: column()const
* @return
*/
@QtPropertyReader(name="column")
@QtPropertyConstant
@QtUninvokable
public final int column(){
return column_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int column_native_constfct(long __this__nativeId);
/**
* See QScxmlError:: description()const
* @return
*/
@QtPropertyReader(name="description")
@QtPropertyConstant
@QtUninvokable
public final java.lang.@NonNull String description(){
return description_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String description_native_constfct(long __this__nativeId);
/**
* See QScxmlError:: fileName()const
* @return
*/
@QtPropertyReader(name="fileName")
@QtPropertyConstant
@QtUninvokable
public final java.lang.@NonNull String fileName(){
return fileName_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String fileName_native_constfct(long __this__nativeId);
/**
* See QScxmlError:: isValid()const
* @return
*/
@QtPropertyReader(name="valid")
@QtPropertyConstant
@QtUninvokable
public final boolean isValid(){
return isValid_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isValid_native_constfct(long __this__nativeId);
/**
*
* @return
*/
@QtPropertyReader(name="line")
@QtPropertyConstant
@QtUninvokable
public final int line(){
return line_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int line_native_constfct(long __this__nativeId);
/**
* See QScxmlError:: operator=(QScxmlError)
* @param arg__1
*/
@QtUninvokable
public final void assign(io.qt.scxml.@NonNull QScxmlError arg__1){
assign_native_cref_QScxmlError(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native void assign_native_cref_QScxmlError(long __this__nativeId, long arg__1);
/**
* See QScxmlError:: toString()const
* @return
*/
@QtUninvokable
public final java.lang.@NonNull String toString(){
return toString_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String toString_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QScxmlError(QPrivateConstructor p) { super(p); }
/**
* Creates and returns a copy of this object.
See QScxmlError:: QScxmlError(QScxmlError)
*/
@QtUninvokable
@Override
public QScxmlError clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native QScxmlError clone_native(long __this_nativeId);
/**
* @hidden
* Kotlin property getter. In Java use {@link #column()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getColumn() {
return column();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #description()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final java.lang.@NonNull String getDescription() {
return description();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #fileName()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final java.lang.@NonNull String getFileName() {
return fileName();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #isValid()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getValid() {
return isValid();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #line()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getLine() {
return line();
}
}