public class Scale extends Control
| Modifier | Constructor and Description |
|---|---|
protected |
Scale(JtfObjectHandle handle,
Desktop desktop)
使用 JtfObjectHandle 创建新 Scale。
|
| Modifier and Type | Method and Description |
|---|---|
int |
getPosition()
获取 刻度脱字号的实际位置。
|
Range |
getRange()
获取 刻度的范围。
|
void |
setPosition(int position)
设置刻度的位置。
|
void |
setRange(Range range)
设置 刻度的范围。
|
void |
setToMax()
设置刻度至最大位置。
|
void |
setToMin()
设置刻度至最小位置。
|
getHorizontalBar, getVerticalBar, openContextMenu, openContextMenuclick, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, getBackground, getFont, getForeground, getNativeHandle, isEnabled, isFocused, isVisible, mouseMove, mouseMove, pressKeys, pressKeys, pressMouse, pressMouse, pressMouse, pressMouse, releaseKeys, releaseKeys, releaseMouse, releaseMouse, releaseMouse, releaseMouse, setBackground, setEnabled, setFocus, setFont, setForeground, setVisible, typeKeys, typeKeys, typeKeys, typePasswordKeys, typePasswordKeys, typePasswordKeyscaptureBitmap, captureBitmap, exists, exists, generateLocator, getChildren, getDynamicMethodList, getParent, getPropertyList, getRect, getRect, getValue, 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, waitForPropertyequals, 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, toStringprotected Scale(JtfObjectHandle handle, Desktop desktop)
handle - 可确定 Scale 的句柄desktop - 此对象所在的桌面public void setPosition(int position)
position - 移动的目标位置的内部数值public void setToMax()
public void setToMin()
public int getPosition()
public Range getRange()
public void setRange(Range range)
range - 刻度的范围Copyright 2009-2012 Micro Focus. All Rights Reserved.