public class SapButton extends SapComponent
Modifier | Constructor and Description |
---|---|
protected |
SapButton(JtfObjectHandle handle,
Desktop desktop)
使用 JtfObjectHandle 创建新 SapButton。
|
Modifier and Type | Method and Description |
---|---|
int |
getCharHeight()
获取 元素的高度(字符度量)。
|
int |
getCharLeft()
获取 元素的左坐标(字符度量)。
|
int |
getCharTop()
获取 元素的上坐标(字符度量)。
|
int |
getCharWidth()
获取 元素的宽度(字符度量)。
|
void |
select()
这将手动模仿按下按钮。
|
getAccessibilityText, getAccessibilityTextOnRequest, getAccessibilityTooltip, getDefaultTooltip, getHeight, getIconName, getLeft, getName, getScreenLeft, getScreenTop, getTooltip, getTop, getWidth, isChangeable, isFocused, isModified, isSymbolFont, setFocus, showContextMenu
captureBitmap, captureBitmap, exists, exists, generateLocator, getChildren, getDynamicMethodList, getParent, getPropertyList, getRect, getRect, getText, 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 SapButton(JtfObjectHandle handle, Desktop desktop)
handle
- 可确定 SapButton 的句柄desktop
- 此对象所在的桌面public void select()
public int getCharHeight()
public int getCharLeft()
public int getCharTop()
public int getCharWidth()
Copyright 2009-2012 Micro Focus. All Rights Reserved.