|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AwtTextField
AwtTextField is created to represent java.awt.TextField component
The following code fragment illustrates how to create an
AwtTextField
element.
var element = engine.createAwtTextField(1, 5);where engine is object of
IScriptEngine
Method Summary | |
---|---|
int |
getColumns()
Gets the number of columns in this text field. |
java.lang.String |
getEchoChar()
Gets the character that is to be used for echoing. |
boolean |
setColumns(int columns)
Sets the number of columns in this text field. |
boolean |
setEchoChar(java.lang.String echoChar)
Sets the echo character for this text field. |
Methods inherited from interface com.appperfect.devcommon.script.javaelement.AwtTextComponent |
---|
getCaretPos, getSelectedText, getSelectionEnd, getSelectionStart, isEditable, setCaretPos, setEditable, setSelection |
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 |
---|
int getColumns()
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.
boolean setColumns(int columns)
columns
- the number of columns.
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 |