io.qt.qt3d.extras.QSpriteSheetItem Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qtjambi-qt3dextras Show documentation
Show all versions of qtjambi-qt3dextras Show documentation
The Qt 3D Extras module provides a set of prebuilt elements to help you get started with Qt 3D.
package io.qt.qt3d.extras;
import io.qt.*;
/**
* Java wrapper for Qt class Qt3DExtras::QSpriteSheetItem
*/
public class QSpriteSheetItem extends io.qt.qt3d.core.QNode
{
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(QSpriteSheetItem.class);
@QtPropertyNotify(name="height")
public final @NonNull Signal1 heightChanged = new Signal1<>();
@QtPropertyNotify(name="width")
public final @NonNull Signal1 widthChanged = new Signal1<>();
@QtPropertyNotify(name="x")
public final @NonNull Signal1 xChanged = new Signal1<>();
@QtPropertyNotify(name="y")
public final @NonNull Signal1 yChanged = new Signal1<>();
/**
* Overloaded constructor for {@link #QSpriteSheetItem(io.qt.qt3d.core.QNode)}
* with parent = null
.
*/
public QSpriteSheetItem() {
this((io.qt.qt3d.core.QNode)null);
}
@SuppressWarnings({"exports"})
public QSpriteSheetItem(io.qt.qt3d.core.@Nullable QNode parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QSpriteSheetItem instance, io.qt.qt3d.core.QNode parent);
/**
* Kotlin property getter. In Java use {@link #height()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getHeight() {
return height();
}
@QtPropertyReader(name="height")
@QtUninvokable
public final int height(){
return height_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int height_native_constfct(long __this__nativeId);
@QtPropertyWriter(name="height")
public final void setHeight(int height){
setHeight_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), height);
}
private native void setHeight_native_int(long __this__nativeId, int height);
@QtPropertyWriter(name="width")
public final void setWidth(int width){
setWidth_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), width);
}
private native void setWidth_native_int(long __this__nativeId, int width);
@QtPropertyWriter(name="x")
public final void setX(int x){
setX_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), x);
}
private native void setX_native_int(long __this__nativeId, int x);
@QtPropertyWriter(name="y")
public final void setY(int y){
setY_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), y);
}
private native void setY_native_int(long __this__nativeId, int y);
/**
* Kotlin property getter. In Java use {@link #width()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getWidth() {
return width();
}
@QtPropertyReader(name="width")
@QtUninvokable
public final int width(){
return width_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int width_native_constfct(long __this__nativeId);
/**
* Kotlin property getter. In Java use {@link #x()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getX() {
return x();
}
@QtPropertyReader(name="x")
@QtUninvokable
public final int x(){
return x_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int x_native_constfct(long __this__nativeId);
/**
* Kotlin property getter. In Java use {@link #y()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getY() {
return y();
}
@QtPropertyReader(name="y")
@QtUninvokable
public final int y(){
return y_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int y_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@NativeAccess
protected QSpriteSheetItem(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
*/
@NativeAccess
protected QSpriteSheetItem(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QSpriteSheetItem instance, QDeclarativeConstructor constructor);
}