io.qt.gui.QAccessibleSelectionInterface Maven / Gradle / Ivy
Show all versions of qtjambi Show documentation
package io.qt.gui;
import io.qt.*;
/**
* Implements support for selection handling
* Java wrapper for Qt class QAccessibleSelectionInterface
*/
public interface QAccessibleSelectionInterface extends QtObjectInterface
{
/**
* @hidden
* Implementor class for interface {@link io.qt.gui.QAccessibleSelectionInterface}
*/
public static abstract class Impl extends QtObject
implements io.qt.gui.QAccessibleSelectionInterface
{
static {
QtJambi_LibraryUtilities.initialize();
}
@NativeAccess
private static final class ConcreteWrapper extends QAccessibleSelectionInterface.Impl {
@NativeAccess
private ConcreteWrapper(QPrivateConstructor p) { super(p); }
@Override
@QtUninvokable
public boolean clear(){
return clear_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static boolean clear_native(long __this__nativeId);
@Override
@QtUninvokable
public boolean select(io.qt.gui.@Nullable QAccessibleInterface childItem){
return select_native_QAccessibleInterface_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(childItem));
}
private native static boolean select_native_QAccessibleInterface_ptr(long __this__nativeId, long childItem);
@Override
@QtUninvokable
public boolean selectAll(){
return selectAll_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static boolean selectAll_native(long __this__nativeId);
@Override
@QtUninvokable
public int selectedItemCount(){
return selectedItemCount_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static int selectedItemCount_native_constfct(long __this__nativeId);
@Override
@QtUninvokable
public java.util.@NonNull List selectedItems(){
return selectedItems_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static java.util.List selectedItems_native_constfct(long __this__nativeId);
@Override
@QtUninvokable
public boolean unselect(io.qt.gui.@Nullable QAccessibleInterface childItem){
return unselect_native_QAccessibleInterface_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(childItem));
}
private native static boolean unselect_native_QAccessibleInterface_ptr(long __this__nativeId, long childItem);
}
/**
* See QAccessibleSelectionInterface:: QAccessibleSelectionInterface()
*/
public Impl(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QAccessibleSelectionInterface instance);
/**
* See QAccessibleSelectionInterface:: clear()
*/
@QtUninvokable
public abstract boolean clear();
private native static boolean clear_native(long __this__nativeId);
/**
* See QAccessibleSelectionInterface:: isSelected(QAccessibleInterface*)const
*/
@QtUninvokable
public boolean isSelected(io.qt.gui.@Nullable QAccessibleInterface childItem){
return isSelected_native_QAccessibleInterface_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(childItem));
}
private native static boolean isSelected_native_QAccessibleInterface_ptr_constfct(long __this__nativeId, long childItem);
/**
* See QAccessibleSelectionInterface:: select(QAccessibleInterface*)
*/
@QtUninvokable
public abstract boolean select(io.qt.gui.@Nullable QAccessibleInterface childItem);
private native static boolean select_native_QAccessibleInterface_ptr(long __this__nativeId, long childItem);
/**
* See QAccessibleSelectionInterface:: selectAll()
*/
@QtUninvokable
public abstract boolean selectAll();
private native static boolean selectAll_native(long __this__nativeId);
/**
* See QAccessibleSelectionInterface:: selectedItem(int)const
*/
@QtUninvokable
public io.qt.gui.@Nullable QAccessibleInterface selectedItem(int selectionIndex){
return selectedItem_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), selectionIndex);
}
private native static io.qt.gui.QAccessibleInterface selectedItem_native_int_constfct(long __this__nativeId, int selectionIndex);
/**
* See QAccessibleSelectionInterface:: selectedItemCount()const
*/
@QtUninvokable
public abstract int selectedItemCount();
private native static int selectedItemCount_native_constfct(long __this__nativeId);
/**
* See QAccessibleSelectionInterface:: selectedItems()const
*/
@QtUninvokable
public abstract java.util.@NonNull List selectedItems();
private native static java.util.List selectedItems_native_constfct(long __this__nativeId);
/**
* See QAccessibleSelectionInterface:: unselect(QAccessibleInterface*)
*/
@QtUninvokable
public abstract boolean unselect(io.qt.gui.@Nullable QAccessibleInterface childItem);
private native static boolean unselect_native_QAccessibleInterface_ptr(long __this__nativeId, long childItem);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected Impl(QPrivateConstructor p) { super(p); }
}
/**
* See QAccessibleSelectionInterface:: clear()
*/
@QtUninvokable
public boolean clear();
/**
* See QAccessibleSelectionInterface:: isSelected(QAccessibleInterface*)const
*/
@QtUninvokable
public default boolean isSelected(io.qt.gui.@Nullable QAccessibleInterface childItem){
return Impl.isSelected_native_QAccessibleInterface_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(childItem));
}
/**
* See QAccessibleSelectionInterface:: select(QAccessibleInterface*)
*/
@QtUninvokable
public boolean select(io.qt.gui.@Nullable QAccessibleInterface childItem);
/**
* See QAccessibleSelectionInterface:: selectAll()
*/
@QtUninvokable
public boolean selectAll();
/**
* See QAccessibleSelectionInterface:: selectedItem(int)const
*/
@QtUninvokable
public default io.qt.gui.@Nullable QAccessibleInterface selectedItem(int selectionIndex){
return Impl.selectedItem_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), selectionIndex);
}
/**
* See QAccessibleSelectionInterface:: selectedItemCount()const
*/
@QtUninvokable
public int selectedItemCount();
/**
* See QAccessibleSelectionInterface:: selectedItems()const
*/
@QtUninvokable
public java.util.@NonNull List selectedItems();
/**
* See QAccessibleSelectionInterface:: unselect(QAccessibleInterface*)
*/
@QtUninvokable
public boolean unselect(io.qt.gui.@Nullable QAccessibleInterface childItem);
}