public class MobileTextField extends MobileObject
| Modifier | Constructor and Description |
|---|---|
protected |
MobileTextField(JtfObjectHandle handle,
Desktop desktop)
Creates a new MobileTextField with a JtfObjectHandle.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearText()
Clears all the content from the text field.
|
void |
setText(String text)
Substitutes new text for the text in the text field.
|
void |
typePasswordKeys(String keys)
Types an encrypted password into a text field.
|
void |
typePasswordKeys(String keys,
int delay)
Types an encrypted password into a text field.
|
void |
typePasswordKeys(String keys,
int delay,
boolean ensureFocus)
Types an encrypted password into a text field.
|
click, click, drag, dragTo, dragToObject, getText, isEnabled, isFocused, isSelected, longClick, longClick, multiTouch, pinchIn, pinchIn, pinchOut, pinchOut, swipe, swipe, swipe, swipeDown, swipeDown, swipeDown, swipeLeft, swipeLeft, swipeLeft, swipeRight, swipeRight, swipeRight, swipeUp, swipeUp, swipeUp, swipeWithSegments, swipeWithSegments, swipeWithSegments, twoPointerMultiTouch, twoPointerMultiTouch, twoPointerMultiTouch, typeKeys, typeKeys, typeKeyscaptureBitmap, 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, 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 MobileTextField(JtfObjectHandle handle, Desktop desktop)
handle - the handle that identifies the MobileTextFielddesktop - the desktop on which this object livespublic void clearText()
public void setText(String text)
text - the text to setpublic void typePasswordKeys(String keys)
The text field is cleared of any existing text before typing the encrypted password.
keys - the encrypted passwordpublic void typePasswordKeys(String keys, int delay)
The text field is cleared of any existing text before typing the encrypted password.
keys - the encrypted passworddelay - the delay between keystrokes in millisecondspublic void typePasswordKeys(String keys, int delay, boolean ensureFocus)
The text field is cleared of any existing text before typing the encrypted password.
keys - the encrypted passworddelay - the delay between keystrokes in millisecondsensureFocus - determines whether it should be ensured that the control actually has the keyboard focus. Defaults to trueCopyright 2009-2012 Micro Focus. All Rights Reserved.