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 classThis class can be used to construct an instance of the ViewDescription class using the builder pattern.protected static classViewDescription.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.protectedViewDescription(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.voidsetScrollable(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, setVRIMethods inherited from class com.hp.lft.sdk.PropertiesDescription
cloneMethods inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase
getValueAs, getValueAsStringProperty, insertValueMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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.
-