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

io.qt.core.QItemSelectionRange Maven / Gradle / Ivy

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

import io.qt.*;


/**
 * 

Manages information about a range of selected items in a model

*

Java wrapper for Qt class QItemSelectionRange

*/ public class QItemSelectionRange extends QtObject implements java.lang.Cloneable { static { QtJambi_LibraryUtilities.initialize(); } /** *

See QItemSelectionRange::QItemSelectionRange()

*/ public QItemSelectionRange(){ super((QPrivateConstructor)null); initialize_native(this); } private native static void initialize_native(QItemSelectionRange instance); /** *

See QItemSelectionRange::QItemSelectionRange(QItemSelectionRange)

*/ public QItemSelectionRange(io.qt.core.@NonNull QItemSelectionRange other){ super((QPrivateConstructor)null); initialize_native(this, other); } private native static void initialize_native(QItemSelectionRange instance, io.qt.core.QItemSelectionRange other); /** *

See QItemSelectionRange::QItemSelectionRange(QModelIndex)

*/ public QItemSelectionRange(io.qt.core.@NonNull QModelIndex index){ super((QPrivateConstructor)null); initialize_native(this, index); } private native static void initialize_native(QItemSelectionRange instance, io.qt.core.QModelIndex index); /** *

See QItemSelectionRange::QItemSelectionRange(QModelIndex,QModelIndex)

*/ public QItemSelectionRange(io.qt.core.@NonNull QModelIndex topL, io.qt.core.@NonNull QModelIndex bottomR){ super((QPrivateConstructor)null); initialize_native(this, topL, bottomR); } private native static void initialize_native(QItemSelectionRange instance, io.qt.core.QModelIndex topL, io.qt.core.QModelIndex bottomR); /** *

See QItemSelectionRange::bottom()const

*/ @QtUninvokable public final int bottom(){ return bottom_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int bottom_native_constfct(long __this__nativeId); /** *

See QItemSelectionRange::bottomRight()const

*/ @QtUninvokable public final io.qt.core.@NonNull QPersistentModelIndex bottomRight(){ return bottomRight_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QPersistentModelIndex bottomRight_native_constfct(long __this__nativeId); /** *

See QItemSelectionRange::contains(QModelIndex)const

*/ @QtUninvokable public final boolean contains(io.qt.core.@NonNull QModelIndex index){ return contains_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(index)); } @QtUninvokable private native boolean contains_native_cref_QModelIndex_constfct(long __this__nativeId, long index); /** *

See QItemSelectionRange::contains(int,int,QModelIndex)const

*/ @QtUninvokable public final boolean contains(int row, int column, io.qt.core.@NonNull QModelIndex parentIndex){ return contains_native_int_int_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), row, column, QtJambi_LibraryUtilities.internal.checkedNativeId(parentIndex)); } @QtUninvokable private native boolean contains_native_int_int_cref_QModelIndex_constfct(long __this__nativeId, int row, int column, long parentIndex); /** *

See QItemSelectionRange::height()const

*/ @QtUninvokable public final int height(){ return height_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int height_native_constfct(long __this__nativeId); /** *

See QItemSelectionRange::indexes()const

*/ @QtUninvokable public final io.qt.core.@NonNull QList indexes(){ return indexes_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QList indexes_native_constfct(long __this__nativeId); /** *

See QItemSelectionRange::intersected(QItemSelectionRange)const

*/ @QtUninvokable public final io.qt.core.@NonNull QItemSelectionRange intersected(io.qt.core.@NonNull QItemSelectionRange other){ return intersected_native_cref_QItemSelectionRange_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @QtUninvokable private native io.qt.core.QItemSelectionRange intersected_native_cref_QItemSelectionRange_constfct(long __this__nativeId, long other); /** *

See QItemSelectionRange::intersects(QItemSelectionRange)const

*/ @QtUninvokable public final boolean intersects(io.qt.core.@NonNull QItemSelectionRange other){ return intersects_native_cref_QItemSelectionRange_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @QtUninvokable private native boolean intersects_native_cref_QItemSelectionRange_constfct(long __this__nativeId, long other); /** *

See QItemSelectionRange::isEmpty()const

*/ @QtUninvokable public final boolean isEmpty(){ return isEmpty_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isEmpty_native_constfct(long __this__nativeId); /** *

See QItemSelectionRange::isValid()const

*/ @QtUninvokable public final boolean isValid(){ return isValid_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isValid_native_constfct(long __this__nativeId); /** *

See QItemSelectionRange::left()const

*/ @QtUninvokable public final int left(){ return left_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int left_native_constfct(long __this__nativeId); /** *

See QItemSelectionRange::model()const

*/ @QtUninvokable public final io.qt.core.@Nullable QAbstractItemModel model(){ return model_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QAbstractItemModel model_native_constfct(long __this__nativeId); /** *

See QItemSelectionRange::operator==(QItemSelectionRange)const

*/ @QtUninvokable public final boolean equals(io.qt.core.@NonNull QItemSelectionRange other){ return equals_native_cref_QItemSelectionRange_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @QtUninvokable private native boolean equals_native_cref_QItemSelectionRange_constfct(long __this__nativeId, long other); /** *

See QItemSelectionRange::parent()const

*/ @QtUninvokable public final io.qt.core.@NonNull QModelIndex parent(){ return parent_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QModelIndex parent_native_constfct(long __this__nativeId); /** *

See QItemSelectionRange::right()const

*/ @QtUninvokable public final int right(){ return right_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int right_native_constfct(long __this__nativeId); /** *

See QItemSelectionRange::swap(QItemSelectionRange&)

*/ @QtUninvokable public final void swap(io.qt.core.@StrictNonNull QItemSelectionRange other){ java.util.Objects.requireNonNull(other, "Argument 'other': null not expected."); swap_native_ref_QItemSelectionRange(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @QtUninvokable private native void swap_native_ref_QItemSelectionRange(long __this__nativeId, long other); /** *

See QItemSelectionRange::top()const

*/ @QtUninvokable public final int top(){ return top_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int top_native_constfct(long __this__nativeId); /** *

See QItemSelectionRange::topLeft()const

*/ @QtUninvokable public final io.qt.core.@NonNull QPersistentModelIndex topLeft(){ return topLeft_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QPersistentModelIndex topLeft_native_constfct(long __this__nativeId); /** *

See QItemSelectionRange::width()const

*/ @QtUninvokable public final int width(){ return width_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int width_native_constfct(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QItemSelectionRange(QPrivateConstructor p) { super(p); } /** *

See QItemSelectionRange::operator==(QItemSelectionRange)const

*/ @Override @QtUninvokable public boolean equals(Object other) { if (other instanceof io.qt.core.QItemSelectionRange) { return equals((io.qt.core.QItemSelectionRange) other); } return false; } /** * Returns the objects's hash code computed by qHash(QItemSelectionRange). */ @QtUninvokable @Override public int hashCode() { return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native static int hashCode_native(long __this_nativeId); /** *

See operator<<(QDebug,QItemSelectionRange)

*/ @QtUninvokable @Override public @NonNull String toString() { return toString_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private static native String toString_native(long __this_nativeId); /** *

Creates and returns a copy of this object.

See QItemSelectionRange::QItemSelectionRange(QItemSelectionRange)

*/ @QtUninvokable @Override public QItemSelectionRange clone() { return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private static native QItemSelectionRange clone_native(long __this_nativeId); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy