Package com.hp.lft.sdk.java
Class SliderDescription.Init<T extends SliderDescription.Init<T>>
java.lang.Object
com.hp.lft.sdk.DescriptionBase.Init<T>
com.hp.lft.sdk.java.UiObjectBaseDescription.Init<T>
com.hp.lft.sdk.java.SliderDescription.Init<T>
- Direct Known Subclasses:
SliderDescription.Builder
- Enclosing class:
- SliderDescription
protected abstract static class SliderDescription.Init<T extends SliderDescription.Init<T>>
extends UiObjectBaseDescription.Init<T>
Helper class for SliderDescription.Builder.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Returns the built description instance (builder pattern).containerAttachedText
(StringProperty containerAttachedText) Initializes the slider container's attached text.containerAttachedText
(String containerAttachedText) Initializes the slider container's attached text .isScrollBar
(Boolean isScrollBar) Initializes whether slider is a scrollBar.maxPosition
(Integer maxPosition) Initializes the maximum position of the slider.minPosition
(Integer minPosition) Initializes the minimum position of the slider.orientation
(SliderOrientation orientation) Initializes the orientation of the slider.Initializes the position of the slider.Methods inherited from class com.hp.lft.sdk.java.UiObjectBaseDescription.Init
absoluteLocation, absoluteLocation, absoluteLocation, attachedText, attachedText, backgroundColor, backgroundColor, enabled, focused, foregroundColor, foregroundColor, label, label, location, location, location, nativeClass, nativeClass, objectName, objectName, path, path, size, size, size, tagName, tagName, visible, wrapped
Methods inherited from class com.hp.lft.sdk.DescriptionBase.Init
index, objectProperties, self, vri, vri
-
Constructor Details
-
Init
protected Init()
-
-
Method Details
-
build
Description copied from class:DescriptionBase.Init
Returns the built description instance (builder pattern).- Overrides:
build
in classDescriptionBase.Init<T extends SliderDescription.Init<T>>
- Returns:
- The built description instance (builder pattern).
-
containerAttachedText
Initializes the slider container's attached text .- Parameters:
containerAttachedText
- the container's attached text.- Returns:
- the description instance with the updated state (builder pattern).
-
containerAttachedText
Initializes the slider container's attached text.- Parameters:
containerAttachedText
- aStringProperty
orRegExpProperty
.- Returns:
- the description instance with the updated state (builder pattern).
-
orientation
Initializes the orientation of the slider.- Parameters:
orientation
- the orientation of the slider.- Returns:
- the description instance with the updated state (builder pattern).
-
position
Initializes the position of the slider.- Parameters:
position
- the position of the slider.- Returns:
- the description instance with the updated state (builder pattern).
-
maxPosition
Initializes the maximum position of the slider.- Parameters:
maxPosition
- the maximum position of the slider.- Returns:
- the description instance with the updated state (builder pattern).
-
minPosition
Initializes the minimum position of the slider.- Parameters:
minPosition
- the minimum position of the slider.- Returns:
- the description instance with the updated state (builder pattern).
-
isScrollBar
Initializes whether slider is a scrollBar.- Parameters:
isScrollBar
- true if slider is a scrollBar.- Returns:
- the description instance with the updated state (builder pattern).
-