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

io.qt.widgets.QGraphicsSceneMouseEvent Maven / Gradle / Ivy

The newest version!
package io.qt.widgets;


/**
 * 

Mouse events in the graphics view framework

*

Java wrapper for Qt class QGraphicsSceneMouseEvent

*/ public class QGraphicsSceneMouseEvent extends io.qt.widgets.QGraphicsSceneEvent { /** *

Overloaded constructor for {@link #QGraphicsSceneMouseEvent(io.qt.core.QEvent.Type)} * with type = io.qt.core.QEvent.Type.None.

*/ public QGraphicsSceneMouseEvent() { this(io.qt.core.QEvent.Type.None); } public QGraphicsSceneMouseEvent(io.qt.core.QEvent.Type type){ super((QPrivateConstructor)null); initialize_native(this, type); } private native static void initialize_native(QGraphicsSceneMouseEvent instance, io.qt.core.QEvent.Type type); /** *

See QGraphicsSceneMouseEvent::button()const

*/ @io.qt.QtUninvokable public final io.qt.core.Qt.MouseButton button(){ return io.qt.core.Qt.MouseButton.resolve(button_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @io.qt.QtUninvokable private native int button_native_constfct(long __this__nativeId); /** *

See QGraphicsSceneMouseEvent::buttonDownPos(Qt::MouseButton)const

*/ @io.qt.QtUninvokable public final io.qt.core.QPointF buttonDownPos(io.qt.core.Qt.MouseButton button){ return buttonDownPos_native_Qt_MouseButton_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), button.value()); } @io.qt.QtUninvokable private native io.qt.core.QPointF buttonDownPos_native_Qt_MouseButton_constfct(long __this__nativeId, int button); /** *

See QGraphicsSceneMouseEvent::buttonDownScenePos(Qt::MouseButton)const

*/ @io.qt.QtUninvokable public final io.qt.core.QPointF buttonDownScenePos(io.qt.core.Qt.MouseButton button){ return buttonDownScenePos_native_Qt_MouseButton_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), button.value()); } @io.qt.QtUninvokable private native io.qt.core.QPointF buttonDownScenePos_native_Qt_MouseButton_constfct(long __this__nativeId, int button); /** *

See QGraphicsSceneMouseEvent::buttonDownScreenPos(Qt::MouseButton)const

*/ @io.qt.QtUninvokable public final io.qt.core.QPoint buttonDownScreenPos(io.qt.core.Qt.MouseButton button){ return buttonDownScreenPos_native_Qt_MouseButton_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), button.value()); } @io.qt.QtUninvokable private native io.qt.core.QPoint buttonDownScreenPos_native_Qt_MouseButton_constfct(long __this__nativeId, int button); /** *

See QGraphicsSceneMouseEvent::buttons()const

*/ @io.qt.QtUninvokable public final io.qt.core.Qt.MouseButtons buttons(){ return new io.qt.core.Qt.MouseButtons(buttons_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @io.qt.QtUninvokable private native int buttons_native_constfct(long __this__nativeId); /** *

See QGraphicsSceneMouseEvent::flags()const

*/ @io.qt.QtUninvokable public final io.qt.core.Qt.MouseEventFlags flags(){ return new io.qt.core.Qt.MouseEventFlags(flags_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @io.qt.QtUninvokable private native int flags_native_constfct(long __this__nativeId); /** *

See QGraphicsSceneMouseEvent::lastPos()const

*/ @io.qt.QtUninvokable public final io.qt.core.QPointF lastPos(){ return lastPos_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.core.QPointF lastPos_native_constfct(long __this__nativeId); /** *

See QGraphicsSceneMouseEvent::lastScenePos()const

*/ @io.qt.QtUninvokable public final io.qt.core.QPointF lastScenePos(){ return lastScenePos_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.core.QPointF lastScenePos_native_constfct(long __this__nativeId); /** *

See QGraphicsSceneMouseEvent::lastScreenPos()const

*/ @io.qt.QtUninvokable public final io.qt.core.QPoint lastScreenPos(){ return lastScreenPos_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.core.QPoint lastScreenPos_native_constfct(long __this__nativeId); /** *

See QGraphicsSceneMouseEvent::modifiers()const

*/ @io.qt.QtUninvokable public final io.qt.core.Qt.KeyboardModifiers modifiers(){ return new io.qt.core.Qt.KeyboardModifiers(modifiers_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @io.qt.QtUninvokable private native int modifiers_native_constfct(long __this__nativeId); /** *

See QGraphicsSceneMouseEvent::pos()const

*/ @io.qt.QtUninvokable public final io.qt.core.QPointF pos(){ return pos_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.core.QPointF pos_native_constfct(long __this__nativeId); /** *

See QGraphicsSceneMouseEvent::scenePos()const

*/ @io.qt.QtUninvokable public final io.qt.core.QPointF scenePos(){ return scenePos_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.core.QPointF scenePos_native_constfct(long __this__nativeId); /** *

See QGraphicsSceneMouseEvent::screenPos()const

*/ @io.qt.QtUninvokable public final io.qt.core.QPoint screenPos(){ return screenPos_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.core.QPoint screenPos_native_constfct(long __this__nativeId); @io.qt.QtUninvokable public final void setButton(io.qt.core.Qt.MouseButton button){ setButton_native_Qt_MouseButton(QtJambi_LibraryUtilities.internal.nativeId(this), button.value()); } @io.qt.QtUninvokable private native void setButton_native_Qt_MouseButton(long __this__nativeId, int button); @io.qt.QtUninvokable public final void setButtonDownPos(io.qt.core.Qt.MouseButton button, io.qt.core.QPointF pos){ setButtonDownPos_native_Qt_MouseButton_cref_QPointF(QtJambi_LibraryUtilities.internal.nativeId(this), button.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(pos)); } @io.qt.QtUninvokable private native void setButtonDownPos_native_Qt_MouseButton_cref_QPointF(long __this__nativeId, int button, long pos); @io.qt.QtUninvokable public final void setButtonDownScenePos(io.qt.core.Qt.MouseButton button, io.qt.core.QPointF pos){ setButtonDownScenePos_native_Qt_MouseButton_cref_QPointF(QtJambi_LibraryUtilities.internal.nativeId(this), button.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(pos)); } @io.qt.QtUninvokable private native void setButtonDownScenePos_native_Qt_MouseButton_cref_QPointF(long __this__nativeId, int button, long pos); @io.qt.QtUninvokable public final void setButtonDownScreenPos(io.qt.core.Qt.MouseButton button, io.qt.core.QPoint pos){ setButtonDownScreenPos_native_Qt_MouseButton_cref_QPoint(QtJambi_LibraryUtilities.internal.nativeId(this), button.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(pos)); } @io.qt.QtUninvokable private native void setButtonDownScreenPos_native_Qt_MouseButton_cref_QPoint(long __this__nativeId, int button, long pos); /** *

Overloaded function for {@link #setButtons(io.qt.core.Qt.MouseButtons)}.

*/ @io.qt.QtUninvokable public final void setButtons(io.qt.core.Qt.MouseButton ... buttons){ setButtons(new io.qt.core.Qt.MouseButtons(buttons)); } @io.qt.QtUninvokable public final void setButtons(io.qt.core.Qt.MouseButtons buttons){ setButtons_native_QFlags_Qt_MouseButton_(QtJambi_LibraryUtilities.internal.nativeId(this), buttons.value()); } @io.qt.QtUninvokable private native void setButtons_native_QFlags_Qt_MouseButton_(long __this__nativeId, int buttons); /** *

Overloaded function for {@link #setFlags(io.qt.core.Qt.MouseEventFlags)}.

*/ @io.qt.QtUninvokable public final void setFlags(io.qt.core.Qt.MouseEventFlag ... arg__1){ setFlags(new io.qt.core.Qt.MouseEventFlags(arg__1)); } @io.qt.QtUninvokable public final void setFlags(io.qt.core.Qt.MouseEventFlags arg__1){ setFlags_native_QFlags_Qt_MouseEventFlag_(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1.value()); } @io.qt.QtUninvokable private native void setFlags_native_QFlags_Qt_MouseEventFlag_(long __this__nativeId, int arg__1); @io.qt.QtUninvokable public final void setLastPos(io.qt.core.QPointF pos){ setLastPos_native_cref_QPointF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pos)); } @io.qt.QtUninvokable private native void setLastPos_native_cref_QPointF(long __this__nativeId, long pos); @io.qt.QtUninvokable public final void setLastScenePos(io.qt.core.QPointF pos){ setLastScenePos_native_cref_QPointF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pos)); } @io.qt.QtUninvokable private native void setLastScenePos_native_cref_QPointF(long __this__nativeId, long pos); @io.qt.QtUninvokable public final void setLastScreenPos(io.qt.core.QPoint pos){ setLastScreenPos_native_cref_QPoint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pos)); } @io.qt.QtUninvokable private native void setLastScreenPos_native_cref_QPoint(long __this__nativeId, long pos); /** *

Overloaded function for {@link #setModifiers(io.qt.core.Qt.KeyboardModifiers)}.

*/ @io.qt.QtUninvokable public final void setModifiers(io.qt.core.Qt.KeyboardModifier ... modifiers){ setModifiers(new io.qt.core.Qt.KeyboardModifiers(modifiers)); } @io.qt.QtUninvokable public final void setModifiers(io.qt.core.Qt.KeyboardModifiers modifiers){ setModifiers_native_QFlags_Qt_KeyboardModifier_(QtJambi_LibraryUtilities.internal.nativeId(this), modifiers.value()); } @io.qt.QtUninvokable private native void setModifiers_native_QFlags_Qt_KeyboardModifier_(long __this__nativeId, int modifiers); @io.qt.QtUninvokable public final void setPos(io.qt.core.QPointF pos){ setPos_native_cref_QPointF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pos)); } @io.qt.QtUninvokable private native void setPos_native_cref_QPointF(long __this__nativeId, long pos); @io.qt.QtUninvokable public final void setScenePos(io.qt.core.QPointF pos){ setScenePos_native_cref_QPointF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pos)); } @io.qt.QtUninvokable private native void setScenePos_native_cref_QPointF(long __this__nativeId, long pos); @io.qt.QtUninvokable public final void setScreenPos(io.qt.core.QPoint pos){ setScreenPos_native_cref_QPoint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pos)); } @io.qt.QtUninvokable private native void setScreenPos_native_cref_QPoint(long __this__nativeId, long pos); @io.qt.QtUninvokable public final void setSource(io.qt.core.Qt.MouseEventSource source){ setSource_native_Qt_MouseEventSource(QtJambi_LibraryUtilities.internal.nativeId(this), source.value()); } @io.qt.QtUninvokable private native void setSource_native_Qt_MouseEventSource(long __this__nativeId, int source); /** *

See QGraphicsSceneMouseEvent::source()const

*/ @io.qt.QtUninvokable public final io.qt.core.Qt.MouseEventSource source(){ return io.qt.core.Qt.MouseEventSource.resolve(source_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @io.qt.QtUninvokable private native int source_native_constfct(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. */ @io.qt.NativeAccess protected QGraphicsSceneMouseEvent(QPrivateConstructor p) { super(p); } @Override @io.qt.QtUninvokable public String toString() { return toString_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private static native String toString_native(long __this_nativeId); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy