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

io.qt.gui.QAccessibleObject Maven / Gradle / Ivy

There is a newer version: 6.8.0
Show newest version
package io.qt.gui;

import io.qt.*;


/**
 * 

Implements parts of the QAccessibleInterface for QObjects

*

Java wrapper for Qt class QAccessibleObject

*/ public abstract class QAccessibleObject extends QtObject implements io.qt.gui.QAccessibleInterface { static { QtJambi_LibraryUtilities.initialize(); } @NativeAccess private static final class ConcreteWrapper extends QAccessibleObject { @NativeAccess private ConcreteWrapper(QPrivateConstructor p) { super(p); } @Override @QtUninvokable 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); @Override @QtUninvokable public int childCount(){ return childCount_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static int childCount_native_constfct(long __this__nativeId); @Override @QtUninvokable public int indexOfChild(io.qt.gui.@Nullable QAccessibleInterface arg__1){ return indexOfChild_native_const_QAccessibleInterface_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } private native static int indexOfChild_native_const_QAccessibleInterface_ptr_constfct(long __this__nativeId, long arg__1); @Override @QtUninvokable 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); @Override @QtUninvokable 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); @Override @QtUninvokable 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); @Override @QtUninvokable 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 QAccessibleObject::QAccessibleObject(QObject*)

*/ public QAccessibleObject(io.qt.core.@Nullable QObject object){ super((QPrivateConstructor)null); initialize_native(this, object); } private native static void initialize_native(QAccessibleObject instance, io.qt.core.QObject object); /** *

See QAccessibleInterface::actionInterface()

*/ @QtUninvokable public final io.qt.gui.@Nullable QAccessibleActionInterface actionInterface(){ return actionInterface_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static io.qt.gui.QAccessibleActionInterface actionInterface_native(long __this__nativeId); /** *

See QAccessibleInterface::editableTextInterface()

*/ @QtUninvokable public final io.qt.gui.@Nullable QAccessibleEditableTextInterface editableTextInterface(){ return editableTextInterface_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static io.qt.gui.QAccessibleEditableTextInterface editableTextInterface_native(long __this__nativeId); /** *

See QAccessibleInterface::hyperlinkInterface()

*/ @QtUninvokable public final io.qt.gui.@Nullable QAccessibleHyperlinkInterface hyperlinkInterface(){ return hyperlinkInterface_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static io.qt.gui.QAccessibleHyperlinkInterface hyperlinkInterface_native(long __this__nativeId); /** *

See QAccessibleInterface::imageInterface()

*/ @QtUninvokable public final io.qt.gui.@Nullable QAccessibleImageInterface imageInterface(){ return imageInterface_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static io.qt.gui.QAccessibleImageInterface imageInterface_native(long __this__nativeId); /** *

See QAccessibleInterface::selectionInterface()

*/ @QtUninvokable public final io.qt.gui.@Nullable QAccessibleSelectionInterface selectionInterface(){ return selectionInterface_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static io.qt.gui.QAccessibleSelectionInterface selectionInterface_native(long __this__nativeId); /** *

See QAccessibleInterface::tableCellInterface()

*/ @QtUninvokable public final io.qt.gui.@Nullable QAccessibleTableCellInterface tableCellInterface(){ return tableCellInterface_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static io.qt.gui.QAccessibleTableCellInterface tableCellInterface_native(long __this__nativeId); /** *

See QAccessibleInterface::tableInterface()

*/ @QtUninvokable public final io.qt.gui.@Nullable QAccessibleTableInterface tableInterface(){ return tableInterface_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static io.qt.gui.QAccessibleTableInterface tableInterface_native(long __this__nativeId); /** *

See QAccessibleInterface::textInterface()

*/ @QtUninvokable public final io.qt.gui.@Nullable QAccessibleTextInterface textInterface(){ return textInterface_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static io.qt.gui.QAccessibleTextInterface textInterface_native(long __this__nativeId); /** *

See QAccessibleInterface::valueInterface()

*/ @QtUninvokable public final io.qt.gui.@Nullable QAccessibleValueInterface valueInterface(){ return valueInterface_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static io.qt.gui.QAccessibleValueInterface valueInterface_native(long __this__nativeId); /** *

See QAccessibleInterface::backgroundColor()const

*/ @QtUninvokable 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 public abstract io.qt.gui.@Nullable QAccessibleInterface child(int index); private native static io.qt.gui.QAccessibleInterface child_native_int_constfct(long __this__nativeId, int index); /** *

See QAccessibleInterface::childAt(int,int)const

*/ @QtUninvokable @Override public io.qt.gui.@Nullable QAccessibleInterface childAt(int x, int y){ return childAt_native_int_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), x, y); } private native static io.qt.gui.QAccessibleInterface childAt_native_int_int_constfct(long __this__nativeId, int x, int y); /** *

See QAccessibleInterface::childCount()const

*/ @QtUninvokable public abstract int childCount(); private native static int childCount_native_constfct(long __this__nativeId); /** *

See QAccessibleInterface::focusChild()const

*/ @QtUninvokable 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 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 public abstract int indexOfChild(io.qt.gui.@Nullable QAccessibleInterface arg__1); private native static int indexOfChild_native_const_QAccessibleInterface_ptr_constfct(long __this__nativeId, long arg__1); /** *

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 QAccessibleInterface::object()const

*/ @QtUninvokable @Override public io.qt.core.@Nullable QObject object(){ return object_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static io.qt.core.QObject object_native_constfct(long __this__nativeId); /** *

See QAccessibleInterface::parent()const

*/ @QtUninvokable public abstract io.qt.gui.@Nullable QAccessibleInterface parent(); 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 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 public abstract io.qt.gui.QAccessible.@NonNull Role role(); private native static int role_native_constfct(long __this__nativeId); /** *

See QAccessibleInterface::setText(QAccessible::Text,QString)

*/ @QtUninvokable @Override public void setText(io.qt.gui.QAccessible.@NonNull Text t, java.lang.@NonNull String text){ setText_native_QAccessible_Text_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), t.value(), text); } private native static void setText_native_QAccessible_Text_cref_QString(long __this__nativeId, int t, java.lang.String text); /** *

See QAccessibleInterface::state()const

*/ @QtUninvokable public abstract io.qt.gui.QAccessible.@NonNull State state(); private native static io.qt.gui.QAccessible.State state_native_constfct(long __this__nativeId); /** *

See QAccessibleInterface::text(QAccessible::Text)const

*/ @QtUninvokable public abstract java.lang.@NonNull String text(io.qt.gui.QAccessible.@NonNull Text t); private native static java.lang.String text_native_QAccessible_Text_constfct(long __this__nativeId, int t); /** *

See QAccessibleInterface::window()const

*/ @QtUninvokable 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); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QAccessibleObject(QPrivateConstructor p) { super(p); } /** *

Overloaded function for {@link #relations(io.qt.gui.QAccessible.Relation)} * with match = new io.qt.gui.QAccessible.Relation(-1).

*/ @QtUninvokable public final java.util.@NonNull List> relations() { return relations(new io.qt.gui.QAccessible.Relation(-1)); } /** *

Overloaded function for {@link #relations(io.qt.gui.QAccessible.Relation)}.

*/ @QtUninvokable public final java.util.@NonNull List> relations(io.qt.gui.QAccessible.@NonNull RelationFlag @NonNull... match) { return relations(new io.qt.gui.QAccessible.Relation(match)); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy