io.qt.widgets.QAccessibleWidget Maven / Gradle / Ivy
Show all versions of qtjambi Show documentation
package io.qt.widgets;
import io.qt.*;
/**
* Implements the QAccessibleInterface for QWidgets
* Java wrapper for Qt class QAccessibleWidget
*/
public class QAccessibleWidget extends io.qt.gui.QAccessibleObject
implements io.qt.gui.QAccessibleActionInterface
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See QAccessibleWidget:: QAccessibleWidget(QWidget*, QAccessible::Role, QString)
*/
public QAccessibleWidget(io.qt.widgets.@Nullable QWidget o, io.qt.gui.QAccessible.@NonNull Role r, java.lang.@NonNull String name){
super((QPrivateConstructor)null);
initialize_native(this, o, r, name);
}
private native static void initialize_native(QAccessibleWidget instance, io.qt.widgets.QWidget o, io.qt.gui.QAccessible.Role r, java.lang.String name);
/**
* See QAccessibleWidget:: addControllingSignal(QString)
*/
@QtUninvokable
protected final void addControllingSignal(java.lang.@NonNull String signal){
addControllingSignal_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), signal);
}
@QtUninvokable
private native void addControllingSignal_native_cref_QString(long __this__nativeId, java.lang.String signal);
/**
* See QAccessibleWidget:: parentObject()const
*/
@QtUninvokable
protected final io.qt.core.@Nullable QObject parentObject(){
return parentObject_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QObject parentObject_native_constfct(long __this__nativeId);
/**
* See QAccessibleWidget:: widget()const
*/
@QtUninvokable
protected final io.qt.widgets.@Nullable QWidget widget(){
return widget_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.widgets.QWidget widget_native_constfct(long __this__nativeId);
/**
* See QAccessibleActionInterface:: actionNames()const
*/
@QtUninvokable
@Override
public java.util.@NonNull List actionNames(){
return actionNames_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static java.util.List actionNames_native_constfct(long __this__nativeId);
/**
* See QAccessibleInterface:: backgroundColor()const
*/
@QtUninvokable
@Override
public io.qt.gui.@NonNull QColor backgroundColor(){
return backgroundColor_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static io.qt.gui.QColor backgroundColor_native_constfct(long __this__nativeId);
/**
* See QAccessibleInterface:: child(int)const
*/
@QtUninvokable
@Override
public io.qt.gui.@Nullable QAccessibleInterface child(int index){
return child_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
private native static io.qt.gui.QAccessibleInterface child_native_int_constfct(long __this__nativeId, int index);
/**
* See QAccessibleInterface:: childCount()const
*/
@QtUninvokable
@Override
public int childCount(){
return childCount_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static int childCount_native_constfct(long __this__nativeId);
/**
* See QAccessibleActionInterface:: doAction(QString)
*/
@QtUninvokable
@Override
public void doAction(java.lang.@NonNull String actionName){
doAction_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), actionName);
}
private native static void doAction_native_cref_QString(long __this__nativeId, java.lang.String actionName);
/**
* See QAccessibleInterface:: focusChild()const
*/
@QtUninvokable
@Override
public io.qt.gui.@Nullable QAccessibleInterface focusChild(){
return focusChild_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static io.qt.gui.QAccessibleInterface focusChild_native_constfct(long __this__nativeId);
/**
* See QAccessibleInterface:: foregroundColor()const
*/
@QtUninvokable
@Override
public io.qt.gui.@NonNull QColor foregroundColor(){
return foregroundColor_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static io.qt.gui.QColor foregroundColor_native_constfct(long __this__nativeId);
/**
* See QAccessibleInterface:: indexOfChild(const QAccessibleInterface*)const
*/
@QtUninvokable
@Override
public int indexOfChild(io.qt.gui.@Nullable QAccessibleInterface child){
return indexOfChild_native_const_QAccessibleInterface_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(child));
}
private native static int indexOfChild_native_const_QAccessibleInterface_ptr_constfct(long __this__nativeId, long child);
/**
* See QAccessibleInterface:: isValid()const
*/
@QtUninvokable
@Override
public boolean isValid(){
return isValid_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static boolean isValid_native_constfct(long __this__nativeId);
/**
* See QAccessibleActionInterface:: keyBindingsForAction(QString)const
*/
@QtUninvokable
@Override
public java.util.@NonNull List keyBindingsForAction(java.lang.@NonNull String actionName){
return keyBindingsForAction_native_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), actionName);
}
private native static java.util.List keyBindingsForAction_native_cref_QString_constfct(long __this__nativeId, java.lang.String actionName);
/**
* See QAccessibleActionInterface:: localizedActionDescription(QString)const
*/
@QtUninvokable
public java.lang.@NonNull String localizedActionDescription(java.lang.@NonNull String name){
return localizedActionDescription_native_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), name);
}
private native static java.lang.String localizedActionDescription_native_cref_QString_constfct(long __this__nativeId, java.lang.String name);
/**
* See QAccessibleActionInterface:: localizedActionName(QString)const
*/
@QtUninvokable
public java.lang.@NonNull String localizedActionName(java.lang.@NonNull String name){
return localizedActionName_native_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), name);
}
private native static java.lang.String localizedActionName_native_cref_QString_constfct(long __this__nativeId, java.lang.String name);
/**
* See QAccessibleInterface:: parent()const
*/
@QtUninvokable
@Override
public io.qt.gui.@Nullable QAccessibleInterface parent(){
return parent_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static io.qt.gui.QAccessibleInterface parent_native_constfct(long __this__nativeId);
/**
* See QAccessibleInterface:: rect()const
*/
@QtUninvokable
@Override
public io.qt.core.@NonNull QRect rect(){
return rect_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static io.qt.core.QRect rect_native_constfct(long __this__nativeId);
/**
* See QAccessibleInterface:: relations(QAccessible::Relation)const
*/
@QtUninvokable
@Override
public java.util.@NonNull List> relations(io.qt.gui.QAccessible.@NonNull Relation match){
return relations_native_QAccessible_Relation_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), match.value());
}
private native static java.util.List> relations_native_QAccessible_Relation_constfct(long __this__nativeId, int match);
/**
* See QAccessibleInterface:: role()const
*/
@QtUninvokable
@Override
public io.qt.gui.QAccessible.@NonNull Role role(){
return io.qt.gui.QAccessible.Role.resolve(role_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
private native static int role_native_constfct(long __this__nativeId);
/**
* See QAccessibleInterface:: state()const
*/
@QtUninvokable
@Override
public io.qt.gui.QAccessible.@NonNull State state(){
return state_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static io.qt.gui.QAccessible.State state_native_constfct(long __this__nativeId);
/**
* See QAccessibleInterface:: text(QAccessible::Text)const
*/
@QtUninvokable
@Override
public java.lang.@NonNull String text(io.qt.gui.QAccessible.@NonNull Text t){
return text_native_QAccessible_Text_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), t.value());
}
private native static java.lang.String text_native_QAccessible_Text_constfct(long __this__nativeId, int t);
/**
* See QAccessibleInterface:: window()const
*/
@QtUninvokable
@Override
public io.qt.gui.@Nullable QWindow window(){
return window_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static io.qt.gui.QWindow window_native_constfct(long __this__nativeId);
/**
* See QAccessibleActionInterface:: decreaseAction()
*/
public native static java.lang.@NonNull String decreaseAction();
/**
* See QAccessibleActionInterface:: increaseAction()
*/
public native static java.lang.@NonNull String increaseAction();
/**
* See QAccessibleActionInterface:: nextPageAction()
*/
public native static java.lang.@NonNull String nextPageAction();
/**
* See QAccessibleActionInterface:: pressAction()
*/
public native static java.lang.@NonNull String pressAction();
/**
* See QAccessibleActionInterface:: previousPageAction()
*/
public native static java.lang.@NonNull String previousPageAction();
/**
* See QAccessibleActionInterface:: scrollDownAction()
*/
public native static java.lang.@NonNull String scrollDownAction();
/**
* See QAccessibleActionInterface:: scrollLeftAction()
*/
public native static java.lang.@NonNull String scrollLeftAction();
/**
* See QAccessibleActionInterface:: scrollRightAction()
*/
public native static java.lang.@NonNull String scrollRightAction();
/**
* See QAccessibleActionInterface:: scrollUpAction()
*/
public native static java.lang.@NonNull String scrollUpAction();
/**
* See QAccessibleActionInterface:: setFocusAction()
*/
public native static java.lang.@NonNull String setFocusAction();
/**
* See QAccessibleActionInterface:: showMenuAction()
*/
public native static java.lang.@NonNull String showMenuAction();
/**
* See QAccessibleActionInterface:: toggleAction()
*/
public native static java.lang.@NonNull String toggleAction();
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QAccessibleWidget(QPrivateConstructor p) { super(p); }
/**
* Overloaded constructor for {@link #QAccessibleWidget(io.qt.widgets.QWidget, io.qt.gui.QAccessible.Role, java.lang.String)}
* with name = (String)null
.
*/
public QAccessibleWidget(io.qt.widgets.@Nullable QWidget o, io.qt.gui.QAccessible.@NonNull Role r) {
this(o, r, (String)null);
}
/**
* Overloaded constructor for {@link #QAccessibleWidget(io.qt.widgets.QWidget, io.qt.gui.QAccessible.Role, java.lang.String)}
* with:
* r = io.qt.gui.QAccessible.Role.Client
* name = (String)null
*
*/
public QAccessibleWidget(io.qt.widgets.@Nullable QWidget o) {
this(o, io.qt.gui.QAccessible.Role.Client, (String)null);
}
}