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

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

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

import io.qt.*;


/**
 * 

Signifies a change in a table, list, or tree where cells are added or removed. If the change affected a number of rows, firstColumn and lastColumn will return -1. Likewise for columns, the row functions may return -1

*

Java wrapper for Qt class QAccessibleTableModelChangeEvent

*/ public class QAccessibleTableModelChangeEvent extends io.qt.gui.QAccessibleEvent { /** *

Java wrapper for Qt enum QAccessibleTableModelChangeEvent::ModelChangeType

*/ public enum ModelChangeType implements QtEnumerator { /** *

Representing QAccessibleTableModelChangeEvent::ModelReset

*/ ModelReset(0), /** *

Representing QAccessibleTableModelChangeEvent::DataChanged

*/ DataChanged(1), /** *

Representing QAccessibleTableModelChangeEvent::RowsInserted

*/ RowsInserted(2), /** *

Representing QAccessibleTableModelChangeEvent::ColumnsInserted

*/ ColumnsInserted(3), /** *

Representing QAccessibleTableModelChangeEvent::RowsRemoved

*/ RowsRemoved(4), /** *

Representing QAccessibleTableModelChangeEvent::ColumnsRemoved

*/ ColumnsRemoved(5); static { QtJambi_LibraryUtilities.initialize(); } private ModelChangeType(int value) { this.value = value; } /** * {@inheritDoc} */ public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull ModelChangeType resolve(int value) { switch (value) { case 0: return ModelReset; case 1: return DataChanged; case 2: return RowsInserted; case 3: return ColumnsInserted; case 4: return RowsRemoved; case 5: return ColumnsRemoved; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

See QAccessibleTableModelChangeEvent::QAccessibleTableModelChangeEvent(QAccessibleInterface*,QAccessibleTableModelChangeEvent::ModelChangeType)

*/ public QAccessibleTableModelChangeEvent(io.qt.gui.@Nullable QAccessibleInterface iface, io.qt.gui.QAccessibleTableModelChangeEvent.@NonNull ModelChangeType changeType){ super((QPrivateConstructor)null); initialize_native(this, iface, changeType); } private native static void initialize_native(QAccessibleTableModelChangeEvent instance, io.qt.gui.QAccessibleInterface iface, io.qt.gui.QAccessibleTableModelChangeEvent.ModelChangeType changeType); /** *

See QAccessibleTableModelChangeEvent::QAccessibleTableModelChangeEvent(QObject*,QAccessibleTableModelChangeEvent::ModelChangeType)

*/ public QAccessibleTableModelChangeEvent(io.qt.core.@Nullable QObject obj, io.qt.gui.QAccessibleTableModelChangeEvent.@NonNull ModelChangeType changeType){ super((QPrivateConstructor)null); initialize_native(this, obj, changeType); } private native static void initialize_native(QAccessibleTableModelChangeEvent instance, io.qt.core.QObject obj, io.qt.gui.QAccessibleTableModelChangeEvent.ModelChangeType changeType); /** *

See QAccessibleTableModelChangeEvent::firstColumn()const

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

See QAccessibleTableModelChangeEvent::firstRow()const

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

See QAccessibleTableModelChangeEvent::lastColumn()const

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

See QAccessibleTableModelChangeEvent::lastRow()const

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

See QAccessibleTableModelChangeEvent::modelChangeType()const

*/ @QtUninvokable public final io.qt.gui.QAccessibleTableModelChangeEvent.@NonNull ModelChangeType modelChangeType(){ return io.qt.gui.QAccessibleTableModelChangeEvent.ModelChangeType.resolve(modelChangeType_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int modelChangeType_native_constfct(long __this__nativeId); /** *

See QAccessibleTableModelChangeEvent::setFirstColumn(int)

*/ @QtUninvokable public final void setFirstColumn(int col){ setFirstColumn_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), col); } @QtUninvokable private native void setFirstColumn_native_int(long __this__nativeId, int col); /** *

See QAccessibleTableModelChangeEvent::setFirstRow(int)

*/ @QtUninvokable public final void setFirstRow(int row){ setFirstRow_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), row); } @QtUninvokable private native void setFirstRow_native_int(long __this__nativeId, int row); /** *

See QAccessibleTableModelChangeEvent::setLastColumn(int)

*/ @QtUninvokable public final void setLastColumn(int col){ setLastColumn_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), col); } @QtUninvokable private native void setLastColumn_native_int(long __this__nativeId, int col); /** *

See QAccessibleTableModelChangeEvent::setLastRow(int)

*/ @QtUninvokable public final void setLastRow(int row){ setLastRow_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), row); } @QtUninvokable private native void setLastRow_native_int(long __this__nativeId, int row); /** *

See QAccessibleTableModelChangeEvent::setModelChangeType(QAccessibleTableModelChangeEvent::ModelChangeType)

*/ @QtUninvokable public final void setModelChangeType(io.qt.gui.QAccessibleTableModelChangeEvent.@NonNull ModelChangeType changeType){ setModelChangeType_native_QAccessibleTableModelChangeEvent_ModelChangeType(QtJambi_LibraryUtilities.internal.nativeId(this), changeType.value()); } @QtUninvokable private native void setModelChangeType_native_QAccessibleTableModelChangeEvent_ModelChangeType(long __this__nativeId, int changeType); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QAccessibleTableModelChangeEvent(QPrivateConstructor p) { super(p); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy