Class: TextAreaInput

TextAreaInput(textArea, inputName, titleText)

Form attached to TextArea facitilates keyboard input. Contains a TextBlock, InputText and a submit button. Scales itself accordingly, and attaches itself below the TextArea. Optionally creates a Label and displays it just above the TextArea, as a title. Attach text change listeners to be notified on text input.

Constructor

new TextAreaInput(textArea, inputName, titleText)

Parameters:
Name Type Default Description
textArea TextArea to attach to
inputName Write optional InputText name, displayed TextBlock before the InputText, defaults to "Write"
titleText optional text to display on label
Source:

Classes

TextAreaInput

Members

inputPrefix

Input prefix used as argument to write(), default null
Source:

showNoMatch

Print speech mismatch on TextArea, default true
Source:

speechRecognition

Allow speech recognition, default true
Source:

Methods

init()

Initialize and attach to the TextArea
Source:

noMatch()

Overridden to display speech mismatch in TextArea
Source:

write(what, prefix, true)

Write something to this text area.
Parameters:
Name Type Description
what to write
prefix enclosed in square brackets
true clear text input, default true
Source: