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>rightSideImgs-
Fields 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
All Methods Instance Methods Concrete Methods 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(SmartCucumberScenarioContext scenarioContext, org.sikuli.script.Region region)TextBoxValidatorSIgetValidator(SmartAppDriver appDriver, org.sikuli.script.Region region)booleanisDisabled()booleanisReadOnly()TextBoxSIsetDisabled(boolean disabled)TextBoxSIsetReadOnly(boolean readOnly)TextBoxSIupdateLocatorParameterWithValue(String paramName, String paramValue)-
Methods inherited from class org.uitnet.testing.smartfwk.ui.core.objects.UIObject
getDisplayName, getLocatorType, getType
-
-
-
-
Constructor Detail
-
TextBoxSI
public TextBoxSI(String displayName, String leftSideImg, String rightSideImg, ObjectLocation location)
-
-
Method Detail
-
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
public ObjectLocation getLocation()
-
isReadOnly
public boolean isReadOnly()
-
setReadOnly
public TextBoxSI setReadOnly(boolean readOnly)
-
isDisabled
public boolean isDisabled()
-
setDisabled
public TextBoxSI setDisabled(boolean disabled)
-
getValidator
public TextBoxValidatorSI getValidator(SmartAppDriver appDriver, org.sikuli.script.Region region)
- Specified by:
getValidatorin classTextBox
-
getValidator
public TextBoxValidatorSI getValidator(SmartCucumberScenarioContext scenarioContext, org.sikuli.script.Region region)
- Specified by:
getValidatorin classTextBox
-
updateLocatorParameterWithValue
public TextBoxSI updateLocatorParameterWithValue(String paramName, String paramValue)
- Specified by:
updateLocatorParameterWithValuein classUIObject
-
-