public class JSpinner extends JComponent
| Modifier | Constructor and Description |
|---|---|
protected |
JSpinner(JtfObjectHandle handle,
Desktop desktop)
使用 JtfObjectHandle 创建新 JSpinner。
|
| Modifier and Type | Method and Description |
|---|---|
String |
getValue()
获取 微调框值对象字符串表示形式。
|
void |
next()
设置微调框为按一定序列排列的对象,即该对象显示在由 Value 属性返回的对象后面。
|
void |
previous()
设置微调框为按一定序列排列的对象,即该对象显示在由 Value 属性返回的对象前面。
|
getToolTipTextclick, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, getAccessibleName, getAccessibleRole, getBackground, getCursor, getFont, getForeground, getHeight, getName, getNativeHandle, getWidth, isEnabled, isFocusable, isFocused, mouseMove, mouseMove, openContextMenu, openContextMenu, pressKeys, pressKeys, pressMouse, pressMouse, pressMouse, pressMouse, releaseKeys, releaseKeys, releaseMouse, releaseMouse, releaseMouse, releaseMouse, scrollIntoView, setFocus, typeKeys, typeKeys, typeKeys, typePasswordKeys, typePasswordKeys, typePasswordKeyscaptureBitmap, 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, 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 JSpinner(JtfObjectHandle handle, Desktop desktop)
handle - 可确定 JSpinner 的句柄desktop - 此对象所在的桌面public void next()
public void previous()
public String getValue()
要获取显示的值,您可能需要获取基础对象的值(文本字段)。
getValue in class TestObjectCopyright 2009-2012 Micro Focus. All Rights Reserved.