DuEditText()

For use with DuAEF.DuScriptUI.
A Nice EditText.
This is not a real class, and cannot be instanciated.
Use DuAEF.DuScriptUI.addEditText to create a Nice EditText.
The Nice EditText inherits the Group object from ScriptUI and has all of its properties and methods.

new DuEditText()

Properties:
Name Type Description
text string Read-Only | The text displayed
onActivate DuEditText~onActivate Function to execute when activated
onDeactivate DuEditText~onDeactivate Function to execute when deactivated
onChange DuEditText~onChange Function to execute when text changed

Methods

static setPrefix(prefix)

Changes the prefix
Parameters:
Name Type Description
prefix string The new prefix

static setSuffix(suffix)

Changes the suffix
Parameters:
Name Type Description
suffix string The new suffix

static setText(text)

Changes the text
Parameters:
Name Type Description
text string The new text

Type Definitions

onActivate()

The function to execute when the box is activated.

onChange()

The function to execute when the text is changed.

onDeactivate()

The function to execute when the box is deactivated.