DoubleClickCell Method (JTable)

Class

JTable.

Action

Double-clicks the specified cell in the table.

Syntax

table.DoubleClickCell(row, column, [button, position, modifiers])
Variable Description
row The index of the row. The value is zero-based. Integer.
column The name or index of the column. ItemIdentifier.
button Optional: The button used for double-clicking. Valid values are: left (=1, the default value), right (=2), middle (=3). MouseButton.
position Optional: The double-clicked position within the table cell. If the position is omitted, the double-click is done in the center of the table cell. Point.
modifiers Optional: The modifier keys (Alt, Shift and Ctrl) to press while double-clicking the table cell. Default: Don't use modifier keys. ModifierKeys.

Examples

table.DoubleClickCell(1, "Street", MouseButton.Left, New Point(10, 10), SilkTest.Ntf.ModifierKeys.Control)
table.DoubleClickCell(1, "Street")
table.DoubleClickCell(1, 5)