- All Known Subinterfaces:
GuiReprCollectionTable.TableTargetCell
,GuiReprCollectionTable.TableTargetColumn
- All Known Implementing Classes:
GuiSwingViewCollectionTable.TableTargetCellForCollectionTable
,ObjectTableColumn.TableTargetColumnForObjectColumn
,TableTargetCellForJTable
,TableTargetColumnForJTable
- Enclosing class:
GuiReprCollectionTable
public static interface GuiReprCollectionTable.TableTarget
interface for actions which handle selected-rows;
an actual implementation relies on a concrete GUI component
-
Method Details
-
isSelectionEmpty
boolean isSelectionEmpty() -
getSelectedRows
int[] getSelectedRows() -
getSelectedRowValues
-
getSelectedCells
List<GuiReprCollectionTable.CellValue> getSelectedCells() -
getSelectedCellIndices
Iterable<int[]> getSelectedCellIndices()- Returns:
- a sequence of {row, column}. those indices are from the view model, which might be different from the context's ones. The view-model has additional columns other than the context, e.g. the row-index column.
-
getSelectedCellIndicesAsList
-
getSelectedCellValues
-
setCellValues
-
setCellValues
- Parameters:
pos
- the specified cell: {row, column}posToValue
- pos: {row, column} to a cell value, if it returns null, then it skips the updating
-