public class SapTextField extends SapComponent
Modifier | Constructor and Description |
---|---|
protected |
SapTextField(JtfObjectHandle handle,
Desktop desktop)
Creates a new SapTextField with a JtfObjectHandle.
|
Modifier and Type | Method and Description |
---|---|
String |
getDisplayedText()
Gets the text as it is displayed on the screen, including preceding or trailing blanks.
|
boolean |
isPassword()
Gets whether the text field is a password text field.
|
void |
setPasswordText(String password)
Sends an encrypted password to the object.
|
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 SapTextField(JtfObjectHandle handle, Desktop desktop)
handle
- the handle that identifies the SapTextFielddesktop
- the desktop on which this object livespublic void setPasswordText(String password)
password
- the encrypted passwordpublic void setText(String text)
text
- new text of the text componentpublic String getDisplayedText()
public boolean isPassword()
Copyright 2009-2012 Micro Focus. All Rights Reserved.