Module org.autogui
Package org.autogui.swing.table
Class ObjectTableColumn.ObjectTableColumnRowIndex
java.lang.Object
org.autogui.swing.table.ObjectTableColumn
org.autogui.swing.table.ObjectTableColumn.ObjectTableColumnRowIndex
- Direct Known Subclasses:
GuiSwingTableModelCollection.ObjectTableColumnRowIndexWithActions
- Enclosing class:
ObjectTableColumn
a top-column displaying a row-index number
-
Nested Class Summary
Nested classes/interfaces inherited from class org.autogui.swing.table.ObjectTableColumn
ObjectTableColumn.NumberRenderer, ObjectTableColumn.ObjectTableColumnLabel<ObjType,
PropType>, ObjectTableColumn.ObjectTableColumnRowIndex, ObjectTableColumn.PopupMenuBuilderSource, ObjectTableColumn.TableMenuComposite, ObjectTableColumn.TableMenuCompositeShared, ObjectTableColumn.TableTargetColumnForObjectColumn -
Field Summary
Fields inherited from class org.autogui.swing.table.ObjectTableColumn
comparator, rowHeight, tableColumn, valueType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint[]
columnIndexToValueIndex
(int columnIndex) protected TableCellRenderer
getCellValue
(Object rowObject, int rowIndex, int columnIndex, GuiReprValue.ObjectSpecifier specifier) Methods inherited from class org.autogui.swing.table.ObjectTableColumn
createLabel, createLabel, fromActionValue, getCellValueFromContext, getComparator, getCompositesForCells, getCompositesForRows, getMenuBuilderSource, getRowHeight, getSpecifier, getTableColumn, getValueType, isTaskRunnerUsedFor, setCellBorder, setCellValue, setCellValueFromContext, setColumnViewUpdater, setComparator, setRowHeight, setTableColumn, setValueType, shutdown, toActionValue, viewUpdateAsDynamic, withCellEditor, withCellRenderer, withComparator, withHeaderRenderer, withHeaderValue, withIdentifier, withMaxWidth, withMinWidth, withPreferredWidth, withResizable, withRowHeight, withTableColumn, withValueType
-
Constructor Details
-
ObjectTableColumnRowIndex
public ObjectTableColumnRowIndex()
-
-
Method Details
-
createRenderer
-
getCellValue
public Object getCellValue(Object rowObject, int rowIndex, int columnIndex, GuiReprValue.ObjectSpecifier specifier) - Overrides:
getCellValue
in classObjectTableColumn
- Parameters:
rowObject
- the row object at rowIndexrowIndex
- the row indexcolumnIndex
- the column indexspecifier
- specifier fromObjectTableColumn.getSpecifier(int, int)
- Returns:
- the value at columnIndex of rowObject.
it might be
Future
, and then the value will be specially treated as getting the value of the future as the cell value.
-
columnIndexToValueIndex
public int[] columnIndexToValueIndex(int columnIndex) - Overrides:
columnIndexToValueIndex
in classObjectTableColumn
-