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, setCellValues
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.autogui.base.mapping.GuiReprCollectionTable.TableTarget
getSelectedCellIndicesAsList, getSelectedCells, getSelectedCellValues, getSelectedRows, getSelectedRowValues, isSelectionEmpty, setCellValues, setCellValues
Methods inherited from interface org.autogui.base.mapping.GuiReprCollectionTable.TableTargetCell
getSelectedRowAllCellIndicesAsList
Methods 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:
getSelectedCellValue
in interfaceGuiReprCollectionTable.TableTargetColumn
- Returns:
- the value of the primary cell
-
getSelectedCellIndices
- Specified by:
getSelectedCellIndices
in interfaceGuiReprCollectionTable.TableTarget
- Overrides:
getSelectedCellIndices
in 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.
-