io.qt.widgets.QTableView Maven / Gradle / Ivy
Show all versions of qtjambi Show documentation
package io.qt.widgets;
/**
* 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.QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QTableView.class);
/**
* Overloaded constructor for {@link #QTableView(io.qt.widgets.QWidget)}
* with parent = null
.
*/
public QTableView() {
this((io.qt.widgets.QWidget)null);
}
/**
* See QTableView::QTableView(QWidget*)
*/
public QTableView(io.qt.widgets.QWidget parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QTableView instance, io.qt.widgets.QWidget parent);
/**
*
*/
@io.qt.QtUninvokable
public final void clearSpans(){
clearSpans_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native void clearSpans_native(long __this__nativeId);
/**
* See QTableView::columnAt(int)const
*/
@io.qt.QtUninvokable
public final int columnAt(int x){
return columnAt_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), x);
}
@io.qt.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
*/
@io.qt.QtUninvokable
public final int columnSpan(int row, int column){
return columnSpan_native_int_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), row, column);
}
@io.qt.QtUninvokable
private native int columnSpan_native_int_int_constfct(long __this__nativeId, int row, int column);
/**
* See QTableView::columnViewportPosition(int)const
*/
@io.qt.QtUninvokable
public final int columnViewportPosition(int column){
return columnViewportPosition_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), column);
}
@io.qt.QtUninvokable
private native int columnViewportPosition_native_int_constfct(long __this__nativeId, int column);
/**
* See QTableView::columnWidth(int)const
*/
@io.qt.QtUninvokable
public final int columnWidth(int column){
return columnWidth_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), column);
}
@io.qt.QtUninvokable
private native int columnWidth_native_int_constfct(long __this__nativeId, int column);
/**
* See QTableView::gridStyle()const
*/
@io.qt.QtPropertyReader(name="gridStyle")
@io.qt.QtUninvokable
public final io.qt.core.Qt.PenStyle gridStyle(){
return io.qt.core.Qt.PenStyle.resolve(gridStyle_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.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);
/**
*
*/
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
*/
@io.qt.QtUninvokable
public final io.qt.widgets.QHeaderView horizontalHeader(){
return horizontalHeader_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.widgets.QHeaderView horizontalHeader_native_constfct(long __this__nativeId);
/**
* See QTableView::isColumnHidden(int)const
*/
@io.qt.QtUninvokable
public final boolean isColumnHidden(int column){
return isColumnHidden_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), column);
}
@io.qt.QtUninvokable
private native boolean isColumnHidden_native_int_constfct(long __this__nativeId, int column);
/**
* See QTableView::isCornerButtonEnabled()const
*/
@io.qt.QtPropertyReader(name="cornerButtonEnabled")
@io.qt.QtUninvokable
public final boolean isCornerButtonEnabled(){
return isCornerButtonEnabled_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean isCornerButtonEnabled_native_constfct(long __this__nativeId);
/**
* See QTableView::isRowHidden(int)const
*/
@io.qt.QtUninvokable
public final boolean isRowHidden(int row){
return isRowHidden_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), row);
}
@io.qt.QtUninvokable
private native boolean isRowHidden_native_int_constfct(long __this__nativeId, int row);
/**
* See QTableView::isSortingEnabled()const
*/
@io.qt.QtPropertyReader(name="sortingEnabled")
@io.qt.QtUninvokable
public final boolean isSortingEnabled(){
return isSortingEnabled_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.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
*/
@io.qt.QtUninvokable
public final int rowAt(int y){
return rowAt_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), y);
}
@io.qt.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
*/
@io.qt.QtUninvokable
public final int rowHeight(int row){
return rowHeight_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), row);
}
@io.qt.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
*/
@io.qt.QtUninvokable
public final int rowSpan(int row, int column){
return rowSpan_native_int_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), row, column);
}
@io.qt.QtUninvokable
private native int rowSpan_native_int_int_constfct(long __this__nativeId, int row, int column);
/**
* See QTableView::rowViewportPosition(int)const
*/
@io.qt.QtUninvokable
public final int rowViewportPosition(int row){
return rowViewportPosition_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), row);
}
@io.qt.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)
*/
@io.qt.QtUninvokable
public final void setColumnHidden(int column, boolean hide){
setColumnHidden_native_int_bool(QtJambi_LibraryUtilities.internal.nativeId(this), column, hide);
}
@io.qt.QtUninvokable
private native void setColumnHidden_native_int_bool(long __this__nativeId, int column, boolean hide);
/**
* See QTableView::setColumnWidth(int,int)
*/
@io.qt.QtUninvokable
public final void setColumnWidth(int column, int width){
setColumnWidth_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), column, width);
}
@io.qt.QtUninvokable
private native void setColumnWidth_native_int_int(long __this__nativeId, int column, int width);
/**
* See QTableView::setCornerButtonEnabled(bool)
*/
@io.qt.QtPropertyWriter(name="cornerButtonEnabled")
@io.qt.QtUninvokable
public final void setCornerButtonEnabled(boolean enable){
setCornerButtonEnabled_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), enable);
}
@io.qt.QtUninvokable
private native void setCornerButtonEnabled_native_bool(long __this__nativeId, boolean enable);
/**
* See QTableView::setGridStyle(Qt::PenStyle)
*/
@io.qt.QtPropertyWriter(name="gridStyle")
@io.qt.QtUninvokable
public final void setGridStyle(io.qt.core.Qt.PenStyle style){
setGridStyle_native_Qt_PenStyle(QtJambi_LibraryUtilities.internal.nativeId(this), style.value());
}
@io.qt.QtUninvokable
private native void setGridStyle_native_Qt_PenStyle(long __this__nativeId, int style);
/**
* See QTableView::setHorizontalHeader(QHeaderView*)
*/
@io.qt.QtUninvokable
public final void setHorizontalHeader(io.qt.widgets.QHeaderView header){
setHorizontalHeader_native_QHeaderView_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(header));
}
@io.qt.QtUninvokable
private native void setHorizontalHeader_native_QHeaderView_ptr(long __this__nativeId, long header);
/**
* See QTableView::setRowHeight(int,int)
*/
@io.qt.QtUninvokable
public final void setRowHeight(int row, int height){
setRowHeight_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), row, height);
}
@io.qt.QtUninvokable
private native void setRowHeight_native_int_int(long __this__nativeId, int row, int height);
/**
* See QTableView::setRowHidden(int,bool)
*/
@io.qt.QtUninvokable
public final void setRowHidden(int row, boolean hide){
setRowHidden_native_int_bool(QtJambi_LibraryUtilities.internal.nativeId(this), row, hide);
}
@io.qt.QtUninvokable
private native void setRowHidden_native_int_bool(long __this__nativeId, int row, boolean hide);
/**
* See QTableView::setShowGrid(bool)
*/
@io.qt.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)
*/
@io.qt.QtPropertyWriter(name="sortingEnabled")
@io.qt.QtUninvokable
public final void setSortingEnabled(boolean enable){
setSortingEnabled_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), enable);
}
@io.qt.QtUninvokable
private native void setSortingEnabled_native_bool(long __this__nativeId, boolean enable);
/**
* See QTableView::setSpan(int,int,int,int)
*/
@io.qt.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);
}
@io.qt.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*)
*/
@io.qt.QtUninvokable
public final void setVerticalHeader(io.qt.widgets.QHeaderView header){
setVerticalHeader_native_QHeaderView_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(header));
}
@io.qt.QtUninvokable
private native void setVerticalHeader_native_QHeaderView_ptr(long __this__nativeId, long header);
/**
* See QTableView::setWordWrap(bool)
*/
@io.qt.QtPropertyWriter(name="wordWrap")
@io.qt.QtUninvokable
public final void setWordWrap(boolean on){
setWordWrap_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), on);
}
@io.qt.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
*/
@io.qt.QtPropertyReader(name="showGrid")
@io.qt.QtUninvokable
public final boolean showGrid(){
return showGrid_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean showGrid_native_constfct(long __this__nativeId);
/**
*
*/
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.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
*/
@io.qt.QtUninvokable
public final io.qt.widgets.QHeaderView verticalHeader(){
return verticalHeader_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.widgets.QHeaderView verticalHeader_native_constfct(long __this__nativeId);
/**
* See QTableView::wordWrap()const
*/
@io.qt.QtPropertyReader(name="wordWrap")
@io.qt.QtUninvokable
public final boolean wordWrap(){
return wordWrap_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean wordWrap_native_constfct(long __this__nativeId);
/**
* See QAbstractItemView::currentChanged(QModelIndex,QModelIndex)
*/
@io.qt.QtUninvokable
protected void currentChanged(io.qt.core.QModelIndex current, io.qt.core.QModelIndex previous){
currentChanged_native_cref_QModelIndex_cref_QModelIndex(QtJambi_LibraryUtilities.internal.nativeId(this), current, previous);
}
@io.qt.QtUninvokable
private native void currentChanged_native_cref_QModelIndex_cref_QModelIndex(long __this__nativeId, io.qt.core.QModelIndex current, io.qt.core.QModelIndex previous);
@io.qt.QtUninvokable
public void doItemsLayout(){
doItemsLayout_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native void doItemsLayout_native(long __this__nativeId);
/**
* See QAbstractItemView::horizontalOffset()const
*/
@io.qt.QtUninvokable
protected int horizontalOffset(){
return horizontalOffset_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int horizontalOffset_native_constfct(long __this__nativeId);
@io.qt.QtUninvokable
protected void horizontalScrollbarAction(int action){
horizontalScrollbarAction_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), action);
}
@io.qt.QtUninvokable
private native void horizontalScrollbarAction_native_int(long __this__nativeId, int action);
/**
* See QAbstractItemView::indexAt(QPoint)const
*/
@io.qt.QtUninvokable
public io.qt.core.QModelIndex indexAt(io.qt.core.QPoint p){
return indexAt_native_cref_QPoint_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(p));
}
@io.qt.QtUninvokable
private native io.qt.core.QModelIndex indexAt_native_cref_QPoint_constfct(long __this__nativeId, long p);
/**
* See QAbstractItemView::initViewItemOption(QStyleOptionViewItem*)const
*/
@io.qt.QtUninvokable
protected void initViewItemOption(io.qt.widgets.QStyleOptionViewItem option){
initViewItemOption_native_QStyleOptionViewItem_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), option);
}
@io.qt.QtUninvokable
private native void initViewItemOption_native_QStyleOptionViewItem_ptr_constfct(long __this__nativeId, io.qt.widgets.QStyleOptionViewItem option);
/**
* See QAbstractItemView::isIndexHidden(QModelIndex)const
*/
@io.qt.QtUninvokable
protected boolean isIndexHidden(io.qt.core.QModelIndex index){
return isIndexHidden_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
@io.qt.QtUninvokable
private native boolean isIndexHidden_native_cref_QModelIndex_constfct(long __this__nativeId, io.qt.core.QModelIndex index);
/**
* See QAbstractItemView::moveCursor(QAbstractItemView::CursorAction,Qt::KeyboardModifiers)
*/
@io.qt.QtUninvokable
protected io.qt.core.QModelIndex moveCursor(io.qt.widgets.QAbstractItemView.CursorAction cursorAction, io.qt.core.Qt.KeyboardModifiers modifiers){
return moveCursor_native_QAbstractItemView_CursorAction_QFlags_Qt_KeyboardModifier_(QtJambi_LibraryUtilities.internal.nativeId(this), cursorAction.value(), modifiers.value());
}
@io.qt.QtUninvokable
private native io.qt.core.QModelIndex moveCursor_native_QAbstractItemView_CursorAction_QFlags_Qt_KeyboardModifier_(long __this__nativeId, int cursorAction, int modifiers);
/**
* See QWidget::paintEvent(QPaintEvent*)
*/
@io.qt.QtUninvokable
protected void paintEvent(io.qt.gui.QPaintEvent e){
paintEvent_native_QPaintEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e));
}
@io.qt.QtUninvokable
private native void paintEvent_native_QPaintEvent_ptr(long __this__nativeId, long e);
/**
* See QAbstractScrollArea::scrollContentsBy(int,int)
*/
@io.qt.QtUninvokable
protected void scrollContentsBy(int dx, int dy){
scrollContentsBy_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), dx, dy);
}
@io.qt.QtUninvokable
private native void scrollContentsBy_native_int_int(long __this__nativeId, int dx, int dy);
/**
* See QAbstractItemView::scrollTo(QModelIndex,QAbstractItemView::ScrollHint)
*/
@io.qt.QtUninvokable
public void scrollTo(io.qt.core.QModelIndex index, io.qt.widgets.QAbstractItemView.ScrollHint hint){
scrollTo_native_cref_QModelIndex_QAbstractItemView_ScrollHint(QtJambi_LibraryUtilities.internal.nativeId(this), index, hint.value());
}
@io.qt.QtUninvokable
private native void scrollTo_native_cref_QModelIndex_QAbstractItemView_ScrollHint(long __this__nativeId, io.qt.core.QModelIndex index, int hint);
/**
* See QAbstractItemView::selectedIndexes()const
*/
@io.qt.QtUninvokable
protected java.util.List selectedIndexes(){
return selectedIndexes_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native java.util.List selectedIndexes_native_constfct(long __this__nativeId);
/**
* See QAbstractItemView::selectionChanged(QItemSelection,QItemSelection)
*/
@io.qt.QtUninvokable
protected void selectionChanged(io.qt.core.QItemSelection selected, io.qt.core.QItemSelection deselected){
selectionChanged_native_cref_QItemSelection_cref_QItemSelection(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(selected), QtJambi_LibraryUtilities.internal.checkedNativeId(deselected));
}
@io.qt.QtUninvokable
private native void selectionChanged_native_cref_QItemSelection_cref_QItemSelection(long __this__nativeId, long selected, long deselected);
/**
* See QAbstractItemView::setModel(QAbstractItemModel*)
*/
@io.qt.QtUninvokable
public void setModel(io.qt.core.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);
}
@io.qt.QtUninvokable
private native void setModel_native_QAbstractItemModel_ptr(long __this__nativeId, long model);
/**
* See QAbstractItemView::setRootIndex(QModelIndex)
*/
@io.qt.QtUninvokable
public void setRootIndex(io.qt.core.QModelIndex index){
setRootIndex_native_cref_QModelIndex(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
@io.qt.QtUninvokable
private native void setRootIndex_native_cref_QModelIndex(long __this__nativeId, io.qt.core.QModelIndex index);
/**
* See QAbstractItemView::setSelection(QRect,QItemSelectionModel::SelectionFlags)
*/
@io.qt.QtUninvokable
protected void setSelection(io.qt.core.QRect rect, io.qt.core.QItemSelectionModel.SelectionFlags command){
setSelection_native_cref_QRect_QFlags_QItemSelectionModel_SelectionFlag_(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rect), command.value());
}
@io.qt.QtUninvokable
private native void setSelection_native_cref_QRect_QFlags_QItemSelectionModel_SelectionFlag_(long __this__nativeId, long rect, int command);
/**
* See QAbstractItemView::setSelectionModel(QItemSelectionModel*)
*/
@io.qt.QtUninvokable
public void setSelectionModel(io.qt.core.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);
}
@io.qt.QtUninvokable
private native void setSelectionModel_native_QItemSelectionModel_ptr(long __this__nativeId, long selectionModel);
/**
* See QAbstractItemView::sizeHintForColumn(int)const
*/
@io.qt.QtUninvokable
public int sizeHintForColumn(int column){
return sizeHintForColumn_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), column);
}
@io.qt.QtUninvokable
private native int sizeHintForColumn_native_int_constfct(long __this__nativeId, int column);
/**
* See QAbstractItemView::sizeHintForRow(int)const
*/
@io.qt.QtUninvokable
public int sizeHintForRow(int row){
return sizeHintForRow_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), row);
}
@io.qt.QtUninvokable
private native int sizeHintForRow_native_int_constfct(long __this__nativeId, int row);
/**
* See QObject::timerEvent(QTimerEvent*)
*/
@io.qt.QtUninvokable
protected void timerEvent(io.qt.core.QTimerEvent event){
timerEvent_native_QTimerEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@io.qt.QtUninvokable
private native void timerEvent_native_QTimerEvent_ptr(long __this__nativeId, long event);
/**
* See QAbstractItemView::updateGeometries()
*/
@io.qt.QtUninvokable
protected void updateGeometries(){
updateGeometries_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native void updateGeometries_native(long __this__nativeId);
/**
* See QAbstractItemView::verticalOffset()const
*/
@io.qt.QtUninvokable
protected int verticalOffset(){
return verticalOffset_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int verticalOffset_native_constfct(long __this__nativeId);
@io.qt.QtUninvokable
protected void verticalScrollbarAction(int action){
verticalScrollbarAction_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), action);
}
@io.qt.QtUninvokable
private native void verticalScrollbarAction_native_int(long __this__nativeId, int action);
/**
* See QAbstractScrollArea::viewportSizeHint()const
*/
@io.qt.QtUninvokable
protected io.qt.core.QSize viewportSizeHint(){
return viewportSizeHint_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QSize viewportSizeHint_native_constfct(long __this__nativeId);
/**
* See QAbstractItemView::visualRect(QModelIndex)const
*/
@io.qt.QtUninvokable
public io.qt.core.QRect visualRect(io.qt.core.QModelIndex index){
return visualRect_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
@io.qt.QtUninvokable
private native io.qt.core.QRect visualRect_native_cref_QModelIndex_constfct(long __this__nativeId, io.qt.core.QModelIndex index);
/**
* See QAbstractItemView::visualRegionForSelection(QItemSelection)const
*/
@io.qt.QtUninvokable
protected io.qt.gui.QRegion visualRegionForSelection(io.qt.core.QItemSelection selection){
return visualRegionForSelection_native_cref_QItemSelection_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(selection));
}
@io.qt.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
.
*/
@io.qt.NativeAccess
protected QTableView(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
*/
@io.qt.NativeAccess
protected QTableView(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@io.qt.QtUninvokable
private static native void initialize_native(QTableView instance, QDeclarativeConstructor constructor);
}