public class SapOkCodeField extends SapComponent
| Modifier | Constructor and Description |
|---|---|
protected |
SapOkCodeField(JtfObjectHandle handle,
Desktop desktop)
使用 JtfObjectHandle 创建新 SapOkCodeField。
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
折叠 GuiOkCodeField。
|
boolean |
isOpened()
获取 是否折叠 GuiOkCodeField。
|
void |
open()
展开 GuiOkCodeField。
|
void |
pressF1()
模拟焦点在 GuiOkCodeField 上时按下 F1 键。
|
void |
setText(String text)
设置控件文本为指定文本。
|
getAccessibilityText, getAccessibilityTextOnRequest, getAccessibilityTooltip, getDefaultTooltip, getHeight, getIconName, getLeft, getName, getScreenLeft, getScreenTop, getTooltip, getTop, getWidth, isChangeable, isFocused, isModified, isSymbolFont, setFocus, showContextMenucaptureBitmap, 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, waitForPropertyequals, 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, toStringprotected SapOkCodeField(JtfObjectHandle handle, Desktop desktop)
handle - 可确定 SapOkCodeField 的句柄desktop - 此对象所在的桌面public void close()
public void open()
public void pressF1()
public void setText(String text)
text - 新建文本组件的文本public boolean isOpened()
Copyright 2009-2012 Micro Focus. All Rights Reserved.