public class ProgressBarFunctions
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
GETPROGRESS_KEYWORD
"GetProgress"
|
static java.lang.String |
GETRATING_KEYWORD
"GetRating"
|
static java.lang.String |
SETPROGRESS_KEYWORD
"SetProgress"
|
static java.lang.String |
SETRATING_KEYWORD
"SetRating"
|
Modifier and Type | Method and Description |
---|---|
static ProgressBarFunctions |
getInstance()
public Singleton to access class static methods via instance
|
static ComponentFunction |
getProgress(java.lang.String winname,
java.lang.String compname,
java.lang.String[] parameters)
Action to get progress of a progress bar component.
|
static ComponentFunction |
getProgress(java.lang.String winname,
java.lang.String compname,
java.lang.String variableName,
java.lang.String isPrimary)
Action to get progress of a progress bar component.
|
static ComponentFunction |
getRating(java.lang.String winname,
java.lang.String compname,
java.lang.String variableName)
Action to get rating of a rating bar component.
|
static ComponentFunction |
setProgress(java.lang.String winname,
java.lang.String compname,
java.lang.String[] parameters)
Action to set progress for a progress bar component according to its value.
|
static ComponentFunction |
setProgress(java.lang.String winname,
java.lang.String compname,
java.lang.String progressValue,
java.lang.String isPrimary)
Action to set progress for a progress bar component according to its value.
|
static ComponentFunction |
setRating(java.lang.String winname,
java.lang.String compname,
java.lang.String ratingValue)
Action to set rating for a rating bar component according to its value.
|
public static final java.lang.String GETPROGRESS_KEYWORD
public static final java.lang.String GETRATING_KEYWORD
public static final java.lang.String SETPROGRESS_KEYWORD
public static final java.lang.String SETRATING_KEYWORD
public static ProgressBarFunctions getInstance()
public static ComponentFunction getProgress(java.lang.String winname, java.lang.String compname, java.lang.String variableName, java.lang.String isPrimary)
Action to get progress of a progress bar component.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 VariableName will contain the progress of progress bar in percentage.isPrimary
- Optional:YES
IsPrimary is boolean value (default is true). It indicates which indicator to get.public static ComponentFunction getProgress(java.lang.String winname, java.lang.String compname, java.lang.String[] parameters)
Action to get progress of a progress bar component.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 getRating(java.lang.String winname, java.lang.String compname, java.lang.String variableName)
Action to get rating of a rating bar component. Note: Work ONLY for android.widget.RatingBar object.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 VariableName will contain the rating of rating bar.public static ComponentFunction setProgress(java.lang.String winname, java.lang.String compname, java.lang.String progressValue, java.lang.String isPrimary)
Action to set progress for a progress bar component according to its 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.progressValue
- Optional:NO
ProgressValue to set.isPrimary
- Optional:YES
IsPrimary is boolean value (default is true). It indicates which indicator to set.public static ComponentFunction setProgress(java.lang.String winname, java.lang.String compname, java.lang.String[] parameters)
Action to set progress for a progress bar component according to its 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.parameters
- Optional:NO
An array containing the following parameters:
public static ComponentFunction setRating(java.lang.String winname, java.lang.String compname, java.lang.String ratingValue)
Action to set rating for a rating bar component according to its value. Note: Work ONLY for android.widget.RatingBar object.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.ratingValue
- Optional:NO
RatingValue to set.Copyright © SAS Institute. All Rights Reserved.