public class WPFPasswordBox extends WPFControl
Modifier | Constructor and Description |
---|---|
protected |
WPFPasswordBox(JtfObjectHandle handle,
Desktop desktop)
使用 JtfObjectHandle 创建新 WPFPasswordBox。
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
清除 Password 属性的值。
|
int |
getMaxLength()
获取 此 PasswordBox 处理的密码的最大长度。
|
String |
getPasswordChar()
获取 PasswordBox 的掩码字符。
|
void |
paste()
粘贴文本编辑控件中当前选定内容上方的剪贴板的内容。
|
void |
selectAll()
选择 PasswordBox 的全部内容。
|
void |
setText(String text)
设置文本。
|
getFontFamily, getFontSize, getTabIndex, isTabStop
getActualHeight, getActualWidth, getMaximumScrollPosition, getName, getScrollPosition, pointFromScreen, pointToScreen, scroll, scrollToPosition
bringIntoView, click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, getToolTip, isEnabled, isFocused, mouseMove, mouseMove, openContextMenu, openContextMenu, openContextMenuSelect, openContextMenuSelect, openContextMenuSelect, openContextMenuSelect, pressKeys, pressKeys, pressMouse, pressMouse, pressMouse, pressMouse, releaseKeys, releaseKeys, releaseMouse, releaseMouse, releaseMouse, releaseMouse, setFocus, typeKeys, typeKeys, typeKeys, typePasswordKeys, typePasswordKeys, typePasswordKeys
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 WPFPasswordBox(JtfObjectHandle handle, Desktop desktop)
handle
- 可确定 WPFPasswordBox 的句柄desktop
- 此对象所在的桌面public void clear()
public void paste()
public void selectAll()
public void setText(String text)
text
- 可设置的文本public int getMaxLength()
Copyright 2009-2012 Micro Focus. All Rights Reserved.