|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SwingPasswordField
SwingPasswordField is created to represent javax.swing.JPasswordField component
The following code fragment illustrates how to create an
SwingPasswordField
element.
var element = engine.createSwingPasswordField(1, 5);where engine is object of
IScriptEngine
Method Summary | |
---|---|
java.lang.String |
getEchoChar()
Gets the character that is to be used for echoing. |
java.lang.String |
getPassword()
Returns the password text contained in this password field |
boolean |
setEchoChar(java.lang.String echoChar)
Sets the echo character for this text field. |
Methods inherited from interface com.appperfect.devcommon.script.javaelement.SwingTextField |
---|
getColumns, setColumns |
Methods inherited from interface com.appperfect.devcommon.script.javaelement.SwingTextComponent |
---|
getCaretPos, getSelectedText, getSelectionEnd, getSelectionStart, isEditable, setCaretPos, setEditable, setSelection |
Methods inherited from interface com.appperfect.devcommon.script.javaelement.AwtContainer |
---|
getComponentCount |
Methods inherited from interface com.appperfect.devcommon.script.javaelement.JavaComponent |
---|
activate, addAttribute, captureImage, click, close, dblClick, drag, drop, getName, getText, getToolTipText, maximize, minimize, mouseMove, restore, rightClick, set, setBreakPoint, setIgnored, setImagePath, setName, setThinkTime, setTitle, type |
Methods inherited from interface com.appperfect.devcommon.script.IScript |
---|
getReasonForFailure, isIgnored, isTaskSuccessful, isTaskTimedOut, setReasonForFailure, setTaskSuccessful, setTaskTimedout, setTimeout |
Method Detail |
---|
java.lang.String getEchoChar()
An echo character is useful for text fields where user input should not
be echoed to the screen, as in the case of a text field for entering a
password. If echoChar
= 0
, user input is
echoed to the screen unchanged.
java.lang.String getPassword()
boolean setEchoChar(java.lang.String echoChar)
An echo character is useful for text fields where user input should not
be echoed to the screen, as in the case of a text field for entering a
password. Setting echoChar
= 0
allows user
input to be echoed to the screen again.
echoChar
- the echo character for this text field.
|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |