public class SparkRange extends SparkObject
Modifier | Constructor and Description |
---|---|
protected |
SparkRange(JtfObjectHandle handle,
Desktop desktop)
使用 JtfObjectHandle 创建新 SparkRange。
|
Modifier and Type | Method and Description |
---|---|
double |
getMaximum()
获取 最大有效值。
|
double |
getMinimum()
获取 最小有效值。
|
double |
getSnapInterval()
获取 snapInterval。
|
double |
getStepSize()
获取 调用 changeValueByStep() 方法时 Value 属性更改的数量。
|
Double |
getValue()
获取 此范围的当前值。
|
changeFocus, changeFocus, changeFocus, getAutomationClassName, getAutomationIndex, getAutomationName, getClassName, getCurrentState, getErrorColor, getErrorString, getId, getNumAutomationChildren, getPercentHeight, getPercentWidth, getScaleX, getScaleY, getThemeColor, getToolTip, isEnabled, isFocusEnabled, isUseHandCursor, move, move, move, setFocus
click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, getAlpha, getHeight, getStyle, getTabIndex, getWidth, getX, getY, isMouseEnabled, isTabChildren, isTabEnabled, isVisible, mouseMove, mouseMove, nativeToString, pressKeys, pressKeys, pressMouse, pressMouse, pressMouse, pressMouse, releaseKeys, releaseKeys, releaseMouse, releaseMouse, releaseMouse, releaseMouse, typeKeys, typeKeys, typeKeys, typePasswordKeys, typePasswordKeys, typePasswordKeys
captureBitmap, captureBitmap, exists, exists, generateLocator, getChildren, getDynamicMethodList, getParent, getPropertyList, getRect, getRect, getText, highlightObject, highlightObject, highlightObject, invokeMethods, textCapture, textCapture, textClick, textClick, textClick, textClick, textClick, textClick, textExists, textExists, textExists, textExists, textExists, textRectangle, textRectangle, textRectangle, textRectangle, textRectangle, waitForChildDisappearance, waitForChildDisappearance, waitForDisappearance, waitForDisappearance, waitForObject, waitForObject, waitForProperty, waitForProperty
equals, exists, find, find, findAll, findAll, getCustomTypeName, getDesktop, getHandle, getLocator, getProperty, getTypeName, hashCode, imageClick, imageClick, imageClick, imageClick, imageClick, imageClick, imageClickFile, imageClickFile, imageClickFile, imageClickFile, imageClickFile, imageClickFile, imageExists, imageExists, imageExists, imageExistsFile, imageExistsFile, imageExistsFile, imageRectangle, imageRectangle, imageRectangle, imageRectangleFile, imageRectangleFile, imageRectangleFile, invoke, preventFinalLocator, setProperty, toString
protected SparkRange(JtfObjectHandle handle, Desktop desktop)
handle
- 可确定 SparkRange 的句柄desktop
- 此对象所在的桌面public double getMaximum()
public double getMinimum()
public double getSnapInterval()
public double getStepSize()
public Double getValue()
getValue
in class TestObject
Copyright 2009-2012 Micro Focus. All Rights Reserved.