Package com.hp.lft.sdk.powerbuilder
Class ScrollBarDescription
java.lang.Object
com.hp.lft.sdk.internal.PropertiesDescriptionBase
com.hp.lft.sdk.PropertiesDescription
com.hp.lft.sdk.DescriptionBase
com.hp.lft.sdk.powerbuilder.UiObjectBaseDescription
com.hp.lft.sdk.powerbuilder.ScrollBarDescription
- All Implemented Interfaces:
CloneableObject,Description,com.hp.lft.sdk.internal.DescriptionWithVri,Cloneable
The description of a PowerBuilder ScrollBar test object.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThis class can be used to construct an instance of the ScrollBarDescription class using the builder pattern.protected static classScrollBarDescription.Init<T extends ScrollBarDescription.Init<T>>Helper class for ScrollBarDescription.Builder. -
Field Summary
Fields inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase
properties -
Constructor Summary
ConstructorsModifierConstructorDescriptionInitializes a new instance of the ScrollBarDescription class.protectedInitializes a new instance of the ScrollBarDescription class using the Builder pattern. -
Method Summary
Modifier and TypeMethodDescriptionReturns the maximum scrolling position.Returns the minimum scrolling position.Returns the current scroll bar position.voidsetMaxPosition(Integer maxPosition) Sets the maximum scrolling position.voidsetMinPosition(Integer minPosition) Sets the minimum scrolling position.voidsetPosition(Integer position) Sets the current scroll bar position.Methods inherited from class com.hp.lft.sdk.powerbuilder.UiObjectBaseDescription
getAbsoluteLocation, getAttachedText, getLocation, getNativeClass, getObjectName, getSize, getText, getWindowClassRegExp, getWindowExtendedStyle, getWindowId, getWindowStyle, getWindowTitleRegExp, isEnabled, isFocused, isVisible, setAbsoluteLocation, setAbsoluteLocation, setAbsoluteLocation, setAttachedText, setAttachedText, setEnabled, setFocused, setLocation, setLocation, setLocation, setNativeClass, setNativeClass, setObjectName, setObjectName, setSize, setSize, setSize, setText, setText, setVisible, setWindowClassRegExp, setWindowClassRegExp, setWindowExtendedStyle, setWindowId, setWindowStyle, setWindowTitleRegExp, setWindowTitleRegExpMethods inherited from class com.hp.lft.sdk.DescriptionBase
cloneTo, getIndex, getIndexType, getObjectProperties, getVRI, setIndex, setIndexType, setObjectProperties, 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
-
ScrollBarDescription
public ScrollBarDescription()Initializes a new instance of the ScrollBarDescription class. -
ScrollBarDescription
Initializes a new instance of the ScrollBarDescription class using the Builder pattern.- Parameters:
init- the Builder pattern.
-
-
Method Details
-
setMaxPosition
Sets the maximum scrolling position.- Parameters:
maxPosition- the maximum scrolling position.
-
getMaxPosition
Returns the maximum scrolling position.- Returns:
- the maximum scrolling position.
-
setMinPosition
Sets the minimum scrolling position.- Parameters:
minPosition- the minimum scrolling position.
-
getMinPosition
Returns the minimum scrolling position.- Returns:
- the minimum scrolling position.
-
setPosition
Sets the current scroll bar position.- Parameters:
position- the current scroll bar position.
-
getPosition
Returns the current scroll bar position.- Returns:
- the current scroll bar position.
-