public class JTableCheckBoxEditorCellWriter extends AbstractJTableCellWriter
JTableCellWriter that knows how to use
JTextComponents as cell editors.location, 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
. |
void |
startCellEditing(JTable table,
int row,
int column)
Starts editing the given cell of the
. |
cancelCellEditing, cannotFindOrActivateEditor, cellEditor, cellEditor, cellEditor, cellLocation, editor, editorForCell, scrollToCell, stopCellEditing, validate, waitForEditorActivation, waitForEditorActivationpublic JTableCheckBoxEditorCellWriter(Robot robot)
@RunsInEDT public void enterValue(JTable table, int row, int column, String value)
JTable. 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(JTable table, int row, int column)
JTable. This method should be called before manipulating
the 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 © 2007-2012 FEST (Fixtures for Easy Software Testing). All Rights Reserved.