public class SparkNumericStepper extends SparkSpinner
Modifier | Constructor and Description |
---|---|
protected |
SparkNumericStepper(JtfObjectHandle handle,
Desktop desktop)
使用 JtfObjectHandle 创建新 SparkNumericStepper。
|
Modifier and Type | Method and Description |
---|---|
String |
getImeMode()
获取 IME(输入法编辑器)模式。
|
int |
getMaxChars()
获取 可在字段中输入的最大字符数。
|
void |
input(String text)
用户在控件中键入、删除或粘贴文本时发送。
|
boolean |
isEnableIME()
获取 组件接收焦点时是否启用 IME 的值。
|
void |
selectText(int beginIndex,
int endIndex)
选择文本时发送。
|
change, isAllowValueWrap, type, type
getMaximum, getMinimum, getSnapInterval, getStepSize, 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 SparkNumericStepper(JtfObjectHandle handle, Desktop desktop)
handle
- 可确定 SparkNumericStepper 的句柄desktop
- 此对象所在的桌面public void input(String text)
text
- 用户输入的字符或字符序列public void selectText(int beginIndex, int endIndex)
beginIndex
- 第一个所选字符的索引endIndex
- 最后一个所选字符的索引public boolean isEnableIME()
public String getImeMode()
public int getMaxChars()
Copyright 2009-2012 Micro Focus. All Rights Reserved.