java.lang.Object
org.autogui.swing.table.TableTargetCellForJTable
org.autogui.swing.table.TableTargetColumnForJTable
- All Implemented Interfaces:
GuiReprCollectionTable.TableTarget,GuiReprCollectionTable.TableTargetCell,GuiReprCollectionTable.TableTargetColumn
public class TableTargetColumnForJTable
extends TableTargetCellForJTable
implements GuiReprCollectionTable.TableTargetColumn
an impl. of
GuiReprCollectionTable.TableTargetColumn with a JTable.-
Field Summary
FieldsFields inherited from class org.autogui.swing.table.TableTargetCellForJTable
table -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.autogui.swing.table.TableTargetCellForJTable
convertViewToData, getCellsByCellIndices, getSelectedCells, getSelectedRowAllCellIndices, getSelectedRowAllCells, getSelectedRows, getSelectedRowsView, getSelectedRowValues, getTable, isSelectionEmpty, setCellValues, setCellValuesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.autogui.base.mapping.GuiReprCollectionTable.TableTarget
getSelectedCellIndicesAsList, getSelectedCells, getSelectedCellValues, getSelectedRows, getSelectedRowValues, isSelectionEmpty, setCellValues, setCellValuesMethods inherited from interface org.autogui.base.mapping.GuiReprCollectionTable.TableTargetCell
getSelectedRowAllCellIndicesAsListMethods inherited from interface org.autogui.base.mapping.GuiReprCollectionTable.TableTargetColumn
setSelectedCellValuesLoop
-
Field Details
-
column
protected int columnmodel index
-
-
Constructor Details
-
TableTargetColumnForJTable
-
-
Method Details
-
getSelectedCellValue
- Specified by:
getSelectedCellValuein interfaceGuiReprCollectionTable.TableTargetColumn- Returns:
- the value of the primary cell
-
getSelectedCellIndices
- Specified by:
getSelectedCellIndicesin interfaceGuiReprCollectionTable.TableTarget- Overrides:
getSelectedCellIndicesin classTableTargetCellForJTable- 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.
-