public class MobileTextField extends MobileObject
修飾子 | コンストラクタと説明 |
---|---|
protected |
MobileTextField(JtfObjectHandle handle,
Desktop desktop)
JtfObjectHandle を持つ新しい MobileTextField を作成します。
|
修飾子とタイプ | メソッドと説明 |
---|---|
void |
clearText()
テキスト フィールドのすべてのコンテンツをクリアします。
|
void |
setText(String text)
テキスト フィールド内のテキストを新しいテキストに置換します。
|
void |
typePasswordKeys(String keys)
暗号化されたパスワードをテキスト フィールドに入力します。
|
void |
typePasswordKeys(String keys,
int delay)
暗号化されたパスワードをテキスト フィールドに入力します。
|
void |
typePasswordKeys(String keys,
int delay,
boolean ensureFocus)
暗号化されたパスワードをテキスト フィールドに入力します。
|
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, typeKeys
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 MobileTextField(JtfObjectHandle handle, Desktop desktop)
handle
- MobileTextField を識別するハンドルdesktop
- このオブジェクトが存在するデスクトップpublic void clearText()
public void setText(String text)
text
- 設定するテキストpublic void typePasswordKeys(String keys)
テキスト フィールドの既存のテキストは、暗号化されたパスワードが入力される前にクリアされます。
keys
- 暗号化されたパスワードpublic void typePasswordKeys(String keys, int delay)
テキスト フィールドの既存のテキストは、暗号化されたパスワードが入力される前にクリアされます。
keys
- 暗号化されたパスワードdelay
- キーストローク間の遅延(ミリ秒)public void typePasswordKeys(String keys, int delay, boolean ensureFocus)
テキスト フィールドの既存のテキストは、暗号化されたパスワードが入力される前にクリアされます。
keys
- 暗号化されたパスワードdelay
- キーストローク間の遅延(ミリ秒)ensureFocus
- コントロールが実際にキーボード フォーカスを持つことを保証するかどうかを決定します。 デフォルトは true
です。Copyright 2009-2012 Micro Focus. All Rights Reserved.