io.qt.script.QScriptClassPropertyIterator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qtjambi-script Show documentation
Show all versions of qtjambi-script Show documentation
Classes for making Qt applications scriptable. Deprecated in favor of the QJS* classes in the Qt QML module.
The newest version!
package io.qt.script;
import io.qt.*;
/**
* Iterator interface for custom Qt Script objects
* Java wrapper for Qt class QScriptClassPropertyIterator
* @since This class was introduced in Qt 4.4.
*/
public abstract class QScriptClassPropertyIterator extends QtObject
{
static {
QtJambi_LibraryUtilities.initialize();
}
@NativeAccess
private static final class ConcreteWrapper extends QScriptClassPropertyIterator {
@NativeAccess
private ConcreteWrapper(QPrivateConstructor p) { super(p); }
@Override
@QtUninvokable
public boolean hasNext(){
return hasNext_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean hasNext_native_constfct(long __this__nativeId);
@Override
@QtUninvokable
public boolean hasPrevious(){
return hasPrevious_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean hasPrevious_native_constfct(long __this__nativeId);
@Override
@QtUninvokable
public io.qt.script.@NonNull QScriptString name(){
return name_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.script.QScriptString name_native_constfct(long __this__nativeId);
@Override
@QtUninvokable
public void next(){
next_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void next_native(long __this__nativeId);
@Override
@QtUninvokable
public void previous(){
previous_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void previous_native(long __this__nativeId);
@Override
@QtUninvokable
public void toBack(){
toBack_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void toBack_native(long __this__nativeId);
@Override
@QtUninvokable
public void toFront(){
toFront_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void toFront_native(long __this__nativeId);
}
/**
* See QScriptClassPropertyIterator:: QScriptClassPropertyIterator(QScriptValue)
* @param object
*/
protected QScriptClassPropertyIterator(io.qt.script.@NonNull QScriptValue object){
super((QPrivateConstructor)null);
initialize_native(this, object);
}
private native static void initialize_native(QScriptClassPropertyIterator instance, io.qt.script.QScriptValue object);
/**
* See QScriptClassPropertyIterator:: object()const
* @return
*/
@QtUninvokable
public final io.qt.script.@NonNull QScriptValue object(){
return object_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.script.QScriptValue object_native_constfct(long __this__nativeId);
/**
* See QScriptClassPropertyIterator:: flags()const
* @return
*/
@QtUninvokable
public io.qt.script.QScriptValue.@NonNull PropertyFlags flags(){
return new io.qt.script.QScriptValue.PropertyFlags(flags_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int flags_native_constfct(long __this__nativeId);
/**
* See QScriptClassPropertyIterator:: hasNext()const
* @return
*/
@QtUninvokable
public abstract boolean hasNext();
@QtUninvokable
private native boolean hasNext_native_constfct(long __this__nativeId);
/**
* See QScriptClassPropertyIterator:: hasPrevious()const
* @return
*/
@QtUninvokable
public abstract boolean hasPrevious();
@QtUninvokable
private native boolean hasPrevious_native_constfct(long __this__nativeId);
/**
* See QScriptClassPropertyIterator:: id()const
* @return
*/
@QtUninvokable
public int id(){
return id_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int id_native_constfct(long __this__nativeId);
/**
* See QScriptClassPropertyIterator:: name()const
* @return
*/
@QtUninvokable
public abstract io.qt.script.@NonNull QScriptString name();
@QtUninvokable
private native io.qt.script.QScriptString name_native_constfct(long __this__nativeId);
/**
* See QScriptClassPropertyIterator:: next()
*/
@QtUninvokable
public abstract void next();
@QtUninvokable
private native void next_native(long __this__nativeId);
/**
* See QScriptClassPropertyIterator:: previous()
*/
@QtUninvokable
public abstract void previous();
@QtUninvokable
private native void previous_native(long __this__nativeId);
/**
* See QScriptClassPropertyIterator:: toBack()
*/
@QtUninvokable
public abstract void toBack();
@QtUninvokable
private native void toBack_native(long __this__nativeId);
/**
* See QScriptClassPropertyIterator:: toFront()
*/
@QtUninvokable
public abstract void toFront();
@QtUninvokable
private native void toFront_native(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QScriptClassPropertyIterator(QPrivateConstructor p) { super(p); }
}