Interface ISlider
A Java slider.
Inherited Members
Namespace: HP.LFT.SDK.Java
Assembly: HP.LFT.SDK.dll
Syntax
public interface ISlider : IUiObjectBase, IClickable, IDoubleClickable, ILocationInfoProvider, ISupportsNativeObject, IEnabledProvider, IVisibleProvider, ITestObject, ITestObjectDescriber
Properties
ContainerAttachedText
The text of the slider object's container.
Declaration
string ContainerAttachedText { get; }
Property Value
| Type | Description |
|---|---|
| string |
IsScrollBar
Indicates whether slider is a scrollBar.
Declaration
bool IsScrollBar { get; }
Property Value
| Type | Description |
|---|---|
| bool |
MaxPosition
The maximum position of the slider.
Declaration
int MaxPosition { get; }
Property Value
| Type | Description |
|---|---|
| int |
MinPosition
The minimum position of the slider.
Declaration
int MinPosition { get; }
Property Value
| Type | Description |
|---|---|
| int |
Orientation
A value of the Orientation enum.
Declaration
SliderOrientation Orientation { get; }
Property Value
| Type | Description |
|---|---|
| SliderOrientation |
Position
The position of the slider.
Declaration
int Position { get; }
Property Value
| Type | Description |
|---|---|
| int |
Methods
NextLine(uint)
Moves the slider downward, or to the right, the specified number of lines.
Declaration
void NextLine(uint numberOfLines = 1)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | numberOfLines | The number of lines to move the slider. |
PreviousLine(uint)
Moves the slider upward, or to the left, the specified number of lines.
Declaration
void PreviousLine(uint numberOfLines = 1)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | numberOfLines | The number of lines to move the slider. |
SetPosition(int)
Sets the position of the slider.
Declaration
void SetPosition(int position)
Parameters
| Type | Name | Description |
|---|---|---|
| int | position | The position of the slider. |