io.qt.gui.QAccessibleTextCursorEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qtjambi Show documentation
Show all versions of qtjambi Show documentation
QtJambi base module containing QtCore, QtGui and QtWidgets.
package io.qt.gui;
import io.qt.*;
/**
* Notifies of cursor movements
* Java wrapper for Qt class QAccessibleTextCursorEvent
*/
public class QAccessibleTextCursorEvent extends io.qt.gui.QAccessibleEvent
{
/**
* See QAccessibleTextCursorEvent:: QAccessibleTextCursorEvent(QAccessibleInterface*, int)
*/
public QAccessibleTextCursorEvent(io.qt.gui.@Nullable QAccessibleInterface iface, int cursorPos){
super((QPrivateConstructor)null);
initialize_native(this, iface, cursorPos);
}
private native static void initialize_native(QAccessibleTextCursorEvent instance, io.qt.gui.QAccessibleInterface iface, int cursorPos);
/**
* See QAccessibleTextCursorEvent:: QAccessibleTextCursorEvent(QObject*, int)
*/
public QAccessibleTextCursorEvent(io.qt.core.@Nullable QObject obj, int cursorPos){
super((QPrivateConstructor)null);
initialize_native(this, obj, cursorPos);
}
private native static void initialize_native(QAccessibleTextCursorEvent instance, io.qt.core.QObject obj, int cursorPos);
/**
* See QAccessibleTextCursorEvent:: cursorPosition()const
*/
@QtUninvokable
public final int cursorPosition(){
return cursorPosition_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int cursorPosition_native_constfct(long __this__nativeId);
/**
* See QAccessibleTextCursorEvent:: setCursorPosition(int)
*/
@QtUninvokable
public final void setCursorPosition(int position){
setCursorPosition_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), position);
}
@QtUninvokable
private native void setCursorPosition_native_int(long __this__nativeId, int position);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QAccessibleTextCursorEvent(QPrivateConstructor p) { super(p); }
}