Class TextBoxSI
java.lang.Object
org.uitnet.testing.smartfwk.ui.core.objects.UIObject
org.uitnet.testing.smartfwk.ui.core.objects.textbox.TextBox
org.uitnet.testing.smartfwk.ui.standard.imgobj.TextBoxSI
public class TextBoxSI extends TextBox
- Author:
- Madhav Krishna
-
Field Summary
Fields Modifier and Type Field Description protected booleandisabledprotected Map<String,String>leftSideImgsprotected ObjectLocationlocationprotected booleanreadOnlyprotected Map<String,String>rightSideImgsFields inherited from class org.uitnet.testing.smartfwk.ui.core.objects.UIObject
displayName, locatorType, uiObjectType -
Constructor Summary
Constructors Constructor Description TextBoxSI(String displayName, String leftSideImg, String rightSideImg, ObjectLocation location) -
Method Summary
Modifier and Type Method Description TextBoxSIaddPlatformImageForNativeApp(PlatformType platform, String leftSideImg, String rightSideImg)TextBoxSIaddPlatformImageForWebApp(PlatformType platform, WebBrowserType browserType, String leftSideImg, String rightSideImg)TextBoxSIclone()StringgetLeftSideImage(PlatformType platform, ApplicationType appType, WebBrowserType browserType)ObjectLocationgetLocation()StringgetRightSideImage(PlatformType platform, ApplicationType appType, WebBrowserType browserType)TextBoxValidatorSIgetValidator(SmartAppDriver appDriver, org.sikuli.script.Region region)TextBoxValidatorSIgetValidator(SmartCucumberUiScenarioContext scenarioContext, org.sikuli.script.Region region)booleanisDisabled()booleanisReadOnly()TextBoxSIsetDisabled(boolean disabled)TextBoxSIsetReadOnly(boolean readOnly)TextBoxSIupdateLocatorParameterWithValue(AppConfig appConfig, String paramName, String paramValue)Methods inherited from class org.uitnet.testing.smartfwk.ui.core.objects.UIObject
getDisplayName, getLocatorType, getType
-
Field Details
-
leftSideImgs
-
rightSideImgs
-
location
-
readOnly
protected boolean readOnly -
disabled
protected boolean disabled
-
-
Constructor Details
-
TextBoxSI
public TextBoxSI(String displayName, String leftSideImg, String rightSideImg, ObjectLocation location)
-
-
Method Details
-
addPlatformImageForNativeApp
public TextBoxSI addPlatformImageForNativeApp(PlatformType platform, String leftSideImg, String rightSideImg) -
addPlatformImageForWebApp
public TextBoxSI addPlatformImageForWebApp(PlatformType platform, WebBrowserType browserType, String leftSideImg, String rightSideImg) -
getLeftSideImage
public String getLeftSideImage(PlatformType platform, ApplicationType appType, WebBrowserType browserType) -
getRightSideImage
public String getRightSideImage(PlatformType platform, ApplicationType appType, WebBrowserType browserType) -
getLocation
-
isReadOnly
public boolean isReadOnly() -
setReadOnly
-
isDisabled
public boolean isDisabled() -
setDisabled
-
getValidator
- Specified by:
getValidatorin classTextBox
-
getValidator
public TextBoxValidatorSI getValidator(SmartCucumberUiScenarioContext scenarioContext, org.sikuli.script.Region region)- Specified by:
getValidatorin classTextBox
-
clone
-
updateLocatorParameterWithValue
public TextBoxSI updateLocatorParameterWithValue(AppConfig appConfig, String paramName, String paramValue)- Specified by:
updateLocatorParameterWithValuein classUIObject
-