Package com.hp.lft.sdk.mobile
Class ViewDescription
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.ViewDescription
- All Implemented Interfaces:
CloneableObject
,Description
,com.hp.lft.sdk.internal.DescriptionWithVri
,Cloneable
The description of a View 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 ViewDescription class using the builder pattern.protected static class
ViewDescription.Init<T extends ViewDescription.Init<T>>
Helper class for ViewDescription.Builder. -
Field Summary
Fields inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase
properties
-
Constructor Summary
ConstructorsModifierConstructorDescriptionInitializes a new instance of the ViewDescription class.protected
ViewDescription
(ViewDescription.Init<?> init) Initializes a new instance of the ViewDescription class using the Builder pattern. -
Method Summary
Modifier and TypeMethodDescriptionIndicates whether the view can be scrolled.void
setScrollable
(Boolean isScrollable) Sets whether the view can be scrolled.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
-
ViewDescription
public ViewDescription()Initializes a new instance of the ViewDescription class. -
ViewDescription
Initializes a new instance of the ViewDescription class using the Builder pattern.- Parameters:
init
- the Builder pattern.
-
-
Method Details
-
setScrollable
Sets whether the view can be scrolled.- Parameters:
isScrollable
- true if the view can be scrolled.
-
isScrollable
Indicates whether the view can be scrolled.- Returns:
- true if the object can be scrolled.
-