public class EditBoxFunctions
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SETTEXTCHARACTERS_KEYWORD
"SetTextCharacters"
|
static java.lang.String |
SETTEXTVALUE_KEYWORD
"SetTextValue"
|
static java.lang.String |
SETUNVERIFIEDTEXTCHARACTERS_KEYWORD
"SetUnverifiedTextCharacters"
|
static java.lang.String |
SETUNVERIFIEDTEXTVALUE_KEYWORD
"SetUnverifiedTextValue"
|
Modifier and Type | Method and Description |
---|---|
static EditBoxFunctions |
getInstance()
public Singleton to access class static methods via instance
|
static ComponentFunction |
setTextCharacters(java.lang.String winname,
java.lang.String compname,
java.lang.String textValue)
Set the text of the editbox
This action sets the text of the editbox.
|
static ComponentFunction |
setTextValue(java.lang.String winname,
java.lang.String compname,
java.lang.String textValue)
Set the text of the editbox
This action sets the text of the editbox.
|
static ComponentFunction |
setUnverifiedTextCharacters(java.lang.String winname,
java.lang.String compname,
java.lang.String textValue)
Set the text of the editbox
This action sets the text of the editbox.
|
static ComponentFunction |
setUnverifiedTextValue(java.lang.String winname,
java.lang.String compname,
java.lang.String textValue)
Set the text of the editbox without verification
This action sets the text of the editbox.
|
public static final java.lang.String SETTEXTCHARACTERS_KEYWORD
public static final java.lang.String SETTEXTVALUE_KEYWORD
public static final java.lang.String SETUNVERIFIEDTEXTCHARACTERS_KEYWORD
public static final java.lang.String SETUNVERIFIEDTEXTVALUE_KEYWORD
public static EditBoxFunctions getInstance()
public static ComponentFunction setTextCharacters(java.lang.String winname, java.lang.String compname, java.lang.String textValue)
Set the text of the editbox This action sets the text of the editbox. It verifies we can read the property, sets the text value and then verifies that the property has been set to that value. This routine uses only the literal text provided. It does not attempt to convert or interpret the text provided as special characters. To do that, see the SetTextValue command.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:YES DefaultVal:
The text that will be typed into the EditBox.public static ComponentFunction setTextValue(java.lang.String winname, java.lang.String compname, java.lang.String textValue)
Set the text of the editbox This action sets the text of the editbox. This version allows the use of special character combinations and substrings to identify specific keyboard keys. These are the same special characters and interpretation used for Robot's InputKeys command and the Windows Scripting Host. ~^+%{( are primarily the characters that induce special processing. The routine verifies we can read the text property, sets the text value and will verify that the property has been set to that value *IF* none of the special characters exist in the provided text value. If those special characters exist, then no post-set verification will occur. If you do not want to have any characters converted or interpretted as special characters then you need to use the SetTextCharacters command.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:YES DefaultVal:
The text that will be typed into the EditBox and verified.public static ComponentFunction setUnverifiedTextCharacters(java.lang.String winname, java.lang.String compname, java.lang.String textValue)
Set the text of the editbox This action sets the text of the editbox. This routine uses only the literal text provided. It does not attempt to convert or interpret the text provided as special characters. To do that, see the SetTextValue commands. No attempt to verify the EditBox value is performed.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:YES DefaultVal:
The text that will be typed into the EditBox.public static ComponentFunction setUnverifiedTextValue(java.lang.String winname, java.lang.String compname, java.lang.String textValue)
Set the text of the editbox without verification This action sets the text of the editbox. This version allows the use of special character combinations and substrings to identify specific keyboard keys. These are the same special characters and interpretation used for Robot's InputKeys command and the Windows Scripting Host. The routine does not verify that the property has been set to that value.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:YES DefaultVal:
The text that will be typed into the EditBox.Copyright © SAS Institute. All Rights Reserved.