Package com.hp.lft.sdk.mobile
Class EditFieldDescription
java.lang.Object
com.hp.lft.sdk.internal.PropertiesDescriptionBase
com.hp.lft.sdk.PropertiesDescription
com.hp.lft.sdk.mobile.UiObjectBaseDescription
com.hp.lft.sdk.mobile.EditFieldDescription
- All Implemented Interfaces:
CloneableObject
,Description
,com.hp.lft.sdk.internal.DescriptionWithVri
,Cloneable
The description of an EditField test object in a mobile application.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
This class can be used to construct an instance of the EditFieldDescription class using the builder pattern.protected static class
EditFieldDescription.Init<T extends EditFieldDescription.Init<T>>
Helper class for EditFieldDescription.Builder. -
Field Summary
Fields inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase
properties
-
Constructor Summary
ConstructorsModifierConstructorDescriptionInitializes a new instance of the EditFieldDescription class.protected
Initializes a new instance of the EditFieldDescription class using the Builder pattern. -
Method Summary
Modifier and TypeMethodDescriptiongetHint()
Returns the hint of the edit field.void
setHint
(StringProperty hint) Sets the hint of the edit field.void
Sets the hint of the edit field.Methods inherited from class com.hp.lft.sdk.mobile.UiObjectBaseDescription
cloneTo, getAccessibilityId, getClassName, getContainer, getMobileCenterIndex, getNativeClass, getObjectProperties, getResourceId, getText, getVRI, isCheckable, isChecked, isClickable, isEnabled, isFocusable, isFocused, setAccessibilityId, setAccessibilityId, setCheckable, setChecked, setClassName, setClickable, setContainer, setEnabled, setFocusable, setFocused, setMobileCenterIndex, setNativeClass, setNativeClass, setObjectProperties, setResourceId, setResourceId, setText, setText, setVRI, setVRI
Methods inherited from class com.hp.lft.sdk.PropertiesDescription
clone
Methods inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase
getValueAs, getValueAsStringProperty, insertValue
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.hp.lft.sdk.CloneableObject
clone
-
Constructor Details
-
EditFieldDescription
public EditFieldDescription()Initializes a new instance of the EditFieldDescription class. -
EditFieldDescription
Initializes a new instance of the EditFieldDescription class using the Builder pattern.- Parameters:
init
- the Builder pattern.
-
-
Method Details
-
setHint
Sets the hint of the edit field.- Parameters:
hint
- the hint of the edit field.
-
setHint
Sets the hint of the edit field.- Parameters:
hint
- a StringProperty (or RegExpProperty) representing the hint of the edit field.
-
getHint
Returns the hint of the edit field.- Returns:
- the hint of the edit field.
-