Package com.hp.lft.sdk.java
Interface TableCell
public interface TableCell
A single cell in a Java Table.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
click()
Clicks the cell.void
click
(MouseButton button) Clicks the cell using the specifiedMouseButton
.void
click
(MouseButton button, TableKeyModifier modifiers) Clicks the cell using the specifiedMouseButton
andTableKeyModifier
.void
Double clicks the cell.void
doubleClick
(MouseButton button) Double clicks the cell using the specifiedMouseButton
.void
doubleClick
(MouseButton button, TableKeyModifier modifiers) Double clicks the cell using the specifiedMouseButton
andTableKeyModifier
.void
dragAndDropOn
(TableCell targetCell) void
dragAndDropOn
(TableCell targetCell, MouseButton button) void
dragAndDropOn
(TableCell targetCell, MouseButton button, TableKeyModifier modifiers) Drags and drops thisTableCell
to the specified targetTableCell
using the specifiedMouseButton
andTableKeyModifier
.Returns the column header name of the cell.getValue()
Returns the content of the cell.void
Sets the cell to a new value.
-
Method Details
-
getValue
Returns the content of the cell.- Returns:
- the content of the cell.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
setValue
Sets the cell to a new value.- Parameters:
value
- the new value.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getColumnHeader
Returns the column header name of the cell.- Returns:
- the column header name
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
click
Clicks the cell.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
click
Clicks the cell using the specifiedMouseButton
.- Parameters:
button
- either the LEFT or RIGHT button value ofMouseButton
.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
click
Clicks the cell using the specifiedMouseButton
andTableKeyModifier
.- Parameters:
button
- either the LEFT or RIGHT button value ofMouseButton
.modifiers
- aTableKeyModifier
value indicating keys to be pressed and held while the operation is performed.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
doubleClick
Double clicks the cell.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
doubleClick
Double clicks the cell using the specifiedMouseButton
.- Parameters:
button
- either the LEFT or RIGHT button value ofMouseButton
.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
doubleClick
Double clicks the cell using the specifiedMouseButton
andTableKeyModifier
.- Parameters:
button
- either the LEFT or RIGHT button value ofMouseButton
.modifiers
- aTableKeyModifier
value indicating keys to be pressed and held while the operation is performed.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
dragAndDropOn
- Parameters:
targetCell
- the targetTableCell
on which thisTableCell
is dropped.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
dragAndDropOn
- Parameters:
targetCell
- the targetTableCell
on which thisTableCell
is dropped.button
- either the LEFT or RIGHT button value ofMouseButton
.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
dragAndDropOn
void dragAndDropOn(TableCell targetCell, MouseButton button, TableKeyModifier modifiers) throws GeneralLeanFtException Drags and drops thisTableCell
to the specified targetTableCell
using the specifiedMouseButton
andTableKeyModifier
.- Parameters:
targetCell
- the targetTableCell
on which thisTableCell
is dropped.button
- either the LEFT or RIGHT button value ofMouseButton
.modifiers
- aTableKeyModifier
value indicating keys to be pressed and held while the operation is performed.- Throws:
GeneralLeanFtException
- if error occurs during execution
-