Uses of Class
org.fest.swing.data.TableCell
Packages that use TableCell
Package
Description
Simple (but useful) data structures.
Drivers that simulate user input on GUI
Component
s.
The power and flexibility of FEST-Swing come from the fixtures in
this package.
-
Uses of TableCell in org.fest.swing.data
Methods in org.fest.swing.data that return TableCellModifier and TypeMethodDescriptionTableCell.TableCellBuilder.column
(int column) Creates a new table cell using the row index specified in
and the column index specified as the argument in this method.row(int)
private static TableCell
TableCellByColumnId.findCell
(JTable table, JTableCellReader cellReader) Finds a cell in the given
that has a matching row index and column id.JTable
TableCellFinder.findCell
(JTable table, JTableCellReader cellReader) Finds a cell in the given
based on some search criteria specified by this finder.JTable
TableCellInRowByValue.findCell
(JTable table, JTableCellReader cellReader) Finds a cell in the given
that: is located in the first row whose values match the given ones has a matching row indexJTable
TableCellInSelectedRow.findCell
(JTable table, JTableCellReader cellReader) Finds a cell in the given
that belongs to the first selected row and has a matching column index.JTable
-
Uses of TableCell in org.fest.swing.driver
Methods in org.fest.swing.driver that return TableCellModifier and TypeMethodDescriptionReturns a cell from the given
whose value matches the given one.JTable
Returns a cell from the given
whose value matches the given regular expression pattern.JTable
JTableDriver.cell
(JTable table, TableCellFinder cellFinder) Returns a cell from the given
using the given cell finder.JTable
(package private) static TableCell
JTableMatchingCellQuery.cellWithValue
(JTable table, TextMatcher matcher, JTableCellReader cellReader) private static TableCell
JTableMatchingCellQuery.findMatchingCell
(JTable table, TextMatcher matcher, JTableCellReader cellReader) Methods in org.fest.swing.driver with parameters of type TableCellModifier and TypeMethodDescriptionJTableDriver.background
(JTable table, TableCell cell) Returns the background color of the given table cell.void
JTableDriver.cancelCellEditing
(JTable table, TableCell cell) Cancels editing the given cell of the
, using this driver'sJTable
.JTableCellWriter
private static Color
JTableDriver.cellBackground
(JTable table, TableCell cell, JTableCellReader cellReader) JTableLocation.cellBounds
(JTable table, TableCell cell) Returns the bounds of the given cell.JTableDriver.cellEditor
(JTable table, TableCell cell) Returns the editor in the given cell of the
, using this driver'sJTable
.JTableCellWriter
private static Font
JTableDriver.cellFont
(JTable table, TableCell cell, JTableCellReader cellReader) private static Color
JTableDriver.cellForeground
(JTable table, TableCell cell, JTableCellReader cellReader) private static String
JTableDriver.cellValue
(JTable table, TableCell cell, JTableCellReader cellReader) private org.fest.assertions.Description
JTableDriver.cellValueProperty
(JTable table, TableCell cell) void
JTableDriver.click
(JTable table, TableCell cell, MouseButton mouseButton, int times) Clicks the given cell, using the specified mouse button, the given number of times.void
Starts a drag operation at the location of the given table cell.void
Starts a drop operation at the location of the given table cell.void
JTableDriver.enterValueInCell
(JTable table, TableCell cell, String value) Enters the given value in the given cell of the
, using this driver'sJTable
.JTableCellWriter
Returns the font of the given table cell.JTableDriver.foreground
(JTable table, TableCell cell) Returns the foreground color of the given table cell.(package private) static boolean
JTableCellEditableQuery.isCellEditable
(JTable table, TableCell cell) Converts the given table cell into a coordinate pair.private static Point
JTableDriver.pointAtCell
(JTable table, TableCell cell, JTableLocation location) void
JTableDriver.requireCellValue
(JTable table, TableCell cell, String value) Asserts that the value of the given cell matches the given value.void
JTableDriver.requireCellValue
(JTable table, TableCell cell, Pattern pattern) Asserts that the value of the given cell matches the given regular expression pattern.void
JTableDriver.requireEditable
(JTable table, TableCell cell) Asserts that the given table cell is editable.private static void
JTableDriver.requireEditableEqualTo
(JTable table, TableCell cell, boolean editable) void
JTableDriver.requireNotEditable
(JTable table, TableCell cell) Asserts that the given table cell is not editable.private static void
JTableDriver.scrollToCell
(JTable table, TableCell cell, JTableLocation location) private static Point
JTableDriver.scrollToPointAtCell
(JTable table, TableCell cell, JTableLocation location) void
JTableDriver.selectCell
(JTable table, TableCell cell) Selects the given cell, if it is not selected already.void
JTableDriver.selectCells
(JTable table, TableCell[] cells) Selects the given cells of the
.JTable
JTableDriver.showPopupMenuAt
(JTable table, TableCell cell) Shows a pop-up menu at the given table cell.void
JTableDriver.startCellEditing
(JTable table, TableCell cell) Starts editing the given cell of the
, using this driver'sJTable
.JTableCellWriter
void
JTableDriver.stopCellEditing
(JTable table, TableCell cell) Stops editing the given cell of the
, using this driver'sJTable
.JTableCellWriter
void
Validates that the given table cell is nonnull
and its indices are not out of bounds.private static void
JTableDriver.validateCellIndexBounds
(JTable table, TableCell cell) static void
JTableCellValidator.validateCellIndices
(JTable table, TableCell cell) Validates that the given table cell is nonnull
and its indices are not out of bounds.private void
JTableDriver.validateCellsToSelect
(TableCell[] cells) static void
JTableCellValidator.validateNotNull
(TableCell cell) Validates that the given table cell is notnull
.Returns theString
representation of the value at the given cell, using this driver's
.JTableCellReader
-
Uses of TableCell in org.fest.swing.fixture
Fields in org.fest.swing.fixture declared as TableCellMethods in org.fest.swing.fixture that return TableCellModifier and TypeMethodDescription(package private) TableCell
JTableCellFixture.cell()
Returns a fixture that manages the table cell whose value matches the given one.Returns a fixture that manages the table cell whose value matches the given regular expression pattern.Methods in org.fest.swing.fixture with parameters of type TableCellModifier and TypeMethodDescriptionJTableFixture.backgroundAt
(TableCell cell) Returns a fixture that verifies the background color of the given table cell.Returns a fixture that manages the table cell specified by the given row and column.private org.fest.assertions.Description
JTableFixture.cellProperty
(TableCell cell, String propertyName) JTableFixture.click
(TableCell cell, MouseButton button) Simulates a user clicking a cell in this fixture's
once, using the specified mouse button.JTable
(package private) void
JTableFixture.click
(TableCell cell, MouseButton button, int times) JTableFixture.click
(TableCell cell, MouseClickInfo mouseClickInfo) Simulates a user clicking a cell in this fixture's
, using the specified mouse button the given number of times.JTable
Simulates a user dragging an item from this fixture's
.JTable
Simulates a user dropping an item to this fixture's
.JTable
JTableFixture.enterValue
(TableCell cell, String value) Enters the given value in the given cell of this fixture's
, using this fixture'sJTable
.JTableCellWriter
Returns a fixture that verifies the font of the given table cell.JTableFixture.foregroundAt
(TableCell cell) Returns a fixture that verifies the foreground color of the given table cell.Converts the given cell into a coordinate pair.JTableFixture.requireCellValue
(TableCell cell, String value) Asserts that the value of the given cell matches the given value.JTableFixture.requireCellValue
(TableCell cell, Pattern pattern) Asserts that the value of the given cell matches the given regular expression pattern.JTableFixture.requireEditable
(TableCell cell) Asserts that the given cell in this fixture's
is editable.JTable
JTableFixture.requireNotEditable
(TableCell cell) Asserts that the given cell in this fixture's
is not editable.JTable
JTableFixture.selectCell
(TableCell cell) Simulates a user selecting the given cell (row and column) of this fixture's
.JTable
JTableFixture.selectCells
(TableCell... cells) Simulates a user selecting the given cells of this fixture's
.JTable
JTableFixture.showPopupMenuAt
(TableCell cell) Shows a pop-up menu at the given cell.private void
JTableCellFixture.validateNotNull
(TableCell newCell) Returns theString
representation of the value of a cell in this fixture's
, using this fixture'sJTable
.JTableCellReader
Constructors in org.fest.swing.fixture with parameters of type TableCellModifierConstructorDescriptionprotected
JTableCellFixture
(JTableFixture table, TableCell cell) Creates a new
.JTableCellFixture