All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.datavis.QAbstract3DInputHandler Maven / Gradle / Ivy

The newest version!
package io.qt.datavis;

import io.qt.*;


/**
 * 

Base class for implementations of input handlers

*

Java wrapper for Qt class QAbstract3DInputHandler

* @since This class was introduced in Qt QtDataVisualization 1.0. */ public class QAbstract3DInputHandler extends io.qt.core.QObject { static { QtJambi_LibraryUtilities.initialize(); } @QtPropertyMember(enabled=false) private Object __rcScene; /** * This variable stores the meta-object for the class. */ public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QAbstract3DInputHandler.class); /** *

Java wrapper for Qt enum QAbstract3DInputHandler::InputView

*/ @QtUnlistedEnum public enum InputView implements QtEnumerator { /** *

Representing QAbstract3DInputHandler::InputViewNone

*/ InputViewNone(0), /** *

Representing QAbstract3DInputHandler::InputViewOnPrimary

*/ InputViewOnPrimary(1), /** *

Representing QAbstract3DInputHandler::InputViewOnSecondary

*/ InputViewOnSecondary(2); static { QtJambi_LibraryUtilities.initialize(); } private InputView(int value) { this.value = value; } /** * {@inheritDoc} */ @Override public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull InputView resolve(int value) { switch (value) { case 0: return InputViewNone; case 1: return InputViewOnPrimary; case 2: return InputViewOnSecondary; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

See QAbstract3DInputHandler::inputViewChanged(QAbstract3DInputHandler::InputView)

*/ @QtPropertyNotify(name="inputView") public final @NonNull Signal1 inputViewChanged = new Signal1<>(); /** *

See QAbstract3DInputHandler::positionChanged(QPoint)

*/ @QtPropertyNotify(name="inputPosition") public final @NonNull Signal1 positionChanged = new Signal1<>(); /** *

See QAbstract3DInputHandler::sceneChanged(Q3DScene*)

*/ @QtPropertyNotify(name="scene") public final @NonNull Signal1 sceneChanged = new Signal1<>(); /** *

See QAbstract3DInputHandler::QAbstract3DInputHandler(QObject*)

* @param parent */ protected QAbstract3DInputHandler(io.qt.core.@Nullable QObject parent){ super((QPrivateConstructor)null); initialize_native(this, parent); } private native static void initialize_native(QAbstract3DInputHandler instance, io.qt.core.QObject parent); /** *

See QAbstract3DInputHandler::inputPosition()const

* @return */ @QtPropertyReader(name="inputPosition") @QtUninvokable public final io.qt.core.@NonNull QPoint inputPosition(){ return inputPosition_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QPoint inputPosition_native_constfct(long __this__nativeId); /** *

See QAbstract3DInputHandler::inputView()const

* @return */ @QtPropertyReader(name="inputView") @QtUninvokable public final io.qt.datavis.QAbstract3DInputHandler.@NonNull InputView inputView(){ return io.qt.datavis.QAbstract3DInputHandler.InputView.resolve(inputView_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int inputView_native_constfct(long __this__nativeId); /** *

See QAbstract3DInputHandler::prevDistance()const

* @return */ @QtUninvokable protected final int prevDistance(){ return prevDistance_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int prevDistance_native_constfct(long __this__nativeId); /** *

See QAbstract3DInputHandler::previousInputPos()const

* @return */ @QtUninvokable protected final io.qt.core.@NonNull QPoint previousInputPos(){ return previousInputPos_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QPoint previousInputPos_native_constfct(long __this__nativeId); /** *

See QAbstract3DInputHandler::scene()const

* @return */ @QtPropertyReader(name="scene") @QtUninvokable public final io.qt.datavis.@Nullable Q3DScene scene(){ return scene_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.datavis.Q3DScene scene_native_constfct(long __this__nativeId); /** *

See QAbstract3DInputHandler::setInputPosition(QPoint)

* @param position */ @QtPropertyWriter(name="inputPosition") @QtUninvokable public final void setInputPosition(io.qt.core.@NonNull QPoint position){ setInputPosition_native_cref_QPoint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(position)); } @QtUninvokable private native void setInputPosition_native_cref_QPoint(long __this__nativeId, long position); /** *

See QAbstract3DInputHandler::setInputView(QAbstract3DInputHandler::InputView)

* @param inputView */ @QtPropertyWriter(name="inputView") @QtUninvokable public final void setInputView(io.qt.datavis.QAbstract3DInputHandler.@NonNull InputView inputView){ setInputView_native_QAbstract3DInputHandler_InputView(QtJambi_LibraryUtilities.internal.nativeId(this), inputView.value()); } @QtUninvokable private native void setInputView_native_QAbstract3DInputHandler_InputView(long __this__nativeId, int inputView); /** *

See QAbstract3DInputHandler::setPrevDistance(int)

* @param distance */ @QtUninvokable protected final void setPrevDistance(int distance){ setPrevDistance_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), distance); } @QtUninvokable private native void setPrevDistance_native_int(long __this__nativeId, int distance); /** *

See QAbstract3DInputHandler::setPreviousInputPos(QPoint)

* @param position */ @QtUninvokable protected final void setPreviousInputPos(io.qt.core.@NonNull QPoint position){ setPreviousInputPos_native_cref_QPoint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(position)); } @QtUninvokable private native void setPreviousInputPos_native_cref_QPoint(long __this__nativeId, long position); /** *

See QAbstract3DInputHandler::setScene(Q3DScene*)

* @param scene */ @QtPropertyWriter(name="scene") @QtUninvokable public final void setScene(io.qt.datavis.@Nullable Q3DScene scene){ InternalAccess.NativeIdInfo __scene__NativeIdInfo = QtJambi_LibraryUtilities.internal.checkedNativeIdInfo(scene); setScene_native_Q3DScene_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), __scene__NativeIdInfo.nativeId()); if (__scene__NativeIdInfo.needsReferenceCounting()) { __rcScene = scene; }else{ __rcScene = null; } } @QtUninvokable private native void setScene_native_Q3DScene_ptr(long __this__nativeId, long scene); /** *

See QAbstract3DInputHandler::mouseDoubleClickEvent(QMouseEvent*)

* @param event */ @QtUninvokable public void mouseDoubleClickEvent(io.qt.gui.@Nullable QMouseEvent event){ mouseDoubleClickEvent_native_QMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native void mouseDoubleClickEvent_native_QMouseEvent_ptr(long __this__nativeId, long event); /** *

See QAbstract3DInputHandler::mouseMoveEvent(QMouseEvent*,QPoint)

* @param event * @param mousePos */ @QtUninvokable 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 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 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::touchEvent(QTouchEvent*)

* @param event */ @QtUninvokable public void touchEvent(io.qt.gui.@Nullable QTouchEvent event){ touchEvent_native_QTouchEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native void touchEvent_native_QTouchEvent_ptr(long __this__nativeId, long event); /** *

See QAbstract3DInputHandler::wheelEvent(QWheelEvent*)

* @param event */ @QtUninvokable 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 QAbstract3DInputHandler(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. * @hidden */ @NativeAccess protected QAbstract3DInputHandler(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @QtUninvokable private static native void initialize_native(QAbstract3DInputHandler instance, QDeclarativeConstructor constructor); /** *

Overloaded constructor for {@link #QAbstract3DInputHandler(io.qt.core.QObject)} * with parent = null.

*/ protected QAbstract3DInputHandler() { this((io.qt.core.QObject)null); } /** * @hidden *

Kotlin property getter. In Java use {@link #inputPosition()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.core.@NonNull QPoint getInputPosition() { return inputPosition(); } /** * @hidden *

Kotlin property getter. In Java use {@link #inputView()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.datavis.QAbstract3DInputHandler.@NonNull InputView getInputView() { return inputView(); } /** * @hidden *

Kotlin property getter. In Java use {@link #scene()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.datavis.@Nullable Q3DScene getScene() { return scene(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy