public class ComboListBoxFunctions
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SELECT_KEYWORD
"Select"
|
static java.lang.String |
SELECTINDEX_KEYWORD
"SelectIndex"
|
Modifier and Type | Method and Description |
---|---|
static ComboListBoxFunctions |
getInstance()
public Singleton to access class static methods via instance
|
static ComponentFunction |
select(java.lang.String winname,
java.lang.String compname,
java.lang.String textValue)
Select an item by its text value from an exposed combobox dropdown list.
|
static ComponentFunction |
selectIndex(java.lang.String winname,
java.lang.String compname,
java.lang.String indexValue)
Select an item by its index from a combolistbox.
|
public static final java.lang.String SELECT_KEYWORD
public static final java.lang.String SELECTINDEX_KEYWORD
public static ComboListBoxFunctions getInstance()
public static ComponentFunction select(java.lang.String winname, java.lang.String compname, java.lang.String textValue)
Select an item by its text value from an exposed combobox dropdown list. Select an item by its text value from an exposed combobox dropdown list. This method requires that the list already be exposed via a ComboBox Click command. To combine both the Click and the Selection in a single command use the ComboBox Select command. We first test to make sure the item to select is actually in the list. If it is not, we report the failure and issue an ESCAPE character to close the list.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.textValue
- Optional:NO
The case-sensitive text item to selectpublic static ComponentFunction selectIndex(java.lang.String winname, java.lang.String compname, java.lang.String indexValue)
Select an item by its index from a combolistbox. Select an item by its index from a combolistbox. The list must already be exposed via a preceeding ComboBox Click. The routine will attempt to see if the index exists in the list. It will fail if it cannot validate the index or cannot read the array of items.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.indexValue
- Optional:NO
The item index in the exposed list to select.Copyright © SAS Institute. All Rights Reserved.