io.qt.qt3d.render.QObjectPicker Maven / Gradle / Ivy
package io.qt.qt3d.render;
import io.qt.*;
/**
* Instantiates a component that can be used to interact with a QEntity by a process known as picking
* Java wrapper for Qt class Qt3DRender::QObjectPicker
*/
public class QObjectPicker extends io.qt.qt3d.core.QComponent
{
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(QObjectPicker.class);
/**
* See Qt3DRender::QObjectPicker:: clicked(Qt3DRender::QPickEvent*)
*/
public final @NonNull Signal1 clicked = new Signal1<>();
/**
* See Qt3DRender::QObjectPicker:: containsMouseChanged(bool)
*/
@QtPropertyNotify(name="containsMouse")
public final @NonNull Signal1 containsMouseChanged = new Signal1<>();
/**
* See Qt3DRender::QObjectPicker:: dragEnabledChanged(bool)
*/
@QtPropertyNotify(name="dragEnabled")
public final @NonNull Signal1 dragEnabledChanged = new Signal1<>();
/**
* See Qt3DRender::QObjectPicker:: entered()
*/
public final @NonNull Signal0 entered = new Signal0();
/**
* See Qt3DRender::QObjectPicker:: exited()
*/
public final @NonNull Signal0 exited = new Signal0();
/**
* See Qt3DRender::QObjectPicker:: hoverEnabledChanged(bool)
*/
@QtPropertyNotify(name="hoverEnabled")
public final @NonNull Signal1 hoverEnabledChanged = new Signal1<>();
/**
* See Qt3DRender::QObjectPicker:: moved(Qt3DRender::QPickEvent*)
*/
public final @NonNull Signal1 moved = new Signal1<>();
/**
* See Qt3DRender::QObjectPicker:: pressed(Qt3DRender::QPickEvent*)
*/
public final @NonNull Signal1 pressed = new Signal1<>();
/**
* See Qt3DRender::QObjectPicker:: pressedChanged(bool)
*/
@QtPropertyNotify(name="pressed")
public final @NonNull Signal1 pressedChanged = new Signal1<>();
/**
* See Qt3DRender::QObjectPicker:: priorityChanged(int)
*/
@QtPropertyNotify(name="priority")
public final @NonNull Signal1 priorityChanged = new Signal1<>();
/**
* See Qt3DRender::QObjectPicker:: released(Qt3DRender::QPickEvent*)
*/
public final @NonNull Signal1 released = new Signal1<>();
/**
* See Qt3DRender::QObjectPicker:: QObjectPicker(QNode*)
* @param parent
*/
@SuppressWarnings({"exports"})
public QObjectPicker(io.qt.qt3d.core.@Nullable QNode parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QObjectPicker instance, io.qt.qt3d.core.QNode parent);
/**
* See Qt3DRender::QObjectPicker:: containsMouse()const
* @return
*/
@QtPropertyReader(name="containsMouse")
@QtUninvokable
public final boolean containsMouse(){
return containsMouse_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean containsMouse_native_constfct(long __this__nativeId);
/**
* See Qt3DRender::QObjectPicker:: isDragEnabled()const
* @return
*/
@QtPropertyReader(name="dragEnabled")
@QtUninvokable
public final boolean isDragEnabled(){
return isDragEnabled_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isDragEnabled_native_constfct(long __this__nativeId);
/**
* See Qt3DRender::QObjectPicker:: isHoverEnabled()const
* @return
*/
@QtPropertyReader(name="hoverEnabled")
@QtUninvokable
public final boolean isHoverEnabled(){
return isHoverEnabled_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isHoverEnabled_native_constfct(long __this__nativeId);
/**
* See Qt3DRender::QObjectPicker:: isPressed()const
* @return
*/
@QtPropertyReader(name="pressed")
@QtUninvokable
public final boolean isPressed(){
return isPressed_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isPressed_native_constfct(long __this__nativeId);
/**
* See Qt3DRender::QObjectPicker:: priority()const
* @return
*/
@QtPropertyReader(name="priority")
@QtUninvokable
public final int priority(){
return priority_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int priority_native_constfct(long __this__nativeId);
/**
* See Qt3DRender::QObjectPicker:: setDragEnabled(bool)
* @param dragEnabled
*/
@QtPropertyWriter(name="dragEnabled")
public final void setDragEnabled(boolean dragEnabled){
setDragEnabled_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), dragEnabled);
}
private native void setDragEnabled_native_bool(long __this__nativeId, boolean dragEnabled);
/**
* See Qt3DRender::QObjectPicker:: setHoverEnabled(bool)
* @param hoverEnabled
*/
@QtPropertyWriter(name="hoverEnabled")
public final void setHoverEnabled(boolean hoverEnabled){
setHoverEnabled_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), hoverEnabled);
}
private native void setHoverEnabled_native_bool(long __this__nativeId, boolean hoverEnabled);
/**
* See Qt3DRender::QObjectPicker:: setPriority(int)
* @param priority
*/
@QtPropertyWriter(name="priority")
public final void setPriority(int priority){
setPriority_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), priority);
}
private native void setPriority_native_int(long __this__nativeId, int priority);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QObjectPicker(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QObjectPicker(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QObjectPicker instance, QDeclarativeConstructor constructor);
/**
* Overloaded constructor for {@link #QObjectPicker(io.qt.qt3d.core.QNode)}
* with parent = null
.
*/
public QObjectPicker() {
this((io.qt.qt3d.core.QNode)null);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #containsMouse()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getContainsMouse() {
return containsMouse();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #isDragEnabled()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getDragEnabled() {
return isDragEnabled();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #isHoverEnabled()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getHoverEnabled() {
return isHoverEnabled();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #isPressed()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getPressed() {
return isPressed();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #priority()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getPriority() {
return priority();
}
}