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

io.qt.widgets.QTableView Maven / Gradle / Ivy

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

import io.qt.*;


/**
 * 

Default model/view implementation of a table view

*

Java wrapper for Qt class QTableView

*/ public class QTableView extends io.qt.widgets.QAbstractItemView { /** * This variable stores the meta-object for the class. */ public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QTableView.class); /** *

See QTableView::QTableView(QWidget*)

*/ public QTableView(io.qt.widgets.@Nullable QWidget parent){ super((QPrivateConstructor)null); initialize_native(this, parent); } private native static void initialize_native(QTableView instance, io.qt.widgets.QWidget parent); /** *

See QTableView::clearSpans()

*/ @QtUninvokable public final void clearSpans(){ clearSpans_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void clearSpans_native(long __this__nativeId); /** *

See QTableView::columnAt(int)const

*/ @QtUninvokable public final int columnAt(int x){ return columnAt_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), x); } @QtUninvokable private native int columnAt_native_int_constfct(long __this__nativeId, int x); /** *

See QTableView::columnCountChanged(int,int)

*/ protected final void columnCountChanged(int oldCount, int newCount){ columnCountChanged_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), oldCount, newCount); } private native void columnCountChanged_native_int_int(long __this__nativeId, int oldCount, int newCount); /** *

See QTableView::columnMoved(int,int,int)

*/ protected final void columnMoved(int column, int oldIndex, int newIndex){ columnMoved_native_int_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), column, oldIndex, newIndex); } private native void columnMoved_native_int_int_int(long __this__nativeId, int column, int oldIndex, int newIndex); /** *

See QTableView::columnResized(int,int,int)

*/ protected final void columnResized(int column, int oldWidth, int newWidth){ columnResized_native_int_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), column, oldWidth, newWidth); } private native void columnResized_native_int_int_int(long __this__nativeId, int column, int oldWidth, int newWidth); /** *

See QTableView::columnSpan(int,int)const

*/ @QtUninvokable public final int columnSpan(int row, int column){ return columnSpan_native_int_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), row, column); } @QtUninvokable private native int columnSpan_native_int_int_constfct(long __this__nativeId, int row, int column); /** *

See QTableView::columnViewportPosition(int)const

*/ @QtUninvokable public final int columnViewportPosition(int column){ return columnViewportPosition_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), column); } @QtUninvokable private native int columnViewportPosition_native_int_constfct(long __this__nativeId, int column); /** *

See QTableView::columnWidth(int)const

*/ @QtUninvokable public final int columnWidth(int column){ return columnWidth_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), column); } @QtUninvokable private native int columnWidth_native_int_constfct(long __this__nativeId, int column); /** *

See QTableView::gridStyle()const

*/ @QtPropertyReader(name="gridStyle") @QtUninvokable public final io.qt.core.Qt.@NonNull PenStyle gridStyle(){ return io.qt.core.Qt.PenStyle.resolve(gridStyle_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int gridStyle_native_constfct(long __this__nativeId); /** *

See QTableView::hideColumn(int)

*/ public final void hideColumn(int column){ hideColumn_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), column); } private native void hideColumn_native_int(long __this__nativeId, int column); /** *

See QTableView::hideRow(int)

*/ public final void hideRow(int row){ hideRow_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), row); } private native void hideRow_native_int(long __this__nativeId, int row); /** *

See QTableView::horizontalHeader()const

*/ @QtUninvokable public final io.qt.widgets.@Nullable QHeaderView horizontalHeader(){ return horizontalHeader_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.widgets.QHeaderView horizontalHeader_native_constfct(long __this__nativeId); /** *

See QTableView::isColumnHidden(int)const

*/ @QtUninvokable public final boolean isColumnHidden(int column){ return isColumnHidden_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), column); } @QtUninvokable private native boolean isColumnHidden_native_int_constfct(long __this__nativeId, int column); /** *

See QTableView::isCornerButtonEnabled()const

*/ @QtPropertyReader(name="cornerButtonEnabled") @QtUninvokable public final boolean isCornerButtonEnabled(){ return isCornerButtonEnabled_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isCornerButtonEnabled_native_constfct(long __this__nativeId); /** *

See QTableView::isRowHidden(int)const

*/ @QtUninvokable public final boolean isRowHidden(int row){ return isRowHidden_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), row); } @QtUninvokable private native boolean isRowHidden_native_int_constfct(long __this__nativeId, int row); /** *

See QTableView::isSortingEnabled()const

*/ @QtPropertyReader(name="sortingEnabled") @QtUninvokable public final boolean isSortingEnabled(){ return isSortingEnabled_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isSortingEnabled_native_constfct(long __this__nativeId); /** *

See QTableView::resizeColumnToContents(int)

*/ public final void resizeColumnToContents(int column){ resizeColumnToContents_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), column); } private native void resizeColumnToContents_native_int(long __this__nativeId, int column); /** *

See QTableView::resizeColumnsToContents()

*/ public final void resizeColumnsToContents(){ resizeColumnsToContents_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native void resizeColumnsToContents_native(long __this__nativeId); /** *

See QTableView::resizeRowToContents(int)

*/ public final void resizeRowToContents(int row){ resizeRowToContents_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), row); } private native void resizeRowToContents_native_int(long __this__nativeId, int row); /** *

See QTableView::resizeRowsToContents()

*/ public final void resizeRowsToContents(){ resizeRowsToContents_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native void resizeRowsToContents_native(long __this__nativeId); /** *

See QTableView::rowAt(int)const

*/ @QtUninvokable public final int rowAt(int y){ return rowAt_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), y); } @QtUninvokable private native int rowAt_native_int_constfct(long __this__nativeId, int y); /** *

See QTableView::rowCountChanged(int,int)

*/ protected final void rowCountChanged(int oldCount, int newCount){ rowCountChanged_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), oldCount, newCount); } private native void rowCountChanged_native_int_int(long __this__nativeId, int oldCount, int newCount); /** *

See QTableView::rowHeight(int)const

*/ @QtUninvokable public final int rowHeight(int row){ return rowHeight_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), row); } @QtUninvokable private native int rowHeight_native_int_constfct(long __this__nativeId, int row); /** *

See QTableView::rowMoved(int,int,int)

*/ protected final void rowMoved(int row, int oldIndex, int newIndex){ rowMoved_native_int_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), row, oldIndex, newIndex); } private native void rowMoved_native_int_int_int(long __this__nativeId, int row, int oldIndex, int newIndex); /** *

See QTableView::rowResized(int,int,int)

*/ protected final void rowResized(int row, int oldHeight, int newHeight){ rowResized_native_int_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), row, oldHeight, newHeight); } private native void rowResized_native_int_int_int(long __this__nativeId, int row, int oldHeight, int newHeight); /** *

See QTableView::rowSpan(int,int)const

*/ @QtUninvokable public final int rowSpan(int row, int column){ return rowSpan_native_int_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), row, column); } @QtUninvokable private native int rowSpan_native_int_int_constfct(long __this__nativeId, int row, int column); /** *

See QTableView::rowViewportPosition(int)const

*/ @QtUninvokable public final int rowViewportPosition(int row){ return rowViewportPosition_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), row); } @QtUninvokable private native int rowViewportPosition_native_int_constfct(long __this__nativeId, int row); /** *

See QTableView::selectColumn(int)

*/ public final void selectColumn(int column){ selectColumn_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), column); } private native void selectColumn_native_int(long __this__nativeId, int column); /** *

See QTableView::selectRow(int)

*/ public final void selectRow(int row){ selectRow_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), row); } private native void selectRow_native_int(long __this__nativeId, int row); /** *

See QTableView::setColumnHidden(int,bool)

*/ @QtUninvokable public final void setColumnHidden(int column, boolean hide){ setColumnHidden_native_int_bool(QtJambi_LibraryUtilities.internal.nativeId(this), column, hide); } @QtUninvokable private native void setColumnHidden_native_int_bool(long __this__nativeId, int column, boolean hide); /** *

See QTableView::setColumnWidth(int,int)

*/ @QtUninvokable public final void setColumnWidth(int column, int width){ setColumnWidth_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), column, width); } @QtUninvokable private native void setColumnWidth_native_int_int(long __this__nativeId, int column, int width); /** *

See QTableView::setCornerButtonEnabled(bool)

*/ @QtPropertyWriter(name="cornerButtonEnabled") @QtUninvokable public final void setCornerButtonEnabled(boolean enable){ setCornerButtonEnabled_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), enable); } @QtUninvokable private native void setCornerButtonEnabled_native_bool(long __this__nativeId, boolean enable); /** *

See QTableView::setGridStyle(Qt::PenStyle)

*/ @QtPropertyWriter(name="gridStyle") @QtUninvokable public final void setGridStyle(io.qt.core.Qt.@NonNull PenStyle style){ setGridStyle_native_Qt_PenStyle(QtJambi_LibraryUtilities.internal.nativeId(this), style.value()); } @QtUninvokable private native void setGridStyle_native_Qt_PenStyle(long __this__nativeId, int style); /** *

See QTableView::setHorizontalHeader(QHeaderView*)

*/ @QtUninvokable public final void setHorizontalHeader(io.qt.widgets.@Nullable QHeaderView header){ setHorizontalHeader_native_QHeaderView_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(header)); } @QtUninvokable private native void setHorizontalHeader_native_QHeaderView_ptr(long __this__nativeId, long header); /** *

See QTableView::setRowHeight(int,int)

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

See QTableView::setRowHidden(int,bool)

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

See QTableView::setShowGrid(bool)

*/ @QtPropertyWriter(name="showGrid") public final void setShowGrid(boolean show){ setShowGrid_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), show); } private native void setShowGrid_native_bool(long __this__nativeId, boolean show); /** *

See QTableView::setSortingEnabled(bool)

*/ @QtPropertyWriter(name="sortingEnabled") @QtUninvokable public final void setSortingEnabled(boolean enable){ setSortingEnabled_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), enable); } @QtUninvokable private native void setSortingEnabled_native_bool(long __this__nativeId, boolean enable); /** *

See QTableView::setSpan(int,int,int,int)

*/ @QtUninvokable public final void setSpan(int row, int column, int rowSpan, int columnSpan){ setSpan_native_int_int_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), row, column, rowSpan, columnSpan); } @QtUninvokable private native void setSpan_native_int_int_int_int(long __this__nativeId, int row, int column, int rowSpan, int columnSpan); /** *

See QTableView::setVerticalHeader(QHeaderView*)

*/ @QtUninvokable public final void setVerticalHeader(io.qt.widgets.@Nullable QHeaderView header){ setVerticalHeader_native_QHeaderView_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(header)); } @QtUninvokable private native void setVerticalHeader_native_QHeaderView_ptr(long __this__nativeId, long header); /** *

See QTableView::setWordWrap(bool)

*/ @QtPropertyWriter(name="wordWrap") @QtUninvokable public final void setWordWrap(boolean on){ setWordWrap_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), on); } @QtUninvokable private native void setWordWrap_native_bool(long __this__nativeId, boolean on); /** *

See QTableView::showColumn(int)

*/ public final void showColumn(int column){ showColumn_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), column); } private native void showColumn_native_int(long __this__nativeId, int column); /** *

See QTableView::showGrid()const

*/ @QtPropertyReader(name="showGrid") @QtUninvokable public final boolean showGrid(){ return showGrid_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean showGrid_native_constfct(long __this__nativeId); /** *

See QTableView::showRow(int)

*/ public final void showRow(int row){ showRow_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), row); } private native void showRow_native_int(long __this__nativeId, int row); /** *

See QTableView::sortByColumn(int,Qt::SortOrder)

*/ public final void sortByColumn(int column, io.qt.core.Qt.@NonNull SortOrder order){ sortByColumn_native_int_Qt_SortOrder(QtJambi_LibraryUtilities.internal.nativeId(this), column, order.value()); } private native void sortByColumn_native_int_Qt_SortOrder(long __this__nativeId, int column, int order); /** *

See QTableView::verticalHeader()const

*/ @QtUninvokable public final io.qt.widgets.@Nullable QHeaderView verticalHeader(){ return verticalHeader_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.widgets.QHeaderView verticalHeader_native_constfct(long __this__nativeId); /** *

See QTableView::wordWrap()const

*/ @QtPropertyReader(name="wordWrap") @QtUninvokable public final boolean wordWrap(){ return wordWrap_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean wordWrap_native_constfct(long __this__nativeId); /** *

See QAbstractItemView::currentChanged(QModelIndex,QModelIndex)

*/ @QtUninvokable @Override protected void currentChanged(io.qt.core.@NonNull QModelIndex current, io.qt.core.@NonNull QModelIndex previous){ currentChanged_native_cref_QModelIndex_cref_QModelIndex(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(current), QtJambi_LibraryUtilities.internal.checkedNativeId(previous)); } @QtUninvokable private native void currentChanged_native_cref_QModelIndex_cref_QModelIndex(long __this__nativeId, long current, long previous); /** *

See QAbstractItemView::doItemsLayout()

*/ @QtUninvokable @Override public void doItemsLayout(){ doItemsLayout_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void doItemsLayout_native(long __this__nativeId); /** *

See QAbstractItemView::horizontalOffset()const

*/ @QtUninvokable @Override protected int horizontalOffset(){ return horizontalOffset_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int horizontalOffset_native_constfct(long __this__nativeId); /** *

See QAbstractItemView::horizontalScrollbarAction(int)

*/ @QtUninvokable @Override protected void horizontalScrollbarAction(int action){ horizontalScrollbarAction_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), action); } @QtUninvokable private native void horizontalScrollbarAction_native_int(long __this__nativeId, int action); /** *

See QAbstractItemView::indexAt(QPoint)const

*/ @QtUninvokable @Override public io.qt.core.@NonNull QModelIndex indexAt(io.qt.core.@NonNull QPoint p){ return indexAt_native_cref_QPoint_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(p)); } @QtUninvokable private native io.qt.core.QModelIndex indexAt_native_cref_QPoint_constfct(long __this__nativeId, long p); /** *

See QAbstractItemView::initViewItemOption(QStyleOptionViewItem*)const

*/ @QtUninvokable @Override protected void initViewItemOption(io.qt.widgets.@Nullable QStyleOptionViewItem option){ initViewItemOption_native_QStyleOptionViewItem_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(option)); } @QtUninvokable private native void initViewItemOption_native_QStyleOptionViewItem_ptr_constfct(long __this__nativeId, long option); /** *

See QAbstractItemView::isIndexHidden(QModelIndex)const

*/ @QtUninvokable @Override protected boolean isIndexHidden(io.qt.core.@NonNull QModelIndex index){ return isIndexHidden_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(index)); } @QtUninvokable private native boolean isIndexHidden_native_cref_QModelIndex_constfct(long __this__nativeId, long index); /** *

See QAbstractItemView::moveCursor(QAbstractItemView::CursorAction,Qt::KeyboardModifiers)

*/ @QtUninvokable @Override protected io.qt.core.@NonNull QModelIndex moveCursor(io.qt.widgets.QAbstractItemView.@NonNull CursorAction cursorAction, io.qt.core.Qt.@NonNull KeyboardModifiers modifiers){ return moveCursor_native_QAbstractItemView_CursorAction_Qt_KeyboardModifiers(QtJambi_LibraryUtilities.internal.nativeId(this), cursorAction.value(), modifiers.value()); } @QtUninvokable private native io.qt.core.QModelIndex moveCursor_native_QAbstractItemView_CursorAction_Qt_KeyboardModifiers(long __this__nativeId, int cursorAction, int modifiers); /** *

See QWidget::paintEvent(QPaintEvent*)

*/ @QtUninvokable @Override protected void paintEvent(io.qt.gui.@Nullable QPaintEvent e){ paintEvent_native_QPaintEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e)); } @QtUninvokable private native void paintEvent_native_QPaintEvent_ptr(long __this__nativeId, long e); /** *

See QAbstractScrollArea::scrollContentsBy(int,int)

*/ @QtUninvokable @Override protected void scrollContentsBy(int dx, int dy){ scrollContentsBy_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), dx, dy); } @QtUninvokable private native void scrollContentsBy_native_int_int(long __this__nativeId, int dx, int dy); /** *

See QAbstractItemView::scrollTo(QModelIndex,QAbstractItemView::ScrollHint)

*/ @QtUninvokable @Override public void scrollTo(io.qt.core.@NonNull QModelIndex index, io.qt.widgets.QAbstractItemView.@NonNull ScrollHint hint){ scrollTo_native_cref_QModelIndex_QAbstractItemView_ScrollHint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(index), hint.value()); } @QtUninvokable private native void scrollTo_native_cref_QModelIndex_QAbstractItemView_ScrollHint(long __this__nativeId, long index, int hint); /** *

See QAbstractItemView::selectedIndexes()const

*/ @QtUninvokable @Override protected java.util.@NonNull List selectedIndexes(){ return selectedIndexes_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.util.List selectedIndexes_native_constfct(long __this__nativeId); /** *

See QAbstractItemView::selectionChanged(QItemSelection,QItemSelection)

*/ @QtUninvokable @Override protected void selectionChanged(io.qt.core.@NonNull QItemSelection selected, io.qt.core.@NonNull QItemSelection deselected){ selectionChanged_native_cref_QItemSelection_cref_QItemSelection(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(selected), QtJambi_LibraryUtilities.internal.checkedNativeId(deselected)); } @QtUninvokable private native void selectionChanged_native_cref_QItemSelection_cref_QItemSelection(long __this__nativeId, long selected, long deselected); /** *

See QAbstractItemView::setModel(QAbstractItemModel*)

*/ @QtUninvokable @Override public void setModel(io.qt.core.@Nullable QAbstractItemModel model){ setModel_native_QAbstractItemModel_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(model)); QtJambi_LibraryUtilities.internal.setReferenceCount(this, io.qt.widgets.QAbstractItemView.class, "__rcItemModel", false, false, model); // setModel() creates a new selection model for the object QtJambi_LibraryUtilities.internal.setReferenceCount(this, io.qt.widgets.QAbstractItemView.class, "__rcItemSelectionModel", false, false, null); } @QtUninvokable private native void setModel_native_QAbstractItemModel_ptr(long __this__nativeId, long model); /** *

See QAbstractItemView::setRootIndex(QModelIndex)

*/ @QtUninvokable @Override public void setRootIndex(io.qt.core.@NonNull QModelIndex index){ setRootIndex_native_cref_QModelIndex(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(index)); } @QtUninvokable private native void setRootIndex_native_cref_QModelIndex(long __this__nativeId, long index); /** *

See QAbstractItemView::setSelection(QRect,QItemSelectionModel::SelectionFlags)

*/ @QtUninvokable @Override protected void setSelection(io.qt.core.@NonNull QRect rect, io.qt.core.QItemSelectionModel.@NonNull SelectionFlags command){ setSelection_native_cref_QRect_QItemSelectionModel_SelectionFlags(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rect), command.value()); } @QtUninvokable private native void setSelection_native_cref_QRect_QItemSelectionModel_SelectionFlags(long __this__nativeId, long rect, int command); /** *

See QAbstractItemView::setSelectionModel(QItemSelectionModel*)

*/ @QtUninvokable @Override public void setSelectionModel(io.qt.core.@StrictNonNull QItemSelectionModel selectionModel){ java.util.Objects.requireNonNull(selectionModel, "Argument 'selectionModel': null not expected."); setSelectionModel_native_QItemSelectionModel_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(selectionModel)); QtJambi_LibraryUtilities.internal.setReferenceCount(this, io.qt.widgets.QAbstractItemView.class, "__rcItemSelectionModel", false, false, selectionModel); } @QtUninvokable private native void setSelectionModel_native_QItemSelectionModel_ptr(long __this__nativeId, long selectionModel); /** *

See QAbstractItemView::sizeHintForColumn(int)const

*/ @QtUninvokable @Override public int sizeHintForColumn(int column){ return sizeHintForColumn_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), column); } @QtUninvokable private native int sizeHintForColumn_native_int_constfct(long __this__nativeId, int column); /** *

See QAbstractItemView::sizeHintForRow(int)const

*/ @QtUninvokable @Override public int sizeHintForRow(int row){ return sizeHintForRow_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), row); } @QtUninvokable private native int sizeHintForRow_native_int_constfct(long __this__nativeId, int row); /** *

See QObject::timerEvent(QTimerEvent*)

*/ @QtUninvokable @Override protected void timerEvent(io.qt.core.@Nullable QTimerEvent event){ timerEvent_native_QTimerEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native void timerEvent_native_QTimerEvent_ptr(long __this__nativeId, long event); /** *

See QAbstractItemView::updateGeometries()

*/ @QtUninvokable @Override protected void updateGeometries(){ updateGeometries_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void updateGeometries_native(long __this__nativeId); /** *

See QAbstractItemView::verticalOffset()const

*/ @QtUninvokable @Override protected int verticalOffset(){ return verticalOffset_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int verticalOffset_native_constfct(long __this__nativeId); /** *

See QAbstractItemView::verticalScrollbarAction(int)

*/ @QtUninvokable @Override protected void verticalScrollbarAction(int action){ verticalScrollbarAction_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), action); } @QtUninvokable private native void verticalScrollbarAction_native_int(long __this__nativeId, int action); /** *

See QAbstractScrollArea::viewportSizeHint()const

*/ @QtUninvokable @Override protected io.qt.core.@NonNull QSize viewportSizeHint(){ return viewportSizeHint_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QSize viewportSizeHint_native_constfct(long __this__nativeId); /** *

See QAbstractItemView::visualRect(QModelIndex)const

*/ @QtUninvokable @Override public io.qt.core.@NonNull QRect visualRect(io.qt.core.@NonNull QModelIndex index){ return visualRect_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(index)); } @QtUninvokable private native io.qt.core.QRect visualRect_native_cref_QModelIndex_constfct(long __this__nativeId, long index); /** *

See QAbstractItemView::visualRegionForSelection(QItemSelection)const

*/ @QtUninvokable @Override protected io.qt.gui.@NonNull QRegion visualRegionForSelection(io.qt.core.@NonNull QItemSelection selection){ return visualRegionForSelection_native_cref_QItemSelection_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(selection)); } @QtUninvokable private native io.qt.gui.QRegion visualRegionForSelection_native_cref_QItemSelection_constfct(long __this__nativeId, long selection); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QTableView(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. * @hidden */ @NativeAccess protected QTableView(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @QtUninvokable private static native void initialize_native(QTableView instance, QDeclarativeConstructor constructor); /** *

Overloaded constructor for {@link #QTableView(io.qt.widgets.QWidget)} * with parent = null.

*/ public QTableView() { this((io.qt.widgets.QWidget)null); } /** * @hidden *

Kotlin property getter. In Java use {@link #gridStyle()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.core.Qt.@NonNull PenStyle getGridStyle() { return gridStyle(); } /** * @hidden *

Kotlin property getter. In Java use {@link #isCornerButtonEnabled()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getCornerButtonEnabled() { return isCornerButtonEnabled(); } /** * @hidden *

Kotlin property getter. In Java use {@link #isSortingEnabled()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getSortingEnabled() { return isSortingEnabled(); } /** * @hidden *

Kotlin property getter. In Java use {@link #showGrid()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getShowGrid() { return showGrid(); } /** * @hidden *

Kotlin property getter. In Java use {@link #wordWrap()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getWordWrap() { return wordWrap(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy