public class NumericUpDown extends UpDown
Modifier | Constructor and Description |
---|---|
protected |
NumericUpDown(JtfObjectHandle handle,
Desktop desktop)
使用 JtfObjectHandle 创建新 NumericUpDown。
|
Modifier and Type | Method and Description |
---|---|
void |
decrementDecimal()
减少向上/向下控件的位置值。
|
void |
decrementDecimal(double amount)
减少向上/向下控件的位置值。
|
double |
getMaximum()
获取 向上/向下控件的最大值。
|
double |
getMinimum()
获取 向上/向下控件的最小值。
|
double |
getPositionDecimal()
获取 向上/向下控件的位置。
|
void |
incrementDecimal()
增加向上/向下控件的位置值。
|
void |
incrementDecimal(double amount)
增加向上/向下控件的位置值。
|
void |
setMaximum(double maximum)
设置 向上/向下控件的最大值。
|
void |
setMinimum(double minimum)
设置 向上/向下控件的最小值。
|
void |
setPositionDecimal(double positionDecimal)
设置 向上/向下控件的位置。
|
decrement, decrement, getPosition, getRange, increment, increment, isHorizontal, isWrapAround, setPosition, setRange
getHorizontalBar, getVerticalBar, openContextMenu, openContextMenu
click, 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, typePasswordKeys
captureBitmap, 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, 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 NumericUpDown(JtfObjectHandle handle, Desktop desktop)
handle
- 可确定 NumericUpDown 的句柄desktop
- 此对象所在的桌面public void decrementDecimal()
public void decrementDecimal(double amount)
amount
- 增量。默认值为“1”。public void incrementDecimal()
public void incrementDecimal(double amount)
amount
- 增量。默认值为“1”。public double getMaximum()
public void setMaximum(double maximum)
maximum
- 向上/向下控件的最大值public double getMinimum()
public void setMinimum(double minimum)
minimum
- 向上/向下控件的最小值public double getPositionDecimal()
public void setPositionDecimal(double positionDecimal)
positionDecimal
- 向上/向下控件的位置Copyright 2009-2012 Micro Focus. All Rights Reserved.