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

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

The newest version!
package io.qt.gui;


/**
 * 

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 io.qt.QtEnumerator { ModelReset(0), DataChanged(1), RowsInserted(2), ColumnsInserted(3), RowsRemoved(4), ColumnsRemoved(5); 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 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 io.qt.QNoSuchEnumValueException(value); } } private final int value; } /** *

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

*/ public QAccessibleTableModelChangeEvent(io.qt.gui.QAccessibleInterface iface, io.qt.gui.QAccessibleTableModelChangeEvent.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.QObject obj, io.qt.gui.QAccessibleTableModelChangeEvent.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

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

See QAccessibleTableModelChangeEvent::firstRow()const

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

See QAccessibleTableModelChangeEvent::lastColumn()const

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

See QAccessibleTableModelChangeEvent::lastRow()const

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

See QAccessibleTableModelChangeEvent::modelChangeType()const

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

See QAccessibleTableModelChangeEvent::setFirstColumn(int)

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

See QAccessibleTableModelChangeEvent::setFirstRow(int)

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

See QAccessibleTableModelChangeEvent::setLastColumn(int)

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

See QAccessibleTableModelChangeEvent::setLastRow(int)

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

See QAccessibleTableModelChangeEvent::setModelChangeType(QAccessibleTableModelChangeEvent::ModelChangeType)

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy