protected void |
WAbstractItemModel.beginInsertColumns(WModelIndex parent,
int first,
int last) |
Method to be called before inserting columns.
|
protected void |
WStandardItemModel.beginInsertColumns(WModelIndex parent,
int first,
int last) |
|
protected void |
WAbstractItemModel.beginInsertRows(WModelIndex parent,
int first,
int last) |
Method to be called before inserting rows.
|
protected void |
WStandardItemModel.beginInsertRows(WModelIndex parent,
int first,
int last) |
|
protected void |
WAbstractItemModel.beginRemoveColumns(WModelIndex parent,
int first,
int last) |
Method to be called before removing columns.
|
protected void |
WStandardItemModel.beginRemoveColumns(WModelIndex parent,
int first,
int last) |
|
protected void |
WAbstractItemModel.beginRemoveRows(WModelIndex parent,
int first,
int last) |
Method to be called before removing rows.
|
protected void |
WStandardItemModel.beginRemoveRows(WModelIndex parent,
int first,
int last) |
|
void |
WAbstractItemView.closeEditor(WModelIndex index) |
Closes the editor for the given index.
|
void |
WAbstractItemView.closeEditor(WModelIndex index,
boolean saveData) |
Closes the editor for the given index.
|
void |
WTreeView.collapse(WModelIndex index) |
Collapses a node.
|
protected int |
WSortFilterProxyModel.compare(WModelIndex lhs,
WModelIndex rhs) |
Compares two indexes.
|
int |
WModelIndex.compareTo(WModelIndex i2) |
Implements Comparable.compareTo(Object) .
|
protected WWidget |
WItemDelegate.createEditor(WModelIndex index,
ViewItemRenderFlag flag,
ViewItemRenderFlag... flags) |
Creates an editor for a data item.
|
protected WWidget |
WItemDelegate.createEditor(WModelIndex index,
java.util.EnumSet<ViewItemRenderFlag> flags) |
Creates an editor for a data item.
|
void |
WAbstractItemModel.dropEvent(WDropEvent e,
DropAction action,
int row,
int column,
WModelIndex parent) |
Handles a drop event.
|
protected void |
WAbstractItemView.dropEvent(WDropEvent e,
WModelIndex index) |
Handles a drop event (drag & drop).
|
void |
WAbstractProxyModel.dropEvent(WDropEvent e,
DropAction action,
int row,
int column,
WModelIndex parent) |
Handles a drop event.
|
void |
WReadOnlyProxyModel.dropEvent(WDropEvent e,
DropAction action,
int row,
int column,
WModelIndex parent) |
Has no effect.
|
void |
WStandardItemModel.dropEvent(WDropEvent e,
DropAction action,
int row,
int column,
WModelIndex parent) |
|
void |
WAbstractItemView.edit(WModelIndex index) |
Opens an editor for the given index.
|
protected void |
WAbstractProxyModel.endShiftModelIndexes(WModelIndex sourceParent,
int start,
int count,
java.util.SortedMap<WModelIndex,WAbstractProxyModel.BaseItem> items) |
|
void |
WTreeView.expand(WModelIndex index) |
Expands a node.
|
protected boolean |
WSortFilterProxyModel.filterAcceptRow(int sourceRow,
WModelIndex sourceParent) |
Returns whether a source row is accepted by the filter.
|
abstract int |
WAbstractItemModel.getColumnCount(WModelIndex parent) |
Returns the number of columns.
|
int |
WAbstractListModel.getColumnCount(WModelIndex parent) |
|
int |
WAggregateProxyModel.getColumnCount(WModelIndex parent) |
|
int |
WBatchEditProxyModel.getColumnCount(WModelIndex parent) |
|
int |
WEnumModel.getColumnCount(WModelIndex parent) |
|
int |
WIdentityProxyModel.getColumnCount(WModelIndex parent) |
Returns the number of columns.
|
int |
WReadOnlyProxyModel.getColumnCount(WModelIndex parent) |
Returns the number of columns.
|
int |
WSortFilterProxyModel.getColumnCount(WModelIndex parent) |
|
int |
WStandardItemModel.getColumnCount(WModelIndex parent) |
|
java.lang.Object |
WAbstractItemModel.getData(int row,
int column,
int role,
WModelIndex parent) |
Returns the data item at the given column and row.
|
java.lang.Object |
WAbstractItemModel.getData(WModelIndex index) |
Returns data at a specified model index for the given role.
|
abstract java.lang.Object |
WAbstractItemModel.getData(WModelIndex index,
int role) |
Returns data at a specified model index for the given role.
|
java.lang.Object |
WAbstractProxyModel.getData(WModelIndex index,
int role) |
Returns the data at a specific model index.
|
java.lang.Object |
WBatchEditProxyModel.getData(WModelIndex index,
int role) |
|
java.lang.Object |
WEnumModel.getData(WModelIndex index,
int role) |
|
java.lang.Object |
WStandardItemModel.getData(WModelIndex index,
int role) |
|
java.lang.Object |
WStringListModel.getData(WModelIndex index,
int role) |
|
java.util.EnumSet<ItemFlag> |
WAbstractItemModel.getFlags(WModelIndex index) |
Returns the flags for an item.
|
java.util.EnumSet<ItemFlag> |
WAbstractProxyModel.getFlags(WModelIndex index) |
Returns the flags for an item.
|
java.util.EnumSet<ItemFlag> |
WBatchEditProxyModel.getFlags(WModelIndex index) |
|
java.util.EnumSet<ItemFlag> |
WStandardItemModel.getFlags(WModelIndex index) |
|
java.util.EnumSet<ItemFlag> |
WStringListModel.getFlags(WModelIndex index) |
Returns the flags for an item.
|
abstract WModelIndex |
WAbstractItemModel.getIndex(int row,
int column,
WModelIndex parent) |
Returns the child index for the given row and column.
|
WModelIndex |
WAbstractListModel.getIndex(int row,
int column,
WModelIndex parent) |
|
WModelIndex |
WAbstractTableModel.getIndex(int row,
int column,
WModelIndex parent) |
|
WModelIndex |
WAggregateProxyModel.getIndex(int row,
int column,
WModelIndex parent) |
|
WModelIndex |
WBatchEditProxyModel.getIndex(int row,
int column,
WModelIndex parent) |
|
WModelIndex |
WIdentityProxyModel.getIndex(int row,
int column,
WModelIndex parent) |
Returns the child index for the given row and column.
|
WModelIndex |
WItemModel.getIndex(int row,
int column,
WModelIndex parent) |
|
WModelIndex |
WReadOnlyProxyModel.getIndex(int row,
int column,
WModelIndex parent) |
Returns the child index for the given row and column.
|
WModelIndex |
WSortFilterProxyModel.getIndex(int row,
int column,
WModelIndex parent) |
|
WModelIndex |
WStandardItemModel.getIndex(int row,
int column,
WModelIndex parent) |
|
Item |
WItemModel.getItem(WModelIndex index) |
|
java.util.SortedMap<java.lang.Integer,java.lang.Object> |
WAbstractItemModel.getItemData(WModelIndex index) |
Returns all data at a specific index.
|
WAbstractItemDelegate |
WAbstractItemView.getItemDelegate(WModelIndex index) |
Returns the delegate for rendering an item.
|
WStandardItem |
WStandardItemModel.getItemFromIndex(WModelIndex index) |
Returns the standard item that corresponds to a model index.
|
abstract WModelIndex |
WAbstractItemModel.getParent(WModelIndex index) |
Returns the parent for a model index.
|
WModelIndex |
WAbstractListModel.getParent(WModelIndex index) |
|
WModelIndex |
WAbstractTableModel.getParent(WModelIndex index) |
|
WModelIndex |
WAggregateProxyModel.getParent(WModelIndex index) |
|
WModelIndex |
WBatchEditProxyModel.getParent(WModelIndex index) |
|
WModelIndex |
WIdentityProxyModel.getParent(WModelIndex child) |
Returns the parent for a model index.
|
WModelIndex |
WItemModel.getParent(WModelIndex index) |
|
WModelIndex |
WReadOnlyProxyModel.getParent(WModelIndex index) |
Returns the parent for a model index.
|
WModelIndex |
WSortFilterProxyModel.getParent(WModelIndex index) |
|
WModelIndex |
WStandardItemModel.getParent(WModelIndex index) |
|
abstract int |
WAbstractItemModel.getRowCount(WModelIndex parent) |
Returns the number of rows.
|
int |
WAggregateProxyModel.getRowCount(WModelIndex parent) |
|
int |
WBatchEditProxyModel.getRowCount(WModelIndex parent) |
|
int |
WEnumModel.getRowCount(WModelIndex parent) |
|
int |
WIdentityProxyModel.getRowCount(WModelIndex parent) |
Returns the number of rows.
|
int |
WItemModel.getRowCount(WModelIndex index) |
|
int |
WReadOnlyProxyModel.getRowCount(WModelIndex parent) |
Returns the number of rows.
|
int |
WSortFilterProxyModel.getRowCount(WModelIndex parent) |
|
int |
WStandardItemModel.getRowCount(WModelIndex parent) |
|
int |
WStringListModel.getRowCount(WModelIndex parent) |
|
boolean |
WAbstractItemModel.hasChildren(WModelIndex index) |
Returns if there are children at an index.
|
boolean |
WAbstractItemModel.hasIndex(int row,
int column,
WModelIndex parent) |
Returns if an index at the given position is valid (i.e.
|
boolean |
WAbstractItemModel.insertColumn(int column,
WModelIndex parent) |
Inserts one column.
|
boolean |
WAbstractItemModel.insertColumns(int column,
int count,
WModelIndex parent) |
Inserts one or more columns.
|
boolean |
WAbstractProxyModel.insertColumns(int column,
int count,
WModelIndex parent) |
Inserts one or more columns.
|
boolean |
WBatchEditProxyModel.insertColumns(int column,
int count,
WModelIndex parent) |
|
boolean |
WIdentityProxyModel.insertColumns(int column,
int count,
WModelIndex parent) |
Inserts one or more columns.
|
boolean |
WReadOnlyProxyModel.insertColumns(int column,
int count,
WModelIndex parent) |
Always returns false and has no effect.
|
boolean |
WStandardItemModel.insertColumns(int column,
int count,
WModelIndex parent) |
|
boolean |
WAbstractItemModel.insertRow(int row,
WModelIndex parent) |
Inserts one row.
|
boolean |
WAbstractItemModel.insertRows(int row,
int count,
WModelIndex parent) |
Inserts one or more rows.
|
boolean |
WBatchEditProxyModel.insertRows(int row,
int count,
WModelIndex parent) |
|
boolean |
WIdentityProxyModel.insertRows(int row,
int count,
WModelIndex parent) |
Inserts one or more rows.
|
boolean |
WSortFilterProxyModel.insertRows(int row,
int count,
WModelIndex parent) |
Inserts a number rows.
|
boolean |
WStandardItemModel.insertRows(int row,
int count,
WModelIndex parent) |
|
boolean |
WStringListModel.insertRows(int row,
int count,
WModelIndex parent) |
|
static boolean |
WModelIndex.isAncestor(WModelIndex i1,
WModelIndex i2) |
Returns whether i2 is an ancestor of i1.
|
boolean |
WAbstractItemView.isEditing(WModelIndex index) |
Returns whether an editor is open for a given index.
|
boolean |
WTreeView.isExpanded(WModelIndex index) |
Returns whether a node is expanded.
|
boolean |
WAbstractItemView.isSelected(WModelIndex index) |
Returns wheter an item is selected.
|
boolean |
WItemSelectionModel.isSelected(WModelIndex index) |
Returns wheter an item is selected.
|
boolean |
WAbstractItemView.isValid(WModelIndex index) |
Returns whether an editor's state is valid.
|
abstract WWidget |
WAbstractItemView.itemWidget(WModelIndex index) |
Returns the widget that renders an item.
|
WWidget |
WTableView.itemWidget(WModelIndex index) |
|
WWidget |
WTreeView.itemWidget(WModelIndex index) |
|
abstract WModelIndex |
WAbstractProxyModel.mapFromSource(WModelIndex sourceIndex) |
Maps a source model index to the proxy model.
|
WModelIndex |
WAggregateProxyModel.mapFromSource(WModelIndex sourceIndex) |
|
WModelIndex |
WBatchEditProxyModel.mapFromSource(WModelIndex sourceIndex) |
|
WModelIndex |
WIdentityProxyModel.mapFromSource(WModelIndex sourceIndex) |
Maps a proxy model index to the source model.
|
WModelIndex |
WReadOnlyProxyModel.mapFromSource(WModelIndex sourceIndex) |
Maps a source model index to the proxy model.
|
WModelIndex |
WSortFilterProxyModel.mapFromSource(WModelIndex sourceIndex) |
|
abstract WModelIndex |
WAbstractProxyModel.mapToSource(WModelIndex proxyIndex) |
Maps a proxy model index to the source model.
|
WModelIndex |
WAggregateProxyModel.mapToSource(WModelIndex proxyIndex) |
|
WModelIndex |
WBatchEditProxyModel.mapToSource(WModelIndex proxyIndex) |
|
WModelIndex |
WIdentityProxyModel.mapToSource(WModelIndex proxyIndex) |
Maps a source model index to the proxy model.
|
WModelIndex |
WReadOnlyProxyModel.mapToSource(WModelIndex proxyIndex) |
Maps a proxy model index to the source model.
|
WModelIndex |
WSortFilterProxyModel.mapToSource(WModelIndex proxyIndex) |
|
java.util.List<WModelIndex> |
WAbstractItemModel.match(WModelIndex start,
int role,
java.lang.Object value,
int hits,
MatchOptions flags) |
Returns an index list for data items that match.
|
boolean |
WAbstractItemModel.removeColumn(int column,
WModelIndex parent) |
Removes one column.
|
boolean |
WAbstractItemModel.removeColumns(int column,
int count,
WModelIndex parent) |
Removes columns.
|
boolean |
WAbstractProxyModel.removeColumns(int column,
int count,
WModelIndex parent) |
Removes columns.
|
boolean |
WBatchEditProxyModel.removeColumns(int column,
int count,
WModelIndex parent) |
|
boolean |
WIdentityProxyModel.removeColumns(int column,
int count,
WModelIndex parent) |
Removes columns.
|
boolean |
WReadOnlyProxyModel.removeColumns(int column,
int count,
WModelIndex parent) |
Always returns false and has no effect.
|
boolean |
WStandardItemModel.removeColumns(int column,
int count,
WModelIndex parent) |
|
boolean |
WAbstractItemModel.removeRow(int row,
WModelIndex parent) |
Removes one row.
|
boolean |
WAbstractItemModel.removeRows(int row,
int count,
WModelIndex parent) |
Removes rows.
|
boolean |
WBatchEditProxyModel.removeRows(int row,
int count,
WModelIndex parent) |
|
boolean |
WIdentityProxyModel.removeRows(int row,
int count,
WModelIndex parent) |
Removes rows.
|
boolean |
WSortFilterProxyModel.removeRows(int row,
int count,
WModelIndex parent) |
Removes a number rows.
|
boolean |
WStandardItemModel.removeRows(int row,
int count,
WModelIndex parent) |
|
boolean |
WStringListModel.removeRows(int row,
int count,
WModelIndex parent) |
|
void |
WAbstractItemView.scrollTo(WModelIndex index) |
Scrolls the view to an item.
|
abstract void |
WAbstractItemView.scrollTo(WModelIndex index,
WAbstractItemView.ScrollHint hint) |
Scrolls the view to an item.
|
void |
WTableView.scrollTo(WModelIndex index,
WAbstractItemView.ScrollHint hint) |
|
void |
WTreeView.scrollTo(WModelIndex index,
WAbstractItemView.ScrollHint hint) |
|
void |
WAbstractItemView.select(WModelIndex index) |
Selects a single item.
|
void |
WAbstractItemView.select(WModelIndex index,
SelectionFlag option) |
Selects a single item.
|
boolean |
WAbstractItemModel.setData(int row,
int column,
java.lang.Object value,
int role,
WModelIndex parent) |
Sets data at the given row and column.
|
boolean |
WAbstractItemModel.setData(WModelIndex index,
java.lang.Object value) |
Sets data at the given model index.
|
boolean |
WAbstractItemModel.setData(WModelIndex index,
java.lang.Object value,
int role) |
Sets data at the given model index.
|
boolean |
WAbstractProxyModel.setData(WModelIndex index,
java.lang.Object value,
int role) |
Sets the data at the given model index.
|
boolean |
WBatchEditProxyModel.setData(WModelIndex index,
java.lang.Object value,
int role) |
Sets item data.
|
boolean |
WReadOnlyProxyModel.setData(WModelIndex index,
java.lang.Object value,
int role) |
Always returns false and has no effect.
|
boolean |
WStandardItemModel.setData(WModelIndex index,
java.lang.Object value,
int role) |
|
boolean |
WStringListModel.setData(WModelIndex index,
java.lang.Object value,
int role) |
|
void |
WTreeView.setExpanded(WModelIndex index,
boolean expanded) |
Expands or collapses a node.
|
void |
IndexAnchor.setIndex(WModelIndex index2) |
|
void |
IndexContainerWidget.setIndex(WModelIndex index2) |
|
void |
IndexText.setIndex(WModelIndex index2) |
|
boolean |
WAbstractItemModel.setItemData(WModelIndex index,
java.util.SortedMap<java.lang.Integer,java.lang.Object> values) |
Sets data at the given model index.
|
boolean |
WAbstractProxyModel.setItemData(WModelIndex index,
java.util.SortedMap<java.lang.Integer,java.lang.Object> values) |
Sets the data at the given model index.
|
boolean |
WReadOnlyProxyModel.setItemData(WModelIndex index,
java.util.SortedMap<java.lang.Integer,java.lang.Object> values) |
Always returns false and has no effect.
|
void |
WAbstractItemDelegate.setModelData(java.lang.Object editState,
WAbstractItemModel model,
WModelIndex index) |
Saves the edited data to the model.
|
void |
WItemDelegate.setModelData(java.lang.Object editState,
WAbstractItemModel model,
WModelIndex index) |
Saves the edited data to the model.
|
void |
WAbstractItemView.setRootIndex(WModelIndex rootIndex) |
Sets the root index.
|
protected boolean |
WAbstractItemView.shiftEditorColumns(WModelIndex parent,
int start,
int count,
boolean persistWhenShifted) |
|
protected boolean |
WAbstractItemView.shiftEditorRows(WModelIndex parent,
int start,
int count,
boolean persistWhenShifted) |
|
protected void |
WAbstractProxyModel.startShiftModelIndexes(WModelIndex sourceParent,
int start,
int count,
java.util.SortedMap<WModelIndex,WAbstractProxyModel.BaseItem> items) |
Utility methods to shift items in an item map.
|
java.lang.Object |
WAbstractItemModel.toRawIndex(WModelIndex index) |
Converts a model index to a raw pointer that remains valid while the model's layout is
changed.
|
java.lang.Object |
WAbstractProxyModel.toRawIndex(WModelIndex index) |
Converts a model index to a raw pointer that remains valid while the model's layout is
changed.
|
java.lang.Object |
WStandardItemModel.toRawIndex(WModelIndex index) |
|
WWidget |
WAbstractItemDelegate.update(WWidget widget,
WModelIndex index,
ViewItemRenderFlag flag,
ViewItemRenderFlag... flags) |
Creates or updates a widget that renders an item.
|
abstract WWidget |
WAbstractItemDelegate.update(WWidget widget,
WModelIndex index,
java.util.EnumSet<ViewItemRenderFlag> flags) |
Creates or updates a widget that renders an item.
|
WWidget |
WItemDelegate.update(WWidget widget,
WModelIndex index,
java.util.EnumSet<ViewItemRenderFlag> flags) |
Creates or updates a widget that renders an item.
|
void |
WAbstractItemDelegate.updateModelIndex(WWidget widget,
WModelIndex index) |
Updates the model index of a widget.
|
void |
WItemDelegate.updateModelIndex(WWidget widget,
WModelIndex index) |
|
WValidator.State |
WAbstractItemDelegate.validate(WModelIndex index,
java.lang.Object editState) |
Returns whether the edited value is valid.
|
WValidator.State |
WAbstractItemView.validateEditor(WModelIndex index) |
Validates the editor for the given index.
|
touchStarted()
instead.