io.qt.gui.QAccessibleTextSelectionEvent 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.*;
/**
* Signals a change in the text selection of an object
* Java wrapper for Qt class QAccessibleTextSelectionEvent
*/
public class QAccessibleTextSelectionEvent extends io.qt.gui.QAccessibleTextCursorEvent
{
/**
* See QAccessibleTextSelectionEvent:: QAccessibleTextSelectionEvent(QAccessibleInterface*, int, int)
*/
public QAccessibleTextSelectionEvent(io.qt.gui.@Nullable QAccessibleInterface iface, int start, int end){
super((QPrivateConstructor)null);
initialize_native(this, iface, start, end);
}
private native static void initialize_native(QAccessibleTextSelectionEvent instance, io.qt.gui.QAccessibleInterface iface, int start, int end);
/**
* See QAccessibleTextSelectionEvent:: QAccessibleTextSelectionEvent(QObject*, int, int)
*/
public QAccessibleTextSelectionEvent(io.qt.core.@Nullable QObject obj, int start, int end){
super((QPrivateConstructor)null);
initialize_native(this, obj, start, end);
}
private native static void initialize_native(QAccessibleTextSelectionEvent instance, io.qt.core.QObject obj, int start, int end);
/**
* See QAccessibleTextSelectionEvent:: selectionEnd()const
*/
@QtUninvokable
public final int selectionEnd(){
return selectionEnd_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int selectionEnd_native_constfct(long __this__nativeId);
/**
* See QAccessibleTextSelectionEvent:: selectionStart()const
*/
@QtUninvokable
public final int selectionStart(){
return selectionStart_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int selectionStart_native_constfct(long __this__nativeId);
/**
* See QAccessibleTextSelectionEvent:: setSelection(int, int)
*/
@QtUninvokable
public final void setSelection(int start, int end){
setSelection_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), start, end);
}
@QtUninvokable
private native void setSelection_native_int_int(long __this__nativeId, int start, int end);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QAccessibleTextSelectionEvent(QPrivateConstructor p) { super(p); }
}