io.qt.datavis.Q3DInputHandler Maven / Gradle / Ivy
Show all versions of qtjambi-datavisualization Show documentation
package io.qt.datavis;
import io.qt.*;
/**
* Basic wheel mouse based input handler
* Java wrapper for Qt class Q3DInputHandler
* @since This class was introduced in Qt QtDataVisualization 1.0.
*/
public class Q3DInputHandler extends io.qt.datavis.QAbstract3DInputHandler
{
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(Q3DInputHandler.class);
/**
* See Q3DInputHandler:: rotationEnabledChanged(bool)
*/
@QtPropertyNotify(name="rotationEnabled")
public final @NonNull Signal1 rotationEnabledChanged = new Signal1<>();
/**
* See Q3DInputHandler:: selectionEnabledChanged(bool)
*/
@QtPropertyNotify(name="selectionEnabled")
public final @NonNull Signal1 selectionEnabledChanged = new Signal1<>();
/**
* See Q3DInputHandler:: zoomAtTargetEnabledChanged(bool)
*/
@QtPropertyNotify(name="zoomAtTargetEnabled")
public final @NonNull Signal1 zoomAtTargetEnabledChanged = new Signal1<>();
/**
* See Q3DInputHandler:: zoomEnabledChanged(bool)
*/
@QtPropertyNotify(name="zoomEnabled")
public final @NonNull Signal1 zoomEnabledChanged = new Signal1<>();
/**
* See Q3DInputHandler:: Q3DInputHandler(QObject*)
* @param parent
*/
public Q3DInputHandler(io.qt.core.@Nullable QObject parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(Q3DInputHandler instance, io.qt.core.QObject parent);
/**
* See Q3DInputHandler:: isRotationEnabled()const
* @return
*/
@QtPropertyReader(name="rotationEnabled")
@QtUninvokable
public final boolean isRotationEnabled(){
return isRotationEnabled_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isRotationEnabled_native_constfct(long __this__nativeId);
/**
* See Q3DInputHandler:: isSelectionEnabled()const
* @return
*/
@QtPropertyReader(name="selectionEnabled")
@QtUninvokable
public final boolean isSelectionEnabled(){
return isSelectionEnabled_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isSelectionEnabled_native_constfct(long __this__nativeId);
/**
* See Q3DInputHandler:: isZoomAtTargetEnabled()const
* @return
*/
@QtPropertyReader(name="zoomAtTargetEnabled")
@QtUninvokable
public final boolean isZoomAtTargetEnabled(){
return isZoomAtTargetEnabled_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isZoomAtTargetEnabled_native_constfct(long __this__nativeId);
/**
* See Q3DInputHandler:: isZoomEnabled()const
* @return
*/
@QtPropertyReader(name="zoomEnabled")
@QtUninvokable
public final boolean isZoomEnabled(){
return isZoomEnabled_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isZoomEnabled_native_constfct(long __this__nativeId);
/**
* See Q3DInputHandler:: setRotationEnabled(bool)
* @param enable
*/
@QtPropertyWriter(name="rotationEnabled")
@QtUninvokable
public final void setRotationEnabled(boolean enable){
setRotationEnabled_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), enable);
}
@QtUninvokable
private native void setRotationEnabled_native_bool(long __this__nativeId, boolean enable);
/**
* See Q3DInputHandler:: setSelectionEnabled(bool)
* @param enable
*/
@QtPropertyWriter(name="selectionEnabled")
@QtUninvokable
public final void setSelectionEnabled(boolean enable){
setSelectionEnabled_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), enable);
}
@QtUninvokable
private native void setSelectionEnabled_native_bool(long __this__nativeId, boolean enable);
/**
* See Q3DInputHandler:: setZoomAtTargetEnabled(bool)
* @param enable
*/
@QtPropertyWriter(name="zoomAtTargetEnabled")
@QtUninvokable
public final void setZoomAtTargetEnabled(boolean enable){
setZoomAtTargetEnabled_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), enable);
}
@QtUninvokable
private native void setZoomAtTargetEnabled_native_bool(long __this__nativeId, boolean enable);
/**
* See Q3DInputHandler:: setZoomEnabled(bool)
* @param enable
*/
@QtPropertyWriter(name="zoomEnabled")
@QtUninvokable
public final void setZoomEnabled(boolean enable){
setZoomEnabled_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), enable);
}
@QtUninvokable
private native void setZoomEnabled_native_bool(long __this__nativeId, boolean enable);
/**
* See QAbstract3DInputHandler:: mouseMoveEvent(QMouseEvent*, QPoint)
* @param event
* @param mousePos
*/
@QtUninvokable
@Override
public void mouseMoveEvent(io.qt.gui.@Nullable QMouseEvent event, io.qt.core.@NonNull QPoint mousePos){
mouseMoveEvent_native_QMouseEvent_ptr_cref_QPoint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event), QtJambi_LibraryUtilities.internal.checkedNativeId(mousePos));
}
@QtUninvokable
private native void mouseMoveEvent_native_QMouseEvent_ptr_cref_QPoint(long __this__nativeId, long event, long mousePos);
/**
* See QAbstract3DInputHandler:: mousePressEvent(QMouseEvent*, QPoint)
* @param event
* @param mousePos
*/
@QtUninvokable
@Override
public void mousePressEvent(io.qt.gui.@Nullable QMouseEvent event, io.qt.core.@NonNull QPoint mousePos){
mousePressEvent_native_QMouseEvent_ptr_cref_QPoint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event), QtJambi_LibraryUtilities.internal.checkedNativeId(mousePos));
}
@QtUninvokable
private native void mousePressEvent_native_QMouseEvent_ptr_cref_QPoint(long __this__nativeId, long event, long mousePos);
/**
* See QAbstract3DInputHandler:: mouseReleaseEvent(QMouseEvent*, QPoint)
* @param event
* @param mousePos
*/
@QtUninvokable
@Override
public void mouseReleaseEvent(io.qt.gui.@Nullable QMouseEvent event, io.qt.core.@NonNull QPoint mousePos){
mouseReleaseEvent_native_QMouseEvent_ptr_cref_QPoint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event), QtJambi_LibraryUtilities.internal.checkedNativeId(mousePos));
}
@QtUninvokable
private native void mouseReleaseEvent_native_QMouseEvent_ptr_cref_QPoint(long __this__nativeId, long event, long mousePos);
/**
* See QAbstract3DInputHandler:: wheelEvent(QWheelEvent*)
* @param event
*/
@QtUninvokable
@Override
public void wheelEvent(io.qt.gui.@Nullable QWheelEvent event){
wheelEvent_native_QWheelEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@QtUninvokable
private native void wheelEvent_native_QWheelEvent_ptr(long __this__nativeId, long event);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected Q3DInputHandler(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected Q3DInputHandler(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(Q3DInputHandler instance, QDeclarativeConstructor constructor);
/**
* Overloaded constructor for {@link #Q3DInputHandler(io.qt.core.QObject)}
* with parent = null
.
*/
public Q3DInputHandler() {
this((io.qt.core.QObject)null);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #isRotationEnabled()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getRotationEnabled() {
return isRotationEnabled();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #isSelectionEnabled()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getSelectionEnabled() {
return isSelectionEnabled();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #isZoomAtTargetEnabled()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getZoomAtTargetEnabled() {
return isZoomAtTargetEnabled();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #isZoomEnabled()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getZoomEnabled() {
return isZoomEnabled();
}
}