public class TableViewFunctions
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ACTIVATETABLEROW_KEYWORD
"ActivateTableRow"
|
static java.lang.String |
GETCELLVALUE_KEYWORD
"GetCellValue"
|
static java.lang.String |
GETROWCOUNT_KEYWORD
"GetRowCount"
|
static java.lang.String |
SETSELECTEDCOLUMN_KEYWORD
"SetSelectedColumn"
|
static java.lang.String |
SETSELECTEDROW_KEYWORD
"SetSelectedRow"
|
static java.lang.String |
SETTABLECELLDATA_KEYWORD
"SetTableCellData"
|
static java.lang.String |
VERIFYCELLVALUE_KEYWORD
"VerifyCellValue"
|
Modifier and Type | Method and Description |
---|---|
static ComponentFunction |
activateTableRow(java.lang.String winname,
java.lang.String compname,
java.lang.String row)
Activate the specified row in the table.
|
static ComponentFunction |
getCellValue(java.lang.String winname,
java.lang.String compname,
java.lang.String[] parameters)
Get the value of a cell at a certain row and column
The variable in the parameter will be set to the value of the specified
row and column.
|
static ComponentFunction |
getCellValue(java.lang.String winname,
java.lang.String compname,
java.lang.String variableName,
java.lang.String row,
java.lang.String column)
Get the value of a cell at a certain row and column
The variable in the parameter will be set to the value of the specified
row and column.
|
static TableViewFunctions |
getInstance()
public Singleton to access class static methods via instance
|
static ComponentFunction |
getRowCount(java.lang.String winname,
java.lang.String compname,
java.lang.String rowCount)
Get a count of how many rows are in the table
The variable in the parameter will be set to the number of rows
in the table.
|
static ComponentFunction |
setSelectedColumn(java.lang.String winname,
java.lang.String compname,
java.lang.String column)
Set the current column of to the one specified.
|
static ComponentFunction |
setSelectedRow(java.lang.String winname,
java.lang.String compname,
java.lang.String row)
Set the current row of to the one specified.
|
static ComponentFunction |
setTableCellData(java.lang.String winname,
java.lang.String compname,
java.lang.String[] parameters)
Set a specific cell to the specified value.
|
static ComponentFunction |
setTableCellData(java.lang.String winname,
java.lang.String compname,
java.lang.String row,
java.lang.String column,
java.lang.String textValue)
Set a specific cell to the specified value.
|
static ComponentFunction |
verifyCellValue(java.lang.String winname,
java.lang.String compname,
java.lang.String[] parameters)
Verify the contents of a particular cell at position
row, column.
|
static ComponentFunction |
verifyCellValue(java.lang.String winname,
java.lang.String compname,
java.lang.String expectedText,
java.lang.String row,
java.lang.String column)
Verify the contents of a particular cell at position
row, column.
|
public static final java.lang.String ACTIVATETABLEROW_KEYWORD
public static final java.lang.String GETCELLVALUE_KEYWORD
public static final java.lang.String GETROWCOUNT_KEYWORD
public static final java.lang.String SETSELECTEDCOLUMN_KEYWORD
public static final java.lang.String SETSELECTEDROW_KEYWORD
public static final java.lang.String SETTABLECELLDATA_KEYWORD
public static final java.lang.String VERIFYCELLVALUE_KEYWORD
public static TableViewFunctions getInstance()
public static ComponentFunction activateTableRow(java.lang.String winname, java.lang.String compname, java.lang.String row)
Activate the specified row in the table. Activate the specified row in the table.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.row
- Optional:NO
The row number to activate.public static ComponentFunction getCellValue(java.lang.String winname, java.lang.String compname, java.lang.String variableName, java.lang.String row, java.lang.String column)
Get the value of a cell at a certain row and column The variable in the parameter will be set to the value of the specified row and column.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.variableName
- Optional:NO
The variable that the data will be stored in.row
- Optional:NO
The row that the data will be extracted fromcolumn
- Optional:NO
The column that the data will be extracted from.public static ComponentFunction getCellValue(java.lang.String winname, java.lang.String compname, java.lang.String[] parameters)
Get the value of a cell at a certain row and column The variable in the parameter will be set to the value of the specified row and column.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.parameters
- Optional:NO
An array containing the following parameters:
public static ComponentFunction getRowCount(java.lang.String winname, java.lang.String compname, java.lang.String rowCount)
Get a count of how many rows are in the table The variable in the parameter will be set to the number of rows in the table.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.rowCount
- Optional:NO
The variable that the number of rows will be stored in.public static ComponentFunction setSelectedColumn(java.lang.String winname, java.lang.String compname, java.lang.String column)
Set the current column of to the one specified. In the tableview the current column will be set to the one specified in the command parameter.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.column
- Optional:NO
The column number that the TableView should be set to.public static ComponentFunction setSelectedRow(java.lang.String winname, java.lang.String compname, java.lang.String row)
Set the current row of to the one specified. In the tableview the current row will be set to the one specified in the command parameter.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.row
- Optional:NO
The row number that the TableView should be set to.public static ComponentFunction setTableCellData(java.lang.String winname, java.lang.String compname, java.lang.String row, java.lang.String column, java.lang.String textValue)
Set a specific cell to the specified value. Set the cell at the specified position in the table to a specific value. The user must make sure that the values indicated in the command are valid as far as the row and column specification of the table.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.row
- Optional:NO
The row that the cell you want to set is in.column
- Optional:NO
The column that the cell you want to set is in.textValue
- Optional:NO
The text value to set the cell value to.public static ComponentFunction setTableCellData(java.lang.String winname, java.lang.String compname, java.lang.String[] parameters)
Set a specific cell to the specified value. Set the cell at the specified position in the table to a specific value. The user must make sure that the values indicated in the command are valid as far as the row and column specification of the table.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.parameters
- Optional:NO
An array containing the following parameters:
public static ComponentFunction verifyCellValue(java.lang.String winname, java.lang.String compname, java.lang.String expectedText, java.lang.String row, java.lang.String column)
Verify the contents of a particular cell at position row, column. The data is verified to equal the value of EXPECTED value at the specified row and column.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.expectedText
- Optional:NO
The value that the data in the cell is expected to equal.row
- Optional:NO
The row number of the cell to be verified.column
- Optional:NO
The column number of the cell to be verified.public static ComponentFunction verifyCellValue(java.lang.String winname, java.lang.String compname, java.lang.String[] parameters)
Verify the contents of a particular cell at position row, column. The data is verified to equal the value of EXPECTED value at the specified row and column.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.parameters
- Optional:NO
An array containing the following parameters:
Copyright © SAS Institute. All Rights Reserved.