Package FlaNium.WinAPI.elements
Class Spinner
- java.lang.Object
-
- org.openqa.selenium.remote.RemoteWebElement
-
- FlaNium.WinAPI.DesktopElement
-
- FlaNium.WinAPI.elements.Spinner
-
- All Implemented Interfaces:
org.openqa.selenium.interactions.Locatable,org.openqa.selenium.SearchContext,org.openqa.selenium.TakesScreenshot,org.openqa.selenium.WebElement,org.openqa.selenium.WrapsDriver
public class Spinner extends DesktopElement
-
-
Constructor Summary
Constructors Constructor Description Spinner(org.openqa.selenium.WebElement element)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddecrement()Performs decrement.doublegetValue()Gets the current value.voidincrement()Performs increment.booleanisOnlyValue()Flag which indicates if the "Spinner" supports range values (min-max) or only values (0-100).doublemaximum()The maximum value.doubleminimum()The minimum value.voidsetValue(double value)Sets the current value.doublesmallChange()The value of a small change.-
Methods inherited from class FlaNium.WinAPI.DesktopElement
callValueCommand, callValueCommand, callValueCommand, callValueCommand, callValueCommand, callValueCommand, callVoidCommand, castTo, createLocalDateTimeFromResponse, createRemoteWebElementFromResponse, createRemoteWebElementsFromResponse, exe, execute, getActiveWindow, getAttribute, getElementRect, getName, mouseActions, parseDateTime, parseDouble, screenshotActions, setAsRootElement, toCoordinateElement, touchActions
-
Methods inherited from class org.openqa.selenium.remote.RemoteWebElement
clear, click, equals, execute, findElement, findElement, findElements, findElements, getAccessibleName, getAriaRole, getCoordinates, getCssValue, getDomAttribute, getDomProperty, getId, getLocation, getRect, getScreenshotAs, getShadowRoot, getSize, getTagName, getText, getWrappedDriver, hashCode, isDisplayed, isEnabled, isSelected, sendKeys, setFileDetector, setFoundBy, setId, setParent, submit, toJson, toString
-
-
-
-
Method Detail
-
minimum
public double minimum()
The minimum value.- Returns:
-
maximum
public double maximum()
The maximum value.- Returns:
-
smallChange
public double smallChange()
The value of a small change.- Returns:
-
isOnlyValue
public boolean isOnlyValue()
Flag which indicates if the "Spinner" supports range values (min-max) or only values (0-100). Only values are for example used when combining UIA3 and WinForms applications.- Returns:
-
getValue
public double getValue()
Gets the current value.- Returns:
-
setValue
public void setValue(double value)
Sets the current value.- Parameters:
value-
-
increment
public void increment()
Performs increment.
-
decrement
public void decrement()
Performs decrement.
-
-