public class JTableCheckBoxEditorCellWriter extends AbstractJTableCellWriter
JTableCellWriter that knows how to use JTextComponents as cell editors.robot| Constructor and Description |
|---|
JTableCheckBoxEditorCellWriter(Robot robot) |
| Modifier and Type | Method and Description |
|---|---|
void |
enterValue(JTable table,
int row,
int column,
String value)
Enters the given value at the given cell of the
JTable. |
void |
startCellEditing(JTable table,
int row,
int column)
Starts editing the given cell of the
JTable. |
cancelCellEditing, cannotFindOrActivateEditor, cellEditor, cellEditor, cellEditor, cellLocation, editor, editorForCell, location, scrollToCell, stopCellEditing, validate, waitForEditorActivation, waitForEditorActivation@RunsInEDT public void enterValue(@Nonnull JTable table, int row, int column, @Nonnull String value)
JTableCellWriterJTable. To edit a cell using this method, it is not
necessary to call JTableCellWriter.startCellEditing(JTable, int, int) or JTableCellWriter.stopCellEditing(JTable, int, int).table - the target JTable.row - the row index of the cell.column - the column index of the cell.value - the value to enter.@RunsInEDT public void startCellEditing(@Nonnull JTable table, int row, int column)
JTableCellWriterJTable. This method should be called before manipulating the AWT or
Swing Component returned by JTableCellWriter.editorForCell(JTable, int, int).table - the target JTable.row - the row index of the cell.column - the column index of the cell.JTableCellWriter.editorForCell(JTable, int, int)Copyright © 2014 AssertJ. All rights reserved.