public class WPFSlider extends WPFRangeBase
Modifier | Constructor and Description |
---|---|
protected |
WPFSlider(JtfObjectHandle handle,
Desktop desktop)
使用 JtfObjectHandle 创建新 WPFSlider。
|
Modifier and Type | Method and Description |
---|---|
void |
decreaseLarge()
大量减少滑块的值。
|
void |
decreaseSmall()
少量减少滑块的值。
|
int |
getDelay()
获取 按下 RepeatButton 后到执行移动滑块的命令前 RepeatButton 等待的时间量(毫秒)。
|
Orientation |
getOrientation()
获取 滑块是以水平方式还是垂直方式显示。
|
double |
getSelectionEnd()
获取 滑块的指定选择的最大值。
|
double |
getSelectionStart()
获取 滑块的指定选择的最小值。
|
double |
getTickFrequency()
获取 刻度线之间的间隔。
|
TickPlacement |
getTickPlacement()
获取 相对于滑块轨迹的刻度线的位置。
|
void |
increaseLarge()
大量增加滑块的值。
|
void |
increaseSmall()
少量增加滑块的值。
|
boolean |
isDirectionReversed()
获取 值的增加方向。
|
boolean |
isMoveToPointEnabled()
获取 表示滑块是否立即移至鼠标单击位置的值,当鼠标指针停在滑块轨迹上时执行鼠标单击。
|
boolean |
isSelectionRangeEnabled()
获取 表示滑块是否显示滑块上的选择范围的值。
|
boolean |
isSnapToTickEnabled()
获取 表示滑块是否自动移至最近刻度线的值。
|
void |
setValue(double value)
设置滑块的位置。
|
void |
setValueToMaximum()
设置滑块至最大位置。
|
void |
setValueToMinimum()
设置滑块至最小位置。
|
getLargeChange, getMaximum, getMinimum, getSmallChange, getValue
getFontFamily, getFontSize, getTabIndex, isTabStop
getActualHeight, getActualWidth, getMaximumScrollPosition, getName, getScrollPosition, pointFromScreen, pointToScreen, scroll, scrollToPosition
bringIntoView, click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, getToolTip, isEnabled, isFocused, mouseMove, mouseMove, openContextMenu, openContextMenu, openContextMenuSelect, openContextMenuSelect, openContextMenuSelect, openContextMenuSelect, pressKeys, pressKeys, pressMouse, pressMouse, pressMouse, pressMouse, releaseKeys, releaseKeys, releaseMouse, releaseMouse, releaseMouse, releaseMouse, setFocus, 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 WPFSlider(JtfObjectHandle handle, Desktop desktop)
handle
- 可确定 WPFSlider 的句柄desktop
- 此对象所在的桌面public void decreaseLarge()
public void decreaseSmall()
public void increaseLarge()
public void increaseSmall()
public void setValue(double value)
value
- 可为滑块设置的值public void setValueToMaximum()
public void setValueToMinimum()
public int getDelay()
public boolean isDirectionReversed()
public boolean isMoveToPointEnabled()
public boolean isSelectionRangeEnabled()
public boolean isSnapToTickEnabled()
public Orientation getOrientation()
public double getSelectionEnd()
public double getSelectionStart()
public double getTickFrequency()
public TickPlacement getTickPlacement()
Copyright 2009-2012 Micro Focus. All Rights Reserved.