public class SapOkCodeField extends SapComponent
Modifier | Constructor and Description |
---|---|
protected |
SapOkCodeField(JtfObjectHandle handle,
Desktop desktop)
Creates a new SapOkCodeField with a JtfObjectHandle.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Collapses the GuiOkCodeField.
|
boolean |
isOpened()
Gets whether the GuiOkCodeField is collapsed.
|
void |
open()
Expands the GuiOkCodeField.
|
void |
pressF1()
Emulate pressing the F1 key while the focus is on the GuiOkCodeField.
|
void |
setText(String text)
Sets the text of the control to the specified text.
|
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 SapOkCodeField(JtfObjectHandle handle, Desktop desktop)
handle
- the handle that identifies the SapOkCodeFielddesktop
- the desktop on which this object livespublic void close()
public void open()
public void pressF1()
public void setText(String text)
text
- new text of the text componentpublic boolean isOpened()
Copyright 2009-2012 Micro Focus. All Rights Reserved.