Package org.fest.swing.driver
Class JTableCheckBoxEditorCellWriter
java.lang.Object
org.fest.swing.driver.AbstractJTableCellWriter
org.fest.swing.driver.JTableCheckBoxEditorCellWriter
- All Implemented Interfaces:
JTableCellWriter
Understands an implementation of
JTableCellWriter that knows how to use
JTextComponents as cell editors.-
Field Summary
Fields inherited from class org.fest.swing.driver.AbstractJTableCellWriter
location, robot -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoStartCellEditing(JTable table, int row, int column, JTableLocation location) voidenterValue(JTable table, int row, int column, String value) Enters the given value at the given cell of the.JTablevoidstartCellEditing(JTable table, int row, int column) Starts editing the given cell of the.JTableMethods inherited from class org.fest.swing.driver.AbstractJTableCellWriter
cancelCellEditing, cannotFindOrActivateEditor, cellEditor, cellEditor, cellEditor, cellLocation, editor, editorForCell, scrollToCell, stopCellEditing, validate, waitForEditorActivation, waitForEditorActivation
-
Constructor Details
-
JTableCheckBoxEditorCellWriter
-
-
Method Details
-
enterValue
Enters the given value at the given cell of the. To edit a cell using this method, it is not necessary to callJTableorJTableCellWriter.startCellEditing(JTable, int, int).JTableCellWriter.stopCellEditing(JTable, int, int)- Parameters:
table- the targetJTable.row- the row index of the cell.column- the column index of the cell.value- the value to enter.
-
startCellEditing
Starts editing the given cell of the. This method should be called before manipulating theJTablereturned byComponent.JTableCellWriter.editorForCell(JTable, int, int)- Parameters:
table- the targetJTable.row- the row index of the cell.column- the column index of the cell.- See Also:
-
doStartCellEditing
@RunsInEDT private static Pair<Boolean,Point> doStartCellEditing(JTable table, int row, int column, JTableLocation location)
-