io.qt.core.QItemSelectionRange Maven / Gradle / Ivy
Show all versions of qtjambi Show documentation
package io.qt.core;
/**
* Manages information about a range of selected items in a model
* Java wrapper for Qt class QItemSelectionRange
*/
public class QItemSelectionRange extends io.qt.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(QModelIndex)
*/
public QItemSelectionRange(io.qt.core.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.QModelIndex topL, io.qt.core.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
*/
@io.qt.QtUninvokable
public final int bottom(){
return bottom_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int bottom_native_constfct(long __this__nativeId);
/**
* See QItemSelectionRange::bottomRight()const
*/
@io.qt.QtUninvokable
public final io.qt.core.QPersistentModelIndex bottomRight(){
return bottomRight_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QPersistentModelIndex bottomRight_native_constfct(long __this__nativeId);
/**
* See QItemSelectionRange::contains(QModelIndex)const
*/
@io.qt.QtUninvokable
public final boolean contains(io.qt.core.QModelIndex index){
return contains_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
@io.qt.QtUninvokable
private native boolean contains_native_cref_QModelIndex_constfct(long __this__nativeId, io.qt.core.QModelIndex index);
/**
* See QItemSelectionRange::contains(int,int,QModelIndex)const
*/
@io.qt.QtUninvokable
public final boolean contains(int row, int column, io.qt.core.QModelIndex parentIndex){
return contains_native_int_int_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), row, column, parentIndex);
}
@io.qt.QtUninvokable
private native boolean contains_native_int_int_cref_QModelIndex_constfct(long __this__nativeId, int row, int column, io.qt.core.QModelIndex parentIndex);
/**
* See QItemSelectionRange::height()const
*/
@io.qt.QtUninvokable
public final int height(){
return height_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int height_native_constfct(long __this__nativeId);
/**
* See QItemSelectionRange::indexes()const
*/
@io.qt.QtUninvokable
public final io.qt.core.QList indexes(){
return indexes_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QList indexes_native_constfct(long __this__nativeId);
/**
* See QItemSelectionRange::intersected(QItemSelectionRange)const
*/
@io.qt.QtUninvokable
public final io.qt.core.QItemSelectionRange intersected(io.qt.core.QItemSelectionRange other){
return intersected_native_cref_QItemSelectionRange_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@io.qt.QtUninvokable
private native io.qt.core.QItemSelectionRange intersected_native_cref_QItemSelectionRange_constfct(long __this__nativeId, long other);
/**
* See QItemSelectionRange::intersects(QItemSelectionRange)const
*/
@io.qt.QtUninvokable
public final boolean intersects(io.qt.core.QItemSelectionRange other){
return intersects_native_cref_QItemSelectionRange_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@io.qt.QtUninvokable
private native boolean intersects_native_cref_QItemSelectionRange_constfct(long __this__nativeId, long other);
/**
* See QItemSelectionRange::isEmpty()const
*/
@io.qt.QtUninvokable
public final boolean isEmpty(){
return isEmpty_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean isEmpty_native_constfct(long __this__nativeId);
/**
* See QItemSelectionRange::isValid()const
*/
@io.qt.QtUninvokable
public final boolean isValid(){
return isValid_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean isValid_native_constfct(long __this__nativeId);
/**
* See QItemSelectionRange::left()const
*/
@io.qt.QtUninvokable
public final int left(){
return left_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int left_native_constfct(long __this__nativeId);
/**
* See QItemSelectionRange::model()const
*/
@io.qt.QtUninvokable
public final io.qt.core.QAbstractItemModel model(){
return model_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QAbstractItemModel model_native_constfct(long __this__nativeId);
/**
* See QItemSelectionRange::operator==(QItemSelectionRange)const
*/
@io.qt.QtUninvokable
private final boolean operator_equal(io.qt.core.QItemSelectionRange other){
return operator_equal_native_cref_QItemSelectionRange_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@io.qt.QtUninvokable
private native boolean operator_equal_native_cref_QItemSelectionRange_constfct(long __this__nativeId, long other);
/**
* See QItemSelectionRange::parent()const
*/
@io.qt.QtUninvokable
public final io.qt.core.QModelIndex parent(){
return parent_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QModelIndex parent_native_constfct(long __this__nativeId);
/**
* See QItemSelectionRange::right()const
*/
@io.qt.QtUninvokable
public final int right(){
return right_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int right_native_constfct(long __this__nativeId);
/**
* See QItemSelectionRange::swap(QItemSelectionRange&)
*/
@io.qt.QtUninvokable
public final void swap(io.qt.core.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));
}
@io.qt.QtUninvokable
private native void swap_native_ref_QItemSelectionRange(long __this__nativeId, long other);
/**
* See QItemSelectionRange::top()const
*/
@io.qt.QtUninvokable
public final int top(){
return top_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int top_native_constfct(long __this__nativeId);
/**
* See QItemSelectionRange::topLeft()const
*/
@io.qt.QtUninvokable
public final io.qt.core.QPersistentModelIndex topLeft(){
return topLeft_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QPersistentModelIndex topLeft_native_constfct(long __this__nativeId);
/**
* See QItemSelectionRange::width()const
*/
@io.qt.QtUninvokable
public final int width(){
return width_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int width_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QItemSelectionRange(QPrivateConstructor p) { super(p); }
@Override
@io.qt.QtUninvokable
public boolean equals(Object other) {
if (other instanceof io.qt.core.QItemSelectionRange) {
return operator_equal((io.qt.core.QItemSelectionRange) other);
}
return false;
}
@io.qt.QtUninvokable
@Override
public int hashCode() {
return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native static int hashCode_native(long __this_nativeId);
@Override
@io.qt.QtUninvokable
public String toString() {
return toString_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private static native String toString_native(long __this_nativeId);
@Override
public QItemSelectionRange clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native QItemSelectionRange clone_native(long __this_nativeId);
}