public class SapLabel extends SapComponent
Modifier | Constructor and Description |
---|---|
protected |
SapLabel(JtfObjectHandle handle,
Desktop desktop)
使用 JtfObjectHandle 创建新 SapLabel。
|
Modifier and Type | Method and Description |
---|---|
int |
getCharLeft()
获取 标签的左坐标(字符度量)。
|
int |
getCharTop()
获取 标签的上坐标(字符度量)。
|
int |
getCharWidth()
获取 元素的宽度(字符度量)。
|
int |
getColorIndex()
获取 标签的颜色索引。
|
String |
getDisplayedText()
获取 标签的文本。
|
int |
getMaxlength()
获取 标签的最大文本长度(代码单位)。
|
boolean |
isColorInverse()
获取 是否为标签设置反色样式。
|
boolean |
isHighlighted()
获取 标签是否已分配“突出显示”标记。
|
boolean |
isHotspot()
获取 针对标签的鼠标单击是否会导致往返行程。
|
boolean |
isLeftLabel()
获取 组件是否已分配“向左分配”标记。
|
boolean |
isListElement()
获取 元素是否在 ABAP 列表中。
|
boolean |
isNumerical()
获取 表示是否可以仅包括数字。
|
boolean |
isRightLabel()
获取 组件是否已分配“向右分配”标记。
|
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 SapLabel(JtfObjectHandle handle, Desktop desktop)
handle
- 可确定 SapLabel 的句柄desktop
- 此对象所在的桌面public int getCharLeft()
public int getCharTop()
public int getCharWidth()
public int getColorIndex()
public boolean isColorInverse()
public String getDisplayedText()
public boolean isHighlighted()
public boolean isHotspot()
public boolean isLeftLabel()
public boolean isListElement()
public boolean isRightLabel()
public int getMaxlength()
public boolean isNumerical()
Copyright 2009-2012 Micro Focus. All Rights Reserved.