public class RumbaField extends RumbaObject
Modifier | Constructor and Description |
---|---|
protected |
RumbaField(JtfObjectHandle handle,
Desktop desktop)
使用 JtfObjectHandle 创建新 RumbaField。
|
Modifier and Type | Method and Description |
---|---|
List<RumbaCharacterAttribute> |
getCharacterAttributes()
获取此字段字符的字符属性。
|
int |
getEndColumn()
获取 表示字段的结束列的值。
|
int |
getEndLine()
获取 表示字段的结束行的值。
|
int |
getEndPosition()
获取 如果屏幕被视为字符序列,则为字段的基于 1 的结束位置。
|
int |
getLength()
获取 字段的长度。
|
int |
getStartColumn()
获取 表示字段的开始列的值。
|
int |
getStartLine()
获取 表示字段的开始行的值。
|
int |
getStartPosition()
获取 如果屏幕被视为字符序列,则为字段的基于 1 的开始位置。
|
String |
getText()
获取 字段的文本内容。
|
HostFieldEditConstants |
getType()
获取 表示输入为此字段所允许的值。
|
boolean |
isAutoEnter()
获取 当字段为 AutoEnter 字段时表示为 ture 的值。
|
boolean |
isAutoSkip()
获取 当字段为 AutoSkip 字段时表示为 ture 的值。
|
boolean |
isDetectable()
获取 当字段可检测时表示为 ture 的值。
|
boolean |
isDup()
获取 当字段为 dup 字段时表示为 ture 的值。
|
boolean |
isEnptui()
获取 当字段为 ENPTUI 字段时表示为 ture 的值。
|
boolean |
isFieldExitRequired()
获取 当在编辑屏幕前需要字段时表示为 ture 的值。
|
boolean |
isHidden()
获取 表示字段是否已隐藏的值。
|
boolean |
isIntense()
获取 当字段非常明显时表示为 ture 的值。
|
boolean |
isModifiedDataTag()
获取 当字段设置了 ModifiedDataTag 属性时表示为 ture 的值。
|
boolean |
isProtected()
获取 当字段受保护(即 RumbaLabel)时表示为 ture 的值。
|
click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, isFocused, mouseMove, mouseMove, pressKeys, pressKeys, pressMouse, pressMouse, pressMouse, pressMouse, releaseKeys, releaseKeys, releaseMouse, releaseMouse, releaseMouse, releaseMouse, sendKeys, setFocus, synchSendKeys, synchSendKeys, synchSendKeys, 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 RumbaField(JtfObjectHandle handle, Desktop desktop)
handle
- 可确定 RumbaField 的句柄desktop
- 此对象所在的桌面public List<RumbaCharacterAttribute> getCharacterAttributes()
public boolean isAutoEnter()
public boolean isAutoSkip()
public boolean isDetectable()
public boolean isDup()
public int getEndColumn()
public int getEndLine()
public int getEndPosition()
public boolean isEnptui()
public boolean isFieldExitRequired()
public boolean isHidden()
public boolean isIntense()
public int getLength()
public boolean isModifiedDataTag()
public boolean isProtected()
public int getStartColumn()
public int getStartLine()
public int getStartPosition()
public String getText()
getText
in class TestObject
public HostFieldEditConstants getType()
Copyright 2009-2012 Micro Focus. All Rights Reserved.