Package com.hp.lft.sdk.java
Interface TableCell
public interface TableCell
A single cell in a Java Table.
-
Method Summary
Modifier and TypeMethodDescriptionvoidclick()Clicks the cell.voidclick(MouseButton button) Clicks the cell using the specifiedMouseButton.voidclick(MouseButton button, TableKeyModifier modifiers) Clicks the cell using the specifiedMouseButtonandTableKeyModifier.voidDouble clicks the cell.voiddoubleClick(MouseButton button) Double clicks the cell using the specifiedMouseButton.voiddoubleClick(MouseButton button, TableKeyModifier modifiers) Double clicks the cell using the specifiedMouseButtonandTableKeyModifier.voiddragAndDropOn(TableCell targetCell) voiddragAndDropOn(TableCell targetCell, MouseButton button) voiddragAndDropOn(TableCell targetCell, MouseButton button, TableKeyModifier modifiers) Drags and drops thisTableCellto the specified targetTableCellusing the specifiedMouseButtonandTableKeyModifier.Returns the column header name of the cell.getValue()Returns the content of the cell.voidSets 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 specifiedMouseButtonandTableKeyModifier.- Parameters:
button- either the LEFT or RIGHT button value ofMouseButton.modifiers- aTableKeyModifiervalue 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 specifiedMouseButtonandTableKeyModifier.- Parameters:
button- either the LEFT or RIGHT button value ofMouseButton.modifiers- aTableKeyModifiervalue indicating keys to be pressed and held while the operation is performed.- Throws:
GeneralLeanFtException- if error occurs during execution
-
dragAndDropOn
- Parameters:
targetCell- the targetTableCellon which thisTableCellis dropped.- Throws:
GeneralLeanFtException- if error occurs during execution
-
dragAndDropOn
- Parameters:
targetCell- the targetTableCellon which thisTableCellis 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 thisTableCellto the specified targetTableCellusing the specifiedMouseButtonandTableKeyModifier.- Parameters:
targetCell- the targetTableCellon which thisTableCellis dropped.button- either the LEFT or RIGHT button value ofMouseButton.modifiers- aTableKeyModifiervalue indicating keys to be pressed and held while the operation is performed.- Throws:
GeneralLeanFtException- if error occurs during execution
-