public class SapButton extends SapComponent
Modifier | Constructor and Description |
---|---|
protected |
SapButton(JtfObjectHandle handle,
Desktop desktop)
Creates a new SapButton with a JtfObjectHandle.
|
Modifier and Type | Method and Description |
---|---|
int |
getCharHeight()
Gets the height of the element in character metric.
|
int |
getCharLeft()
Gets the left coordinate of the element in character metric.
|
int |
getCharTop()
Gets the top coordinate of the element in character metric.
|
int |
getCharWidth()
Gets the width of the element in character metric.
|
void |
select()
This emulates manually pressing a button.
|
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
- the handle that identifies the SapButtondesktop
- the desktop on which this object livespublic void select()
public int getCharHeight()
public int getCharLeft()
public int getCharTop()
public int getCharWidth()
Copyright 2009-2012 Micro Focus. All Rights Reserved.